Repository navigation
deps: Stack - #49388
deps: Stack#49388
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The dependency bumps leave stale release dates for fmt, rules_apple, and rules_buf, causing generated dependency tables to pair new versions with outdated dates.
1 open issue
What changed in this PR
Consolidates nine dependency updates into one stack, refreshing Envoy’s build tooling and fmt library while avoiding lockfile conflicts between the original bot PRs.
Changes:
- Updates Apple/Swift, C++, shell, Buf, formatting, and Bazel support dependencies.
- Aligns shared dependency declarations across the root and nested workspaces.
- Regenerates all six workspace lockfiles, including transitive dependency and extension changes.
| File | Description |
|---|---|
MODULE.bazel.lock |
Records updated root dependencies and extension digests. |
MODULE.bazel |
Bumps all nine direct dependencies. |
mobile/MODULE.bazel.lock |
Refreshes the mobile dependency graph. |
mobile/MODULE.bazel |
Aligns Apple, Swift, C++, shell, and buildifier versions. |
docs/MODULE.bazel.lock |
Refreshes the documentation dependency graph. |
docs/MODULE.bazel |
Updates rules_cc and buildifier. |
bazel/tests/external/MODULE.bazel.lock |
Refreshes downstream integration dependencies. |
bazel/tests/external/MODULE.bazel |
Updates buildifier for the external test workspace. |
bazel/tests/codeql/MODULE.bazel.lock |
Refreshes CodeQL workspace dependencies. |
bazel/tests/codeql/MODULE.bazel |
Updates buildifier for the CodeQL workspace. |
api/MODULE.bazel.lock |
Records updated API dependencies and extension digest. |
api/MODULE.bazel |
Aligns rules_cc and buildifier versions. |
Review effort: Balanced
| bazel_dep(name = "envoy_toolshed", version = "0.5.23.envoy") | ||
| bazel_dep(name = "flatbuffers", version = "25.12.19.bcr.1") | ||
| bazel_dep(name = "fmt", version = "12.2.0.bcr.1") | ||
| bazel_dep(name = "fmt", version = "12.2.1") |
|
/retest |
| bazel_dep(name = "envoy_toolshed", version = "0.5.23.envoy") | ||
| bazel_dep(name = "flatbuffers", version = "25.12.19.bcr.1") | ||
| bazel_dep(name = "fmt", version = "12.2.0.bcr.1") | ||
| bazel_dep(name = "fmt", version = "12.2.1") |
There was a problem hiding this comment.
The release_date fields in deps.yaml aren't updated for the deps bumped in this PR, so the generated external-deps docs and dependency-age tracking will show stale dates. Could you update them?
bazel/deps.yaml:
fmt(12.2.1):2026-06-16→2026-11-07bazel_features(1.56.0):2026-10-21→2026-11-17rules_apple(5.4.0):2026-10-17→2026-10-30rules_cc(0.2.28):2026-10-22→2026-11-05rules_shell(0.10.0):2026-04-15→2026-11-16
api/bazel/deps.yaml:
rules_buf(0.6.1):2026-04-30→2026-11-05
(Seems the dependency bot doesn't touch deps.yaml. The earlier bump PRs had the same gap.)
There was a problem hiding this comment.
yeah - will update this pr and then look at the tooling
- `rules_buf` -> 0.6.1 Signed-off-by: dependency-envoy[bot] <148525496+dependency-envoy[bot]@users.noreply.github.com> Signed-off-by: Ryan Northey <[email protected]>
- `rules_apple` -> 5.4.0 Signed-off-by: dependency-envoy[bot] <148525496+dependency-envoy[bot]@users.noreply.github.com> Signed-off-by: Ryan Northey <[email protected]>
- `bazel_features` -> 1.56.0 Signed-off-by: dependency-envoy[bot] <148525496+dependency-envoy[bot]@users.noreply.github.com> Signed-off-by: Ryan Northey <[email protected]>
- `rules_swift` -> 4.3.0 Signed-off-by: dependency-envoy[bot] <148525496+dependency-envoy[bot]@users.noreply.github.com> Signed-off-by: Ryan Northey <[email protected]>
- `fmt` -> 12.2.1 Signed-off-by: dependency-envoy[bot] <148525496+dependency-envoy[bot]@users.noreply.github.com> Signed-off-by: Ryan Northey <[email protected]>
- `apple_support` -> 2.12.0 Signed-off-by: dependency-envoy[bot] <148525496+dependency-envoy[bot]@users.noreply.github.com> Signed-off-by: Ryan Northey <[email protected]>
- `rules_shell` -> 0.10.0 Signed-off-by: dependency-envoy[bot] <148525496+dependency-envoy[bot]@users.noreply.github.com> Signed-off-by: Ryan Northey <[email protected]>
- `buildifier_prebuilt` -> 10.2.0 Signed-off-by: dependency-envoy[bot] <148525496+dependency-envoy[bot]@users.noreply.github.com> Signed-off-by: Ryan Northey <[email protected]>
- `rules_cc` -> 0.2.28 Signed-off-by: dependency-envoy[bot] <148525496+dependency-envoy[bot]@users.noreply.github.com> Signed-off-by: Ryan Northey <[email protected]>
|
/retest |
The dependency bot (`ci/dependency/update.sh`) bumps a `bazel_dep` and leaves the `release_date` of the dependency in `deps.yaml` as it was. The hook that updated it for the WORKSPACE updater went with WORKSPACE (#47217), so every bump since has had a stale date (#49388 needed six fixed by hand), and now that the release dates check is back (#48705) the `deps` precheck of a bump fails on it. This adds `//tools/dependency:release_dates` (`release_date_updater`, envoyproxy/toolshed#5626 and envoyproxy/toolshed#5630), which fixes the dates in `bazel/deps.yaml` and `api/bazel/deps.yaml` with the ones that the checker (`//tools/dependency:check`) looks up: ```console $ bazel run //tools/dependency:release_dates -- gperftools Checking the release dates of: gperftools bazel/deps.yaml: gperftools 2026-03-06 -> 2026-10-21 ``` `deps.update` (the bot's `bazel` task) and `registry` with named modules (its `registry` task) now run it for the modules they update. Only those are looked up, as each is a request to GitHub, a module can be named as the module (`msgpack-c`) where its metadata key differs (`msgpack-cxx`), and a module with no metadata is skipped. It needs the `GITHUB_TOKEN` that the workflow already gives the update. Not covered: `registry` with `all`, where the updated modules are not known at that point; their dates are left to the `deps` check. A dependency with metadata in both files (`envoy_toolshed`) is fixed in both: the check reads the API file's date. Risk Level: Low (dependency tooling only) Testing: The `bazel` task was run from a branch with these changes against a pre-release of the toolshed module ([run 44363626118](https://github.com/envoyproxy/envoy/actions/runs/44363626118), `gperftools msgpack-c`, no PR): the diff it produced has the `gperftools` date fixed alongside the `MODULE.bazel` and lockfile changes. There the step was in `do_ci.sh`; it is now in `deps_update`. The `registry` path, and the fix of a dependency in both files (toolshed 0.5.26.envoy, #49411), have not been run. Docs Changes: `ci/README.md` Release Notes: N/A Signed-off-by: Ryan Northey <[email protected]>
…d keep its headers alive (#49398) Fixes a flake of the fuzz coverage job: `//test/extensions/filters/http/common/fuzz:filter_fuzz_test` occasionally dies with a SEGV while replaying the corpus, as in [this run](https://github.com/envoyproxy/envoy/actions/runs/44306995860/job/134811152021) of #49388, which passed on a retest. ### Cause The fuzzer (`UberFilterFuzzer`) is one static object, reused for every input, and it left state behind for the next one: - `reset()`, which calls `onDestroy()` and drops the filters, only ran when `fuzz()` got to its end. If it left early (the factory threw after adding a filter, or the filter did not finish) the filters stayed, and were destroyed without `onDestroy()` when a later input added its own. - The request headers that the decoder callbacks return were a local of the block that runs the decoder, so they were gone while the filter was still encoding, access logging, or completing work in the loop that waits for it. - What a filter had posted to the dispatcher was left to run during the next input, after the filter was gone. With ASAN this is a heap-use-after-free in `FileSystemBufferFilter::onStateChange()`, run from a callback that the filter posted, in an input after the one whose `reset()` freed the filter. The filter guards those callbacks with a flag set in `onDestroy()`, so this is a filter that was freed without `onDestroy()`: a test harness bug, not one in the filter. ### Fix Test only: the filters are destroyed however `fuzz()` returns, the headers live as long as the fuzzer, and the dispatcher is run once before the filters are dropped. ### Testing Runs of `filter_fuzz_test` with the fuzz coverage job's flow (fuzz for 60s, then replay the corpus, which only fails on a crash), in envoy-ci-staging: | Config | Code | Failures | | --- | --- | --- | | fuzz coverage | `main` (and the #49388 stack) | 4 of 600 (SEGV in the replay) | | fuzz coverage | this change | 0 of 400 | | ASAN, asserts off | `main` | 7 of 400, all the use-after-free above | | ASAN, asserts off | this change | 0 of 400 | The fuzz coverage result alone is not conclusive at that failure rate. The ASAN one is: at the 1.75% that `main` fails there, 400 clean runs would happen by chance less than once in a thousand. The same ASAN build with asserts on aborts in the fuzzing phase in about 40% of runs on `main`, on asserts that this does not address: a `host_rewrite` that is not a valid header value (`aws_request_signing`), and an assert in `HttpPerRequestTapperImpl::onBody` (`tap`). The fuzz coverage job ignores failures of that phase. Risk Level: Low (test only) Testing: as above Docs Changes: N/A Release Notes: N/A Signed-off-by: Ryan Northey <[email protected]>
…d keep its headers alive (envoyproxy#49398) Fixes a flake of the fuzz coverage job: `//test/extensions/filters/http/common/fuzz:filter_fuzz_test` occasionally dies with a SEGV while replaying the corpus, as in [this run](https://github.com/envoyproxy/envoy/actions/runs/44306995860/job/134811152021) of envoyproxy#49388, which passed on a retest. ### Cause The fuzzer (`UberFilterFuzzer`) is one static object, reused for every input, and it left state behind for the next one: - `reset()`, which calls `onDestroy()` and drops the filters, only ran when `fuzz()` got to its end. If it left early (the factory threw after adding a filter, or the filter did not finish) the filters stayed, and were destroyed without `onDestroy()` when a later input added its own. - The request headers that the decoder callbacks return were a local of the block that runs the decoder, so they were gone while the filter was still encoding, access logging, or completing work in the loop that waits for it. - What a filter had posted to the dispatcher was left to run during the next input, after the filter was gone. With ASAN this is a heap-use-after-free in `FileSystemBufferFilter::onStateChange()`, run from a callback that the filter posted, in an input after the one whose `reset()` freed the filter. The filter guards those callbacks with a flag set in `onDestroy()`, so this is a filter that was freed without `onDestroy()`: a test harness bug, not one in the filter. ### Fix Test only: the filters are destroyed however `fuzz()` returns, the headers live as long as the fuzzer, and the dispatcher is run once before the filters are dropped. ### Testing Runs of `filter_fuzz_test` with the fuzz coverage job's flow (fuzz for 60s, then replay the corpus, which only fails on a crash), in envoy-ci-staging: | Config | Code | Failures | | --- | --- | --- | | fuzz coverage | `main` (and the envoyproxy#49388 stack) | 4 of 600 (SEGV in the replay) | | fuzz coverage | this change | 0 of 400 | | ASAN, asserts off | `main` | 7 of 400, all the use-after-free above | | ASAN, asserts off | this change | 0 of 400 | The fuzz coverage result alone is not conclusive at that failure rate. The ASAN one is: at the 1.75% that `main` fails there, 400 clean runs would happen by chance less than once in a thousand. The same ASAN build with asserts on aborts in the fuzzing phase in about 40% of runs on `main`, on asserts that this does not address: a `host_rewrite` that is not a valid header value (`aws_request_signing`), and an assert in `HttpPerRequestTapperImpl::onBody` (`tap`). The fuzz coverage job ignores failures of that phase. Risk Level: Low (test only) Testing: as above Docs Changes: N/A Release Notes: N/A Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 205e84d) Signed-off-by: Ryan Northey <[email protected]>
…d keep its headers alive (#49398) Fixes a flake of the fuzz coverage job: `//test/extensions/filters/http/common/fuzz:filter_fuzz_test` occasionally dies with a SEGV while replaying the corpus, as in [this run](https://github.com/envoyproxy/envoy/actions/runs/44306995860/job/134811152021) of #49388, which passed on a retest. ### Cause The fuzzer (`UberFilterFuzzer`) is one static object, reused for every input, and it left state behind for the next one: - `reset()`, which calls `onDestroy()` and drops the filters, only ran when `fuzz()` got to its end. If it left early (the factory threw after adding a filter, or the filter did not finish) the filters stayed, and were destroyed without `onDestroy()` when a later input added its own. - The request headers that the decoder callbacks return were a local of the block that runs the decoder, so they were gone while the filter was still encoding, access logging, or completing work in the loop that waits for it. - What a filter had posted to the dispatcher was left to run during the next input, after the filter was gone. With ASAN this is a heap-use-after-free in `FileSystemBufferFilter::onStateChange()`, run from a callback that the filter posted, in an input after the one whose `reset()` freed the filter. The filter guards those callbacks with a flag set in `onDestroy()`, so this is a filter that was freed without `onDestroy()`: a test harness bug, not one in the filter. ### Fix Test only: the filters are destroyed however `fuzz()` returns, the headers live as long as the fuzzer, and the dispatcher is run once before the filters are dropped. ### Testing Runs of `filter_fuzz_test` with the fuzz coverage job's flow (fuzz for 60s, then replay the corpus, which only fails on a crash), in envoy-ci-staging: | Config | Code | Failures | | --- | --- | --- | | fuzz coverage | `main` (and the #49388 stack) | 4 of 600 (SEGV in the replay) | | fuzz coverage | this change | 0 of 400 | | ASAN, asserts off | `main` | 7 of 400, all the use-after-free above | | ASAN, asserts off | this change | 0 of 400 | The fuzz coverage result alone is not conclusive at that failure rate. The ASAN one is: at the 1.75% that `main` fails there, 400 clean runs would happen by chance less than once in a thousand. The same ASAN build with asserts on aborts in the fuzzing phase in about 40% of runs on `main`, on asserts that this does not address: a `host_rewrite` that is not a valid header value (`aws_request_signing`), and an assert in `HttpPerRequestTapperImpl::onBody` (`tap`). The fuzz coverage job ignores failures of that phase. Risk Level: Low (test only) Testing: as above Docs Changes: N/A Release Notes: N/A Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 205e84d) Signed-off-by: Ryan Northey <[email protected]>

The dependency bot's bumps of today, as one stack so that they do not conflict with each other on the lockfiles. Each commit is the bot's commit, picked in turn, with the lockfiles regenerated (
ci/do_ci.sh lockfiles) on top of the ones before it:rules_buf-> 0.6.1 (deps: Bumprules_buf-> 0.6.1 #49378)rules_apple-> 5.4.0 (deps: Bumprules_apple-> 5.4.0 #49379)bazel_features-> 1.56.0 (deps: Bumpbazel_features-> 1.56.0 #49380)rules_swift-> 4.3.0 (deps: Bumprules_swift-> 4.3.0 #49381)fmt-> 12.2.1 (deps: Bumpfmt-> 12.2.1 #49382)apple_support-> 2.12.0 (deps: Bumpapple_support-> 2.12.0 #49383)rules_shell-> 0.10.0 (deps: Bumprules_shell-> 0.10.0 #49384)buildifier_prebuilt-> 10.2.0 (deps: Bumpbuildifier_prebuilt-> 10.2.0 #49385)rules_cc-> 0.2.28 (deps: Bumprules_cc-> 0.2.28 #49386)Where a bump's
bazel_depline is next to one already bumped in the stack (rules_apple,rules_shell,rules_cc), the pick conflicted onMODULE.bazeland that commit's own version change was reapplied to the stack's file.fmt12.2.1 requiresrules_cc0.2.28, so from thefmtcommit until therules_ccone the lockfile run warns that the root module asks for 0.2.27. At the tip there are no direct dependency mismatch warnings in any workspace.Each bump was run by CI in its own PR. Those PRs are closed in favour of this one.
Risk Level: Low
Testing: CI
Docs Changes: N/A
Release Notes: N/A