fix(bazel): refresh MODULE.bazel.lock for path-absolutize - #79
Open
0xzoz wants to merge 1 commit into
Open
Conversation
`path-absolutize` and its `path-dedot` dependency entered the workspace through `codex-rs/execpolicy-legacy` in 91f1f78 without the accompanying lockfile refresh, so the rules_rs crate extension's recorded facts no longer match the resolved graph. Every Cargo-touching PR has failed CI since: `bazel mod deps` reports "MODULE.bazel.lock is no longer up-to-date because the extension '@@rules_rs+//rs:extensions.bzl%crate' has changed its facts", which takes down Bazel test on all platforms regardless of what the PR changed. Regenerated with `just bazel-lock-update`; the change is the two missing crate entries and nothing else. `scripts/check-module-bazel-lock.sh` now passes. Signed-off-by: 0xzoz <zeroexzoz@gmail.com>
Contributor
Author
|
Follow-up: #80 fixes the two CI problems this PR exposes. Clearing the #80 raises those timeouts, ungates the cache save, and removes the Windows/macOS jobs pinned to runners this repo cannot assign — the ones docs/ci.md already declares disabled. Suggested order: this PR first, then #80. |
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.
Summary
CI has been red on every Cargo-touching PR since 2026-08-03. This is the fix: two missing entries in
MODULE.bazel.lock.path-absolutize(and itspath-dedotdependency) entered the workspace throughcodex-rs/execpolicy-legacy/Cargo.tomlin 91f1f78 "release: prepare PFTerminal 0.1.27" without the accompanying lockfile refresh. Therules_rscrate extension records per-crate facts inMODULE.bazel.lock, so a dependency that never made it into the lock puts the extension permanently out of date:Because that check runs before anything is built, it takes down Bazel test on every platform regardless of what the PR touched. It is easy to misread as being caused by the PR under review — the error dumps the entire ~101k-crate fact set, which looks alarming and names none of the actual culprits.
Confirmed not specific to any one PR: #78 (adds a binary target) and #47 (a dependabot version bump) fail the identical set of checks.
What changed
Regenerated with
just bazel-lock-update, exactly asAGENTS.mdprescribes. The diff is the two missing crate entries and nothing else:Testing
./scripts/check-module-bazel-lock.sh— the same script CI runs — passes on this branch (exit 0). It fails onmain.Two pre-existing warnings are unchanged by this PR and left alone deliberately:
platforms@1.0.0resolving to1.1.0andrules_cc@0.2.18resolving to0.2.20.Note on the remaining red
This unblocks the Bazel jobs. It does not fix
repo-checks / build-test, which is a separate pre-existing failure — the manifest verifier flagscode-mode-runtime,code-mode, andutils/home-dirfor workspace crate features. Those need an owner decision about whether to drop the features or extendMANIFEST_FEATURE_EXCEPTIONS, so I have not touched them here.