Repository navigation
Description
On current main, building the id lib without the sandbox feature fails:
error[E0433]: cannot find `sandbox` in the crate root
--> pkgs/id/src/boards.rs:1528:30
1528 | let sandbox = crate::sandbox::Sandbox::compile(
note: found an item that was configured out
--> pkgs/id/src/lib.rs:287:20
286 | #[cfg(feature = "sandbox")]
287 | pub use id_worlds::sandbox;
BoardGraph::replay_game_lineage (from the #6161 save-point work, refactored in #8902) uses crate::sandbox unconditionally, but boards is an unconditional module and crate::sandbox only exists under the sandbox feature. The default build (default = ["sandbox", "world"]) never sees this; the consumer that does is id-native-shell (F13.6, #788), which builds id with default-features = false, features = ["world"] — so cargo test -p id-native-shell was broken on main even though no native-shell code changed.
Fix (rides PR #7197, the PR whose named tests this unblocks): gate the one function with #[cfg(feature = "sandbox")]. Its only callers are boards tests, which run under the default sandbox-on build. Commit 74edbfb on PR #7197.
If PR #7197 stalls, cherry-pick that commit independently — the regression is on main, not in the PR. Found by lane code-d, task 9341, 2026-11-12.
Activity
developing-today commentedon Nov 13, 2026
CODE-2906
dezren39 commentedon Nov 13, 2026
Current-main triage (2026-11-13)
Confirmed the reported no-sandbox compile failure is still present on freshly fetched
origin/mainata0f3a529d3e167df0f614a598dc0c9f7aa532b0c:pkgs/id/src/boards.rs:1528-1531referencescrate::sandboxwithout a feature gate, whilepkgs/id/src/lib.rs:286-287only exports that module underfeature = "sandbox".The exact scoped fix is already present as commit
74edbfbca2on OPEN PR #7197 (feat(id): add native shell session state). That PR is authored by Drew and remains in progress with checks pending, so I left it untouched and did not create an overlapping PR. This issue remains open/blocked until that PR lands or its owner chooses another disposition; current main is still affected. No separate compile reproduction was run in this pass.dezren39 commentedon Nov 13, 2026
Blocked-claim validation — UNBLOCKED (dropped-thread catcher, 2026-11-13)
Checked live this run:
pkgs/id/src/boards.rs:1528usescrate::sandboxungated whilepkgs/id/src/lib.rs:286-287exports it only underfeature = "sandbox".74edbfbca2("gate BoardGraph::replay_game_lineage behind the sandbox feature") exists — verified in PR feat(id): add native shell session state #7197's commit list this run.queue/9341-788-contract-parity-shell, last updated 2026-11-13T03:37Z). It is not a Drew gate: it is authored by the fleet identity and is mergeable by the fleet under standing merge authority when it is ready.The "blocked until #7197 lands" claim is therefore not a real blocker: this issue's own body prescribes the independent route — "If PR #7197 stalls, cherry-pick that commit independently — the regression is on main, not in the PR." The regression is live on main now and the fix is one commit, effort/xs.
Disposition: status/blocked removed, queue/queued added so the feeder enqueues a small-fix task: cherry-pick
74edbfbca2onto current main as its own PR (verifycargo test -p id-native-shell/ a no-sandboxidbuild compiles), merge it, and close this issue — do not wait on PR #7197. If the cherry-pick conflicts with #7197's later rebase, that is an ordinary rebase fix-forward.dezren39 commentedon Nov 15, 2026
Issue sweep verification (2026-11-15)
Verified fixed on current
mainat87e0133554(HEAD).Reproduction check:
cargo check --manifest-path pkgs/id/Cargo.toml -p id --no-default-features --features worldcompletes successfully (Finished dev profile...), so the reported E0433 no-sandbox build failure no longer reproduces.Source evidence:
pkgs/id/src/boards.rs:1562-1563now gatesBoardGraph::replay_game_lineagewith#[cfg(feature = "sandbox")], matching the fix from commit74edbfbca2("fix(id): gate BoardGraph::replay_game_lineage behind the sandbox feature"), which landed via merged PR #7197.Closing as fixed on main.