Repository navigation
bazel: Remove WORKSPACE - #47217
Merged
Merged
bazel: Remove WORKSPACE#47217
Conversation
phlax
requested review from
RyanTheOptimist,
abeyad,
agrawroh,
danzh2010,
jwendell and
wbpcode
as code owners
September 4, 2026 20:19
phlax
marked this pull request as draft
September 4, 2026 20:19
|
CC @envoyproxy/dependency-shepherds: Your approval is needed for changes made to |
phlax
force-pushed
the
bzlmod-ws-rm
branch
4 times, most recently
from
September 4, 2026 21:19
f44c10f to
e7485a0
Compare
Signed-off-by: Ryan Northey <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>
jwendell
approved these changes
Sep 4, 2026
phlax
enabled auto-merge (squash)
September 4, 2026 21:53
jwendell
added a commit
to jwendell/envoy
that referenced
this pull request
Sep 8, 2026
The presubmit selects affected tests with bazel query/rdeps. Since the WORKSPACE removal (envoyproxy#47217) that query aborted with exit 7, failing the job for reasons unrelated to the PR under test. - Use cquery rather than query. It resolves against the configured graph, so unresolvable untaken select() branches (e.g. @@perfetto+//:perfetto) are never visited. Pass --config=openssl so selection matches the tests actually run. - Import rules_fuzzing_oss_fuzz, referenced by //bazel:fuzzing_engine. - Fail loudly when the merge-base diff fails, rather than selecting no tests and reporting a green job that tested nothing. Co-authored-by: Copilot <[email protected]> Signed-off-by: Jonh Wendell <[email protected]>
jwendell
added a commit
that referenced
this pull request
Sep 8, 2026
The presubmit selects affected tests with bazel query/rdeps. Since the WORKSPACE removal (#47217) that query aborted with exit 7, failing the job for reasons unrelated to the PR under test. - Use cquery rather than query. It resolves against the configured graph, so unresolvable untaken select() branches (e.g. @@perfetto+//:perfetto) are never visited. Pass --config=openssl so selection matches the tests actually run. - Import rules_fuzzing_oss_fuzz, referenced by //bazel:fuzzing_engine. - Fail loudly when the merge-base diff fails, rather than selecting no tests and reporting a green job that tested nothing. Signed-off-by: Jonh Wendell <[email protected]> Co-authored-by: Copilot <[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
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]>
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.