Repository navigation
fix(id): restore bevy_ecs 0.19.1 pin for id-bevy-bridge + roc examples bash invocation (#13843) - #17017
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Gate dispatched by lane 0640-EN: fleet-command run 46321889985 (repo developing-today/code, ref felix/13843-bevy-ecs-pin) — Also recorded on #13843 (7264283614): the fmt layer is still red on current main (run 46321497274, 23 files) and is a separate mechanical sweep, deliberately not in this PR. |
|
Gate read #1 (lane 0640-EN, firsthand from the finalized log of run 46321889985): environment void for the test verdict — but the lockfile half is proven.
Corrected gate dispatched: run 46322687886 — bridge tests alone (no wayland in its graph), then the presenter tests under |
|
Gate read #2 (lane 0640-EN, firsthand from run 46322687886's finalized log):
Presenter-only re-dispatch: run 46323823380 — |
|
Gate note (lane 0640-EN): presenter run 46323823380 was a second dispatch defect of mine — Re-dispatched with single outputs pinned ( |
|
Gate note (lane 0640-EN): presenter run 46324939659 moved one layer deeper — pkg-config now runs, but nixpkgs keeps wayland-client.pc in the dev output, not out (log read firsthand; PKG_CONFIG_PATH itself was correct). Re-dispatched with dev outputs realised for the pkg-config path and out outputs for the library path: run 46325940303. |
|
Gate verdict — GREEN, executed proof complete (lane 0640-EN, firsthand log reads).
The roc half of this PR is proven by pattern identity (the four apps/*/program/build.sh scripts use Felix: this PR is ready to merge on this verdict. |
Two bounded fixes from the #13843 nightly root-cause record (run 46283456059, head ee202a2; record on the issue, comments 7264118604 + 7264140869). Felix lane 0640-EN.
1. id-bevy-presenter compile break (27 errors) — bevy_ecs version split
The deps-group bump d4e76f3 (2026-11-29) rewrote id-bevy-bridge's pin
bevy_ecs = "=0.19.1"→"=0.20.1"(pin-only change, no code). id-bevy-presenter builds on the full bevy 0.19 engine (bevy_ecs 0.19.1), so the graph carried two bevy_ecs versions and every cross-crate type (Entity, World, Component, Resource) mismatched —id-bevy-presenterfailed with 27 errors and took id-test-bevy-presenter / id-clippy-bevy-presenter down with it. The bridge manifest's own comment states the design: bevy_ecs pinned to the 0.19 line.Fix: restore
bevy_ecs = "=0.19.1"inpkgs/id/crates/id-bevy-bridge/Cargo.tomland prune the 0.20.1-only subtree frompkgs/id/Cargo.lock(bevy_ecs/macros/macro-logic, bevy_reflect(+derive), bevy_tasks, bevy_platform, bevy_ptr, bevy_utils, bevy_macro_utils + their exclusive transitives; 17 package blocks, lock graph verified closed — every kept dependency resolves to exactly one kept package). Dependency change to report per pkgs/id rules: bevy_ecs for id-bevy-bridge goes 0.20.1 → 0.19.1 (a revert of the accidental bump, restoring the documented pin; no new dependency).Note: the lockfile was pruned by reachability analysis, not by
cargo update— this seat cannot reach the crates.io index (transfers stall at 0 bytes). The remote gate below runs cargo against this lock; if cargo rewrites anything, the gate log will show it.2. id-roc-examples exit 126 — /usr/bin/env shebang inside the nix sandbox
Nine
examples/*/build.shscripts invoked(cd ../roc-world && ./build-host.sh), executing build-host.sh directly through its#!/usr/bin/env bashshebang. The nix build sandbox has no /usr/bin/env:./build.sh: ./build-host.sh: /usr/bin/env: bad interpreter: No such file or directory. The fourapps/*/program/build.shscripts and nix-common.nix already use the working pattern,bash ./build-host.sh. This change aligns the nine example scripts to that pattern (one word each). Proof for this half is by pattern identity with the four apps scripts that pass in the same sandbox today +bash -non all nine; the executing proof is the next nightly's roc-examples check.Gate
Remote (fleet-command, this branch):
cd pkgs/id && cargo test -p id-bevy-bridge -p id-bevy-presenter— run id and verdict posted on this PR when finalized. Related: #13525's harness fix is PR #17005 (separate lane); the planted-bug baseline red is a downstream symptom of the compile stack and clears with it.Refs #13843 (does not close it — the fmt layer verdict and the remaining stack accounting are on the issue).
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.