Skip to content

Re-enable format checking and reformat all files with findings.#1031

Merged
mum4k merged 24 commits intoenvoyproxy:mainfrom
mum4k:bisect
Oct 27, 2023
Merged

Re-enable format checking and reformat all files with findings.#1031
mum4k merged 24 commits intoenvoyproxy:mainfrom
mum4k:bisect

Conversation

@mum4k
Copy link
Copy Markdown
Collaborator

@mum4k mum4k commented Oct 20, 2023

Turns out our file format checkers stopped working some time ago (likely when the --path argument was added here: envoyproxy/envoy#29397). Once the path was set, the formatting tools executed, but they were checking format of Envoy files instead of Nighthawk files.

Most formatting changes were done automatically except:

  • addition of missing Python docstrings.
  • replacement of references to google::protobuf by references to the Envoy::Protobuf namespace.

Fixes #815

mum4k added 5 commits October 20, 2023 22:22
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
This reverts commit 752f943.

Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
mum4k added 3 commits October 21, 2023 06:29
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
@mum4k mum4k changed the title WIP: bisecting virtualenv issue. Fix file format checking and reformat all all files with findings. Oct 21, 2023
mum4k added 7 commits October 21, 2023 08:17
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
@mum4k mum4k changed the title Fix file format checking and reformat all all files with findings. Fix file format checking and reformat all files with findings. Oct 21, 2023
mum4k added 7 commits October 24, 2023 18:43
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
@mum4k mum4k changed the title Fix file format checking and reformat all files with findings. Re-enable format checking and reformat all files with findings. Oct 26, 2023
Signed-off-by: Jakub Sobon <mumak@google.com>
@mum4k mum4k marked this pull request as ready for review October 26, 2023 20:17
@mum4k mum4k requested a review from chipmunkie October 27, 2023 13:13
Comment thread include/nighthawk/adaptive_load/input_variable_setter.h
Comment thread include/nighthawk/adaptive_load/metrics_plugin.h
Comment thread include/nighthawk/adaptive_load/step_controller.h Outdated
Comment thread source/adaptive_load/scoring_function_impl.h Outdated
Comment thread source/client/flush_worker_impl.h Outdated
Comment thread source/request_source/request_options_list_plugin_impl.h Outdated
Copy link
Copy Markdown
Contributor

@chipmunkie chipmunkie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only found a few nits.

Comment thread test/request_source/stub_plugin_impl.h Outdated
Signed-off-by: Jakub Sobon <mumak@google.com>
Copy link
Copy Markdown
Contributor

@chipmunkie chipmunkie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mum4k mum4k merged commit 81a8851 into envoyproxy:main Oct 27, 2023
@mum4k mum4k deleted the bisect branch October 27, 2023 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Nighthawk's check_format.py

2 participants