core-agent-ide/.github/workflows
Josh McKinney de93cef5b7
bazel: enforce MODULE.bazel.lock sync with Cargo.lock (#11790)
## Why this change

When Cargo dependencies change, it is easy to end up with an unexpected
local diff in
`MODULE.bazel.lock` after running Bazel. That creates noisy working
copies and pushes lockfile fixes
later in the cycle. This change addresses that pain point directly.

## What this change enforces

The expected invariant is: after dependency updates, `MODULE.bazel.lock`
is already in sync with
Cargo resolution. In practice, running `bazel mod deps` should not
mutate the lockfile in a clean
state. If it does, the dependency update is incomplete.

## How this is enforced

This change adds a single lockfile check script that snapshots
`MODULE.bazel.lock`, runs
`bazel mod deps`, and fails if the file changes. The same check is wired
into local workflow
commands (`just bazel-lock-update` and `just bazel-lock-check`) and into
Bazel CI (Linux x86_64 job)
so drift is caught early and consistently. The developer documentation
is updated in
`codex-rs/docs/bazel.md` and `AGENTS.md` to make the expected flow
explicit.

`MODULE.bazel.lock` is also refreshed in this PR to match the current
Cargo dependency resolution.

## Expected developer workflow

After changing `Cargo.toml` or `Cargo.lock`, run `just
bazel-lock-update`, then run
`just bazel-lock-check`, and include any resulting `MODULE.bazel.lock`
update in the same change.

## Testing

Ran `just bazel-lock-check` locally.
2026-02-14 02:11:19 +00:00
..
bazel.yml bazel: enforce MODULE.bazel.lock sync with Cargo.lock (#11790) 2026-02-14 02:11:19 +00:00
cargo-deny.yml bump cargo-deny-action ver (#8345) 2025-12-19 15:23:02 -08:00
ci.bazelrc [bazel] Upgrade some rulesets in preparation for enabling windows, part 2 (#11197) 2026-02-09 20:08:10 +00:00
ci.yml use mainline version as baseline in ci (#8271) 2025-12-18 11:53:36 -08:00
cla.yml Fixed CLA action to properly exempt dependabot (#7429) 2025-11-30 20:45:17 -08:00
close-stale-contributor-prs.yml ci: prevent workflows from running on forks (#8629) 2026-01-03 13:12:16 -07:00
codespell.yml chore(deps): bump actions/checkout from 5 to 6 (#7230) 2025-11-24 11:45:57 -08:00
Dockerfile.bazel fix: support remote arm64 builds, as well (#9018) 2026-01-10 18:41:08 -08:00
issue-deduplicator.yml Improve GitHub issue deduplication reliability by introducing a stage… (#11769) 2026-02-13 12:01:07 -08:00
issue-labeler.yml Updated labeler workflow prompt to include "app" label (#10411) 2026-02-02 13:13:14 -08:00
rust-ci.yml fix(ci) lock rust toolchain at 1.93.0 to unblock (#11703) 2026-02-13 08:44:23 +00:00
rust-release-prepare.yml ci: prevent workflows from running on forks (#8629) 2026-01-03 13:12:16 -07:00
rust-release-windows.yml fix(ci) lock rust toolchain at 1.93.0 to unblock (#11703) 2026-02-13 08:44:23 +00:00
rust-release.yml fix(ci) lock rust toolchain at 1.93.0 to unblock (#11703) 2026-02-13 08:44:23 +00:00
sdk.yml fix(ci) lock rust toolchain at 1.93.0 to unblock (#11703) 2026-02-13 08:44:23 +00:00
shell-tool-mcp-ci.yml fix: remove references to corepack (#10138) 2026-01-28 23:31:25 -08:00
shell-tool-mcp.yml fix(shell-tool-mcp) build dependencies (#11709) 2026-02-13 09:30:37 +00:00
zstd ci(windows): use DotSlash for zstd in rust-release-windows (#11542) 2026-02-11 20:57:11 -08:00