Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull latest into my fork #1

Merged
merged 63 commits into from
Feb 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
d90a702
Adaptive load session spec proto helpers (#508)
eric846 Sep 11, 2020
4fe741b
Add dubious90 to the list of owners. (#524)
dubious90 Sep 11, 2020
846a3df
Eliminate configuration references to Envoy's fault filter. (#523)
oschaaf Sep 11, 2020
582244a
Adaptive load helper interface cleanup and dep/header cleanup (#527)
eric846 Sep 12, 2020
e3913bb
Source/server/configuration.cc/h: const options arg. (#530)
oschaaf Sep 14, 2020
44ba1ca
Enhance end-to-end test for POST requests with an entity body. (#532)
oschaaf Sep 14, 2020
e744a10
Adaptive load helper mocks (#529)
eric846 Sep 14, 2020
f434a43
Add opt_build option to ci/do_ci.sh. (#536)
oschaaf Sep 15, 2020
398bd3e
Test benchmark docker image build in CI (#537)
oschaaf Sep 16, 2020
5876039
Add HttpFilterIntegrationTestBase (#517)
oschaaf Sep 16, 2020
8b16dc1
Add experimental "pedantic" fortio output formatter. (#534)
oschaaf Sep 17, 2020
6442e38
I forgot the last step, which is to actually teach the output (#544)
oschaaf Sep 18, 2020
8fcf416
Update Envoy & HdrHistogram_c (#545)
oschaaf Sep 18, 2020
040af22
Switch dynamic delay and time-tracking to use FilterConfigurationBase…
oschaaf Sep 18, 2020
8ed1f68
Implement RemoteProcessImpl in terms of PerformNighthawkBenchmark() (…
oschaaf Sep 22, 2020
401f09e
Adaptive Load Controller main loop (#535)
eric846 Sep 22, 2020
164d98b
Add generic c++ integration test for uniform extension behavior. (#533)
oschaaf Sep 23, 2020
b189069
Use shared test facilities for time-tracking and dynamic-delay (#541)
oschaaf Sep 24, 2020
e21ef4b
Fix jitter behavior for large values. (#552)
oschaaf Sep 28, 2020
7aa7d3f
Update Envoy to 5a87f1e59b42ad546698d389f6ccac9406534e17 (#554)
oschaaf Sep 28, 2020
6aa0331
Fix import in Zipkin integration tests. (#556)
oschaaf Sep 28, 2020
3102a8c
Use system time for scheduling. (#549)
oschaaf Sep 30, 2020
61996df
Update overview doc to include user-specified logging (#550)
jiajunye Oct 5, 2020
7fb012c
Update Envoy to c318156496edc46c844822a3d1f107ee496fa449 (#557)
oschaaf Oct 5, 2020
a358469
Adding config factory (#522)
wjuan-AFK Oct 5, 2020
9d77161
Test-server extension: use shared configuration base and test facilit…
oschaaf Oct 6, 2020
3eea4b5
Update Envoy & HdrHistogram_c (#561)
oschaaf Oct 12, 2020
20a9de2
Update Envoy to f95f5391b0b8683081ec786ea946026594955fc6 (#562)
oschaaf Oct 21, 2020
578c883
Adding proto only Request Source Config factory (#560)
wjuan-AFK Oct 22, 2020
5e82e51
Update Envoy to b9ed0a991d90363ad04da2191891f54790482dcf (#565)
oschaaf Oct 29, 2020
fc23320
Update Envoy to 0226d0e084d832ce24ee6303f5cb2fc01ec4970b (#567)
oschaaf Nov 2, 2020
525c796
Cli change for file based request source (#563)
wjuan-AFK Nov 5, 2020
45c6205
chore: enhance naming of bool maybeSendErrorReply (#568)
kushthedude Nov 11, 2020
683ef62
CI: make clang-tidy always pass. (#570)
oschaaf Nov 11, 2020
350c2d3
Update Envoy to 8e6b176b89240d1b8ce3f3e4a8e276e4a40fcd1e (#571)
oschaaf Nov 11, 2020
d63ade7
Factory plugin implementation (#566)
wjuan-AFK Nov 11, 2020
4d831ff
Replace deprecated thread annotations macros. (#572)
yanavlasov Nov 16, 2020
d58d63a
Migrating configs of integration tests to Envoy API v3. (#583)
mum4k Dec 2, 2020
f5f88e3
Fix integration tests when running with IPv6. (#579)
mum4k Dec 2, 2020
31b7857
Migrating config for benchmark tests to Envoy API v3. (#585)
mum4k Dec 3, 2020
2afa57b
chore: add issue and pull request templates (#515)
kushthedude Dec 4, 2020
dac3cc1
Schedule option (#573)
oschaaf Dec 7, 2020
2942dc9
Add a flag to allow for continued use of the deprecated v2 api (#584)
oschaaf Dec 8, 2020
a4260dc
Update Envoy to 588d9344b31e6544869547c4bcd359b3b0f1d4cf (#575)
oschaaf Dec 8, 2020
90af260
Updating documentation to use Envoy API v3. (#586)
mum4k Dec 8, 2020
facd66b
Deprecate Envoy API v2 primitives in configuration for our Envoy filt…
mum4k Dec 8, 2020
602eead
Deprecate Envoy API v2 primitives in the service proto for Request So…
mum4k Dec 8, 2020
30bd666
Fail the integration tests on warnings or errors. (#581)
mum4k Dec 8, 2020
395422a
Use v3 response headers in configuration (#592)
oschaaf Dec 9, 2020
172760a
Update Envoy to 8188e232a9e0b15111d30f4724cbc7bf77d3964a (#587)
oschaaf Dec 11, 2020
3f9d6c2
Update Envoy to 424909395c90d7d68f1afeb3427c26c7c85f2672 (#595)
oschaaf Dec 14, 2020
88d3bf4
Optimize calls to std::string::find() and friends for a single char. …
yanavlasov Dec 16, 2020
5ab9fad
Update Envoy to 867b9e23d2e48350bd1b0d1fbc392a8355f20e35 (#599)
oschaaf Dec 21, 2020
308e6be
Update Envoy to 937f013 (Jan 5th 2021) (#601)
oschaaf Jan 6, 2021
6b04186
Signal handler: don't fire on destruction (#602)
oschaaf Jan 12, 2021
e6f9af7
Update Envoy to c2522c69f (Jan 11th 2021). (#604)
mum4k Jan 13, 2021
566c3f3
Update Envoy to 17e8151 (Jan 16th 2021) (#606)
oschaaf Jan 20, 2021
9111749
Buming up versions of docker and openrc. (#610)
mum4k Jan 25, 2021
81bf056
Update Envoy to 9753819 (Jan 24th 2021). (#607)
mum4k Jan 26, 2021
9448036
Updating references to branch name master->main. (#608)
mum4k Jan 26, 2021
9ade1a5
Updating README under benchmarks. (#609)
mum4k Jan 26, 2021
f55bc97
Update Envoy to f6679d5 (Feb 1st 2021) (#614)
oschaaf Feb 1, 2021
58dbc8f
Mock Adaptive Load Controller (#615)
eric846 Feb 4, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 62 additions & 38 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ build:macos --copt -UDEBUG
# Bazel doesn't need more than 200MB of memory for local build based on memory profiling:
# https://docs.bazel.build/versions/master/skylark/performance.html#memory-profiling
# The default JVM max heapsize is 1/4 of physical memory up to 32GB which could be large
# enough to consume all memory constrained by cgroup in large host, which is the case in CircleCI.
# enough to consume all memory constrained by cgroup in large host.
# Limiting JVM heapsize here to let it do GC more when approaching the limit to
# leave room for compiler/linker.
# The number 2G is choosed heuristically to both support in CircleCI and large enough for RBE.
# The number 2G is chosen heuristically to both support large VM and small VM with RBE.
# Startup options cannot be selected via config.
startup --host_jvm_args=-Xmx2g

Expand All @@ -27,7 +27,8 @@ build --host_javabase=@bazel_tools//tools/jdk:remote_jdk11
build --javabase=@bazel_tools//tools/jdk:remote_jdk11
build --enable_platform_specific_config

# Enable position independent code, this option is not supported on Windows and default on on macOS.
# Enable position independent code (this is the default on macOS and Windows)
# (Workaround for https://github.com/bazelbuild/rules_foreign_cc/issues/421)
build:linux --copt=-fPIC
build:linux --cxxopt=-std=c++17
build:linux --conlyopt=-fexceptions
Expand All @@ -43,9 +44,6 @@ build --action_env=CXX
build --action_env=LLVM_CONFIG
build --action_env=PATH

# Skip system ICU linking.
build --@com_googlesource_googleurl//build_config:system_icu=0

# Common flags for sanitizers
build:sanitizer --define tcmalloc=disabled
build:sanitizer --linkopt -ldl
Expand All @@ -62,8 +60,10 @@ build:asan --config=sanitizer
# ASAN install its signal handler, disable ours so the stacktrace will be printed by ASAN
build:asan --define signal_trace=disabled
build:asan --define ENVOY_CONFIG_ASAN=1
build:asan --copt -fsanitize=address,undefined
build:asan --linkopt -fsanitize=address,undefined
# The following two lines were manually edited due to #593.
# Flag undefined was dropped from both the lines to allow CI/ASAN to pass.
build:asan --copt -fsanitize=address
build:asan --linkopt -fsanitize=address
# vptr and function sanitizer are enabled in clang-asan if it is set up via bazel/setup_clang.sh.
build:asan --copt -fno-sanitize=vptr,function
build:asan --linkopt -fno-sanitize=vptr,function
Expand All @@ -72,6 +72,9 @@ build:asan --copt -D__SANITIZE_ADDRESS__
build:asan --test_env=ASAN_OPTIONS=handle_abort=1:allow_addr2line=true:check_initialization_order=true:strict_init_order=true:detect_odr_violation=1
build:asan --test_env=UBSAN_OPTIONS=halt_on_error=true:print_stacktrace=1
build:asan --test_env=ASAN_SYMBOLIZER_PATH
# ASAN needs -O1 to get reasonable performance.
build:asan --copt -O1
build:asan --copt -fno-optimize-sibling-calls

# Clang ASAN/UBSAN
build:clang-asan --config=asan
Expand Down Expand Up @@ -120,7 +123,8 @@ build:libc++ --config=clang
build:libc++ --action_env=CXXFLAGS=-stdlib=libc++
build:libc++ --action_env=LDFLAGS=-stdlib=libc++
build:libc++ --action_env=BAZEL_CXXOPTS=-stdlib=libc++
build:libc++ --action_env=BAZEL_LINKLIBS=-l%:libc++.a:-l%:libc++abi.a:-lm
build:libc++ --action_env=BAZEL_LINKLIBS=-l%:libc++.a:-l%:libc++abi.a
build:libc++ --action_env=BAZEL_LINKOPTS=-lm:-pthread
build:libc++ --define force_libcpp=enabled

# Optimize build for binary size reduction.
Expand All @@ -137,6 +141,7 @@ build:coverage --action_env=GCOV=llvm-profdata
build:coverage --copt=-DNDEBUG
# 1.5x original timeout + 300s for trace merger in all categories
build:coverage --test_timeout=390,750,1500,5700
build:coverage --define=dynamic_link_tests=true
build:coverage --define=ENVOY_CONFIG_COVERAGE=1
build:coverage --cxxopt="-DENVOY_CONFIG_COVERAGE=1"
build:coverage --coverage_support=@envoy//bazel/coverage:coverage_support
Expand All @@ -148,10 +153,10 @@ build:coverage --strategy=CoverageReport=sandboxed,local
build:coverage --experimental_use_llvm_covmap
build:coverage --collect_code_coverage
build:coverage --test_tag_filters=-nocoverage
build:coverage --instrumentation_filter="//source(?!/extensions/quic_listeners/quiche/platform)[/:],//include[/:]"
coverage:test-coverage --test_arg="-l trace"
coverage:fuzz-coverage --config=plain-fuzzer
coverage:fuzz-coverage --run_under=@envoy//bazel/coverage:fuzz_coverage_wrapper.sh
build:coverage --instrumentation_filter="//source(?!/common/chromium_url|/extensions/quic_listeners/quiche/platform)[/:],//include[/:]"
build:test-coverage --test_arg="-l trace"
build:fuzz-coverage --config=plain-fuzzer
build:fuzz-coverage --run_under=@envoy//bazel/coverage:fuzz_coverage_wrapper.sh

# Remote execution: https://docs.bazel.build/versions/master/remote-execution.html
build:rbe-toolchain --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
Expand All @@ -173,6 +178,16 @@ build:rbe-toolchain-clang-libc++ --action_env=CXXFLAGS=-stdlib=libc++
build:rbe-toolchain-clang-libc++ --action_env=LDFLAGS=-stdlib=libc++
build:rbe-toolchain-clang-libc++ --define force_libcpp=enabled

# Do not inherit from "clang-asan" to avoid picking up flags from local clang.bazelrc.
build:rbe-toolchain-asan --config=asan
build:rbe-toolchain-asan --linkopt -fuse-ld=lld
build:rbe-toolchain-asan --action_env=ENVOY_UBSAN_VPTR=1
build:rbe-toolchain-asan --copt=-fsanitize=vptr,function
build:rbe-toolchain-asan --linkopt=-fsanitize=vptr,function
build:rbe-toolchain-asan --linkopt=-L/opt/llvm/lib/clang/10.0.0/lib/linux
build:rbe-toolchain-asan --linkopt=-l:libclang_rt.ubsan_standalone-x86_64.a
build:rbe-toolchain-asan --linkopt=-l:libclang_rt.ubsan_standalone_cxx-x86_64.a

build:rbe-toolchain-msan --linkopt=-L/opt/libcxx_msan/lib
build:rbe-toolchain-msan --linkopt=-Wl,-rpath,/opt/libcxx_msan/lib
build:rbe-toolchain-msan --config=clang-msan
Expand Down Expand Up @@ -223,6 +238,10 @@ build:remote-clang-libc++ --config=rbe-toolchain-clang-libc++
build:remote-gcc --config=remote
build:remote-gcc --config=rbe-toolchain-gcc

build:remote-asan --config=remote
build:remote-asan --config=rbe-toolchain-clang-libc++
build:remote-asan --config=rbe-toolchain-asan

build:remote-msan --config=remote
build:remote-msan --config=rbe-toolchain-clang-libc++
build:remote-msan --config=rbe-toolchain-msan
Expand All @@ -236,8 +255,8 @@ build:remote-clang-cl --config=clang-cl
build:remote-clang-cl --config=rbe-toolchain-clang-cl

# Docker sandbox
# NOTE: Update this from https://github.com/envoyproxy/envoy-build-tools/blob/master/toolchains/rbe_toolchains_config.bzl#L8
build:docker-sandbox --experimental_docker_image=envoyproxy/envoy-build-ubuntu:e7ea4e81bbd5028abb9d3a2f2c0afe063d9b62c0
# NOTE: Update this from https://github.com/envoyproxy/envoy-build-tools/blob/main/toolchains/rbe_toolchains_config.bzl#L8
build:docker-sandbox --experimental_docker_image=envoyproxy/envoy-build-ubuntu:c8fa4235714003ba0896287ee2f91cae06e0e407
build:docker-sandbox --spawn_strategy=docker
build:docker-sandbox --strategy=Javac=docker
build:docker-sandbox --strategy=Closure=docker
Expand Down Expand Up @@ -268,21 +287,19 @@ build:remote-ci --remote_cache=grpcs://remotebuildexecution.googleapis.com
build:remote-ci --remote_executor=grpcs://remotebuildexecution.googleapis.com

# Fuzz builds
# -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION is passed in in the bazel build target
# rules for fuzz tests. Passing it in the CLI will cause dependencies to be build
# with the macro. Causing issues in RouteMatcherTest.TestRoutes that expect prod
# behavior from RE2 library.
# Fuzzing without ASAN. This is useful for profiling fuzzers without any ASAN artifacts.
build:plain-fuzzer --define=FUZZING_ENGINE=libfuzzer
build:plain-fuzzer --define ENVOY_CONFIG_ASAN=1
build:plain-fuzzer --copt=-fsanitize=fuzzer-no-link
build:plain-fuzzer --linkopt=-fsanitize=fuzzer-no-link
build:plain-fuzzer --copt=-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION

build:asan-fuzzer --config=plain-fuzzer
build:asan-fuzzer --config=asan
build:asan-fuzzer --define=FUZZING_ENGINE=libfuzzer
build:asan-fuzzer --copt=-fsanitize=fuzzer-no-link
build:asan-fuzzer --copt=-fno-omit-frame-pointer
# Remove UBSAN halt_on_error to avoid crashing on protobuf errors.
build:asan-fuzzer --test_env=UBSAN_OPTIONS=print_stacktrace=1

# Fuzzing without ASAN. This is useful for profiling fuzzers without any ASAN artifacts.
build:plain-fuzzer --define=FUZZING_ENGINE=libfuzzer
build:plain-fuzzer --define ENVOY_CONFIG_ASAN=1

# Compile database generation config
build:compdb --build_tag_filters=-nocompdb

Expand All @@ -291,30 +308,37 @@ build:windows --action_env=TMPDIR
build:windows --define signal_trace=disabled
build:windows --define hot_restart=disabled
build:windows --define tcmalloc=disabled
build:windows --define wasm=disabled
build:windows --define manual_stamp=manual_stamp
build:windows --cxxopt="/std:c++17"

# Should not be required after upstream fix to bazel,
# and already a no-op to linux/macos builds
# see issue https://github.com/bazelbuild/rules_foreign_cc/issues/301
# TODO(wrowe,sunjayBhatia): Resolve bugs upstream in curl and rules_foreign_cc
# See issue https://github.com/bazelbuild/rules_foreign_cc/issues/301
build:windows --copt="-DCARES_STATICLIB"
build:windows --copt="-DNGHTTP2_STATICLIB"
build:windows --copt="-DCURL_STATICLIB"
build:windows --cxxopt="/std:c++17"

# Required to work around build defects on Windows MSVC cl
# Unguarded gcc pragmas in quiche are not recognized by MSVC
build:msvc-cl --copt="/wd4068"
# Allows 'nodiscard' function return values to be discarded
build:msvc-cl --copt="/wd4834"
# Allows inline functions to be undefined
build:msvc-cl --copt="/wd4506"
build:msvc-cl --copt="-D_SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING"
# Override any clang preference if building msvc-cl
# Drop the determinism feature (-DDATE etc are a no-op in msvc-cl)
build:msvc-cl --action_env=USE_CLANG_CL=""
build:msvc-cl --define clang_cl=0
build:msvc-cl --features=-determinism

# Windows build behaviors when using clang-cl
build:clang-cl --action_env=USE_CLANG_CL=1
build:clang-cl --define clang_cl=1

# Required to work around Windows clang-cl build defects
# Ignore conflicting definitions of _WIN32_WINNT
# Overriding __TIME__ etc is problematic (and is actually an invalid no-op)
# Override determinism flags (DATE etc) is valid on clang-cl compiler
build:clang-cl --copt="-Wno-macro-redefined"
build:clang-cl --copt="-Wno-builtin-macro-redefined"
# Workaround problematic missing override declarations of mocks
# TODO: resolve this class of problematic mocks, e.g.
# ./test/mocks/http/stream.h(16,21): error: 'addCallbacks'
# overrides a member function but is not marked 'override'
# MOCK_METHOD(void, addCallbacks, (StreamCallbacks & callbacks));
build:clang-cl --copt="-Wno-inconsistent-missing-override"
build:clang-cl --action_env=USE_CLANG_CL=1

# Defaults to 'auto' - Off for windows, so override to linux behavior
Expand Down
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.4.1
3.7.2
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
references:
envoy-build-image: &envoy-build-image # September 9th, 2020
envoyproxy/envoy-build-ubuntu:e7ea4e81bbd5028abb9d3a2f2c0afe063d9b62c0
envoy-build-image: &envoy-build-image # November 10th, 2020
envoyproxy/envoy-build-ubuntu:19a268cfe3d12625380e7c61d2467c8779b58b56
version: 2
jobs:
build:
Expand Down
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
**Description**

<!--
If this PR is related to an open issue, please mention the issue below.
-->

This PR is related to #


**Notes for Reviewers**

<!--
Thank you for contributing to Nighthawk!

Please read contributing guidelines https://github.com/envoyproxy/nighthawk/blob/master/CONTRIBUTING.md by following the community's contribution conventions upfront, the review process will be accelerated and your PR merged more quickly.
-->
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Non-{crash,security} bug
about: Bugs which are not crashes, DoS or other security issue
title: ''
labels: bug,triage
assignees: ''

---

*Title*: *One line description*

*Description*:
>What issue is being seen? Describe what should be happening instead of
the bug, for example: Nighthawk should not crash, the expected value isn't
returned, etc.

*Reproduction steps*:
> Include sample requests, environment, etc. All data and inputs
required to reproduce the bug.

>**Note**: If there are privacy concerns, sanitize the data prior to
sharing.

*Logs*:
>Include the Nighthawk logs.

>**Note**: If there are privacy concerns, sanitize the data prior to
sharing.

*Call Stack*:
> If the Envoy binary is crashing, a call stack is **required**.
Please refer to the [Bazel Stack trace documentation](https://github.com/envoyproxy/envoy/tree/master/bazel#stack-trace-symbol-resolution).
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement,triage
assignees: ''

---

*Title*: *One line description*

*Description*:
>Describe the the desired behavior, what scenario it enables and how it
would be used.

[optional *Relevant Links*:]
>Any extra documentation required to understand the issue.
12 changes: 7 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,30 @@ maximize the chances of your PR being merged.

# Coding style

* Coding style mirrors [Envoy's policy](https://github.com/envoyproxy/envoy/blob/master/STYLE.md)
* Coding style mirrors [Envoy's policy](https://github.com/envoyproxy/envoy/blob/main/STYLE.md)

# Breaking change policy

Both API and implementation stability are important to Nighthawk. Since the API is consumed by clients beyond Nighthawk, breaking changes to that are prohibited.

# Submitting a PR

* Generally Nighthawk mirrors [Envoy's policy](https://github.com/envoyproxy/envoy/blob/master/CONTRIBUTING.md#submitting-a-pr) with respect to PR submission policy.
* Generally Nighthawk mirrors [Envoy's policy](https://github.com/envoyproxy/envoy/blob/main/CONTRIBUTING.md#submitting-a-pr) with respect to PR submission policy.
* Any PR that changes user-facing behavior **must** have associated documentation in [docs](docs) as
well as [release notes](docs/root/version_history.md).

# PR review policy for maintainers

* Generally Nighthawk mirrors [Envoy's policy](https://github.com/envoyproxy/envoy/blob/master/CONTRIBUTING.md#pr-review-policy-for-maintainers) with respect to maintainer review policy.
* Generally Nighthawk mirrors [Envoy's policy](https://github.com/envoyproxy/envoy/blob/main/CONTRIBUTING.md#pr-review-policy-for-maintainers) with respect to maintainer review policy.
* See [OWNERS.md](OWNERS.md) for the current list of maintainers.
* It is helpful if you apply the label `waiting-for-review` to any PRs that are ready to be reviewed by a maintainer.
* Reviewers will change the label to `waiting-for-changes` when responding.

# DCO: Sign your work

Commits need to be signed off. See [here](https://github.com/envoyproxy/envoy/blob/master/CONTRIBUTING.md#dco-sign-your-work).
Commits need to be signed off. See [here](https://github.com/envoyproxy/envoy/blob/main/CONTRIBUTING.md#dco-sign-your-work).


## Triggering CI re-run without making changes

See [here](https://github.com/envoyproxy/envoy/blob/master/CONTRIBUTING.md#triggering-ci-re-run-without-making-changes).
See [here](https://github.com/envoyproxy/envoy/blob/main/CONTRIBUTING.md#triggering-ci-re-run-without-making-changes).
8 changes: 5 additions & 3 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,17 @@ Envoy internals.
- New features should be added to the [version history](docs/root/version_history.md).
- Breaking changes to the [protobuf APIs](api/) are not allowed.
- When merging, clean up the commit message so we get a nice history. By default,
github will compile a messages from all the commits that are squashed.
github will compile a message from all the commits that are squashed.
The PR title and description should be a good starting point for the final commit message.
(If it is not, it may be worth asking the PR author to update the description).
- Make sure that the DCO signoff is included in the final commit message.
- As a convention, it is appropriate to exclude content in the PR description that occurs after the signoff.

## Updates to the Envoy dependency

We try to [regularly synchronize our Envoy dependency](https://github.com/envoyproxy/nighthawk/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aclosed+%22update+envoy%22+) with the latest revision. Nighthawk reuses large parts of Envoy's build system and CI infrastructure. When we update, that looks like:

- A change to [repositories.bzl](bazel/repositories.bzl) to update the commit and SHA.
- A sync of [.bazelrc](.bazelrc) with [Envoy's version](https://github.com/envoyproxy/envoy/blob/master/.bazelrc) to update our build configurations.
- A sync of the build image sha used in the [ci configuration](.circleci/config.yml) with [Envoy's version](https://github.com/envoyproxy/envoy/blob/master/.circleci/config.yml) to sync our CI testing environment.
- A sync of [.bazelrc](.bazelrc) with [Envoy's version](https://github.com/envoyproxy/envoy/blob/main/.bazelrc) to update our build configurations.
- A sync of the build image sha used in the [ci configuration](.circleci/config.yml) with [Envoy's version](https://github.com/envoyproxy/envoy/blob/main/.circleci/config.yml) to sync our CI testing environment.
- Sometimes the dependency update comes with changes that break our build. We include any changes required to Nighthawk to fix that.
2 changes: 2 additions & 0 deletions OWNERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ routing PRs, questions, etc. to the right place.
* Envoy internals and architecture.
* Jakub Sobon ([mum4k](https://github.com/mum4k)) ([email protected])
* APIs, general functionality and miscellany.
* Nathan Perry ([dubious90](https://github.com/dubious90)) ([email protected])
* APIs and general functionality.
4 changes: 2 additions & 2 deletions PROFILING.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ The interface served at localhost:8888 gives you various means to help with anal

### Envoy build

See [building Envoy with Bazel](https://github.com/envoyproxy/envoy/tree/master/bazel#building-envoy-with-bazel).
See [building Envoy with Bazel](https://github.com/envoyproxy/envoy/tree/main/bazel#building-envoy-with-bazel).

Envoy’s static build is set up for profiling and can be build with:

```
bazel build //source/exe:envoy-static
```

More context: https://github.com/envoyproxy/envoy/blob/master/bazel/PPROF.md
More context: https://github.com/envoyproxy/envoy/blob/main/bazel/PPROF.md

### Nighthawk build

Expand Down
Loading