|
| 1 | +[agent] Progress ledger for the scheduled Bazel workspaces bug-hunt routine (label pm:bazel). |
| 2 | + |
| 3 | +Last run: none yet (routine created 2026-11-26). |
| 4 | + |
| 5 | +Bazel support is experimental. The rows below are the rows of "Bazel workspaces: what is supported" in `docs/ecosystems.md`, which says what each cell promises and with which conditions. A cell here records what this routine saw on a real Bazel build: pass (Bazel release, date), fail (issue number), blocked (why) or untested. |
| 6 | + |
| 7 | +## Coverage matrix |
| 8 | + |
| 9 | +| Ecosystem, and how Bazel takes its packages | Hosted | Vendored | Agent (not supported: the build must still pass) | VEX | Nightly CI legs on `main` | |
| 10 | +|---|---|---|---|---|---| |
| 11 | +| npm: aspect_rules_js over a pnpm lock | untested | untested | untested | untested | unchecked | |
| 12 | +| PyPI: rules_python `pip.parse` over a requirements file | untested | untested | untested | untested | unchecked | |
| 13 | +| Go: gazelle `go_deps.from_file` over `go.mod` | untested | untested | untested | untested | unchecked | |
| 14 | +| RubyGems: rules_ruby `ruby.bundle_fetch` over `Gemfile.lock` | untested | untested | untested | untested | unchecked | |
| 15 | +| Cargo: rules_rust `crate.from_cargo` over `Cargo.lock` | untested | untested | untested | untested | unchecked | |
| 16 | +| NuGet: `nuget.from_lock` over `packages.lock.json` | untested | untested | untested | untested | unchecked | |
| 17 | +| Composer: a rule that runs `composer install` from `composer.lock` | untested | untested (declines by design) | untested | untested | unchecked | |
| 18 | +| Maven: rules_jvm_external `maven.install` with a `lock_file` | untested | untested | untested | untested | unchecked | |
| 19 | + |
| 20 | +| Outside a Bazel build | Result | |
| 21 | +|---|---| |
| 22 | +| A project in no Bazel workspace behaves exactly as v5.1.0 did | untested | |
| 23 | +| A project in a Bazel workspace that Bazel does not build | untested | |
| 24 | + |
| 25 | +## Backlog |
| 26 | +1. Feasibility: install a pinned Bazel with `scripts/install-bazel.sh` and build one fixture workspace under `crates/socket-patch-cli/tests/fixtures/bazel`. Record every host the sandbox can't reach. |
| 27 | +2. The latest nightly run of each `bazel-*.yml` workflow on `main`: which legs are red, and whether an open issue covers each. |
| 28 | +3. A project in no Bazel workspace: the same commands on `main` and on v5.1.0 give the same files, output and exit codes. |
| 29 | +4. Hosted mode, one ecosystem per run, in the order of the table: the mode's one command, `bazel build`, the patched package in the build, `vex`, the undo, `bazel build` again. |
| 30 | +5. Vendored mode, the same way, for the rows the docs list as Supported; for the rows that decline, the command exits 1, writes nothing and the build still passes. |
| 31 | +6. Agent mode in a Bazel workspace: the message says what to use instead, and the build still passes. |
| 32 | +7. `vex` in each row: `not_affected` only for a package the Bazel build takes patched. |
| 33 | +8. The docs table against what you saw: a cell that promises more than the build holds. |
| 34 | + |
| 35 | +## Known non-bugs |
| 36 | +See `known-non-bugs/bazel.md` (none yet). |
0 commit comments