Repository navigation
deps/ci: Add back release dates checker - #48705
Merged
Merged
Conversation
phlax
requested review from
RyanTheOptimist,
abeyad,
agrawroh,
danzh2010 and
jwendell
as code owners
October 25, 2026 18:28
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Deleted metadata entries omit still-resolved dependencies from reporting and release validation.
1 open issue
What changed in this PR
Restores dependency release-date and release validation in Envoy’s CI by adapting resolved Bazel module metadata for the existing checker.
Changes:
- Fetch registry source metadata and normalize checker inputs, with a new regression test.
- Restore release checks in the
depsCI target and document the token requirement. - Refresh dependency metadata and module-extension lockfile digests.
| File | Description |
|---|---|
tools/dependency/check_dependencies_test.py |
Tests metadata shaping and archive URL normalization. |
tools/dependency/BUILD |
Adds checker-compatible metadata and wires the regression test. |
MODULE.bazel.lock |
Refreshes root module-extension digests. |
mobile/MODULE.bazel.lock |
Refreshes mobile module-extension digests. |
docs/MODULE.bazel.lock |
Refreshes documentation module-extension digests. |
ci/README.md |
Documents restored checks and token requirement. |
ci/do_ci.sh |
Runs release validation during dependency checks. |
bazel/tests/external/MODULE.bazel.lock |
Refreshes external-workspace extension digests. |
bazel/tests/codeql/MODULE.bazel.lock |
Refreshes CodeQL-workspace extension digests. |
bazel/extensions.bzl |
Downloads and includes registry source metadata. |
bazel/deps.yaml |
Revises release dates and removes metadata entries. |
api/bazel/deps.yaml |
Updates toolshed and xDS release dates. |
Review effort: Balanced
phlax
force-pushed
the
ci-release-dates
branch
from
October 25, 2026 18:45
54421a3 to
f6f4b9e
Compare
| license: "zlib" | ||
| license_url: "https://github.com/zlib-ng/zlib-ng/blob/{version}/LICENSE.md" | ||
|
|
||
| yq_bzl: |
Member
Author
There was a problem hiding this comment.
Already addressed: yq_bzl sits between yaml-cpp and zlib-ng in the current head. (bot assisted)
phlax
force-pushed
the
ci-release-dates
branch
2 times, most recently
from
October 25, 2026 19:00
61eed2c to
cdf8dfb
Compare
phlax
marked this pull request as draft
October 25, 2026 19:01
phlax
force-pushed
the
ci-release-dates
branch
from
October 26, 2026 18:59
cdf8dfb to
0bc5cf2
Compare
| registry_check | ||
| echo "Check bazel lockfiles ..." | ||
| lockfiles_check | ||
| echo "Check dependency release dates/releases ..." |
Member
Author
There was a problem hiding this comment.
Fixed: ci/do_ci.sh deps now runs //tools/dependency:check_dependencies_test before the checker. (bot assisted)
phlax
force-pushed
the
ci-release-dates
branch
2 times, most recently
from
November 18, 2026 11:08
be6a302 to
5982658
Compare
phlax
marked this pull request as ready for review
November 18, 2026 11:10
phlax
force-pushed
the
ci-release-dates
branch
from
November 18, 2026 11:15
5982658 to
264bab3
Compare
Signed-off-by: Ryan Northey <[email protected]>
phlax
force-pushed
the
ci-release-dates
branch
from
November 18, 2026 11:39
264bab3 to
5b93003
Compare
jwendell
reviewed
Nov 18, 2026
|
|
||
| # Metadata-only repositories absent from the resolved module graph have no | ||
| # version to check. | ||
| # TODO: Skip nested archive tags until envoy.dependency.check can parse nested tag names. |
Member
There was a problem hiding this comment.
TODO needs an owner, ideally with a tracking issue, since this silently skips checks for nested tags (e.g. vectorscan).
Suggested change
| # TODO: Skip nested archive tags until envoy.dependency.check can parse nested tag names. | |
| # TODO(phlax): Skip nested archive tags until envoy.dependency.check can parse nested tag names. |
Signed-off-by: Ryan Northey <[email protected]>
jwendell
previously approved these changes
Nov 18, 2026
phlax
enabled auto-merge (squash)
November 18, 2026 14:27
Signed-off-by: Ryan Northey <[email protected]>
jwendell
approved these changes
Nov 18, 2026
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 18, 2026
Signed-off-by: Ryan Northey <[email protected]> Backport note (release/v1.40): the lockfiles are regenerated for this branch (`./ci/do_ci.sh lockfiles`) rather than picked. (cherry picked from commit 8babfab)
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 18, 2026
Signed-off-by: Ryan Northey <[email protected]> Backport note (release/v1.40): the lockfiles are regenerated for this branch (`./ci/do_ci.sh lockfiles`) rather than picked. The release dates are this branch's where its versions differ from `main`'s: `benchmark` and `quiche` keep the dates they had, and `rules_apple`, `rules_cc`, `rules_foreign_cc` and `shellcheck`, which the check reports here, are corrected. (cherry picked from commit 8babfab)
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 18, 2026
The dependency bot (`ci/dependency/update.sh`) bumped a `bazel_dep` and left the `release_date` of the dependency in `deps.yaml` as it was: the hook that updated it went with WORKSPACE (envoyproxy#47217). Since the release dates check came back (envoyproxy#48705) that fails the `deps` precheck of the bump. `//tools/dependency:release_dates` (envoyproxy/toolshed#5626) fixes the dates in `bazel/deps.yaml` and `api/bazel/deps.yaml` with the ones that the checker looks up. `deps.update` and `registry` now run it for the modules that they update. Only those are looked up, as each is a request to GitHub, and a module with no metadata is skipped. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 18, 2026
The dependency bot (`ci/dependency/update.sh`) bumped a `bazel_dep` and left the `release_date` of the dependency in `deps.yaml` as it was: the hook that updated it went with WORKSPACE (envoyproxy#47217). Since the release dates check came back (envoyproxy#48705) that fails the `deps` precheck of the bump. `//tools/dependency:release_dates` (envoyproxy/toolshed#5626) fixes the dates in `bazel/deps.yaml` and `api/bazel/deps.yaml` with the ones that the checker looks up. `deps.update` and `registry` now run it for the modules that they update. Only those are looked up, as each is a request to GitHub, and a module with no metadata is skipped. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
that referenced
this pull request
Nov 18, 2026
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]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 19, 2026
Signed-off-by: Ryan Northey <[email protected]> Backport note (release/v1.40): the lockfiles are regenerated for this branch (`./ci/do_ci.sh lockfiles`) rather than picked. The release dates are this branch's where its versions differ from `main`'s: `benchmark` and `quiche` keep the dates they had, and `rules_apple`, `rules_cc`, `rules_foreign_cc` and `shellcheck`, which the check reports here, are corrected. (cherry picked from commit 8babfab)
phlax
added a commit
that referenced
this pull request
Nov 19, 2026
Signed-off-by: Ryan Northey <[email protected]> Backport note (release/v1.40): the lockfiles are regenerated for this branch (`./ci/do_ci.sh lockfiles`) rather than picked. The release dates are this branch's where its versions differ from `main`'s: `benchmark` and `quiche` keep the dates they had, and `rules_apple`, `rules_cc`, `rules_foreign_cc` and `shellcheck`, which the check reports here, are corrected. (cherry picked from commit 8babfab)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


No description provided.