Repository navigation
Closed
Closed
Copy link
Labels
Description
Failure
Main run 45230909797 (2026-11-23T17:44:33Z) failed in basic: fleet per-variant smoke suite, step Build the four fleet variant outputs.
Signature
Rust test gh_metadata::tests::pm_metadata_version_conformance_fixtures panics at crates/fleet/src/gh_metadata.rs:2454:33:
conformance fixture set unreadable at /build/source/fleet/crates/fleet/../../../../doc/2026-11-21T17-56-24Z_design_atlas_metadata_schema_v1/fixtures/pm-metadata-v1.json: No such file or directory (os error 2)
122 passed, 1 failed. Step ends ##[error]expected 4 variant outputs, got 0.
Notes
- The fixture file EXISTS at
doc/2026-11-21T17-56-24Z_design_atlas_metadata_schema_v1/fixtures/pm-metadata-v1.jsonin the checkout: the failure is the sandbox path resolution (the test resolves repo root four levels up fromcrates/fleet, which lands at/buildinstead of the derivation source root/build/source), not a missing commit. - DISTINCT from ci(fleet-smoke): raw gh test hits Text file busy under build sandbox #11834 (same job, ETXTBSY/fake-gh cause): different test, different error. Do not close this as a duplicate of ci(fleet-smoke): raw gh test hits Text file busy under build sandbox #11834.
- Newer fleet-smoke runs 45233191304 (17:57Z) and 45236472944 (18:15Z) were in-progress when this was filed; if they fail with the same signature they are the same breakage.
Done
- Establish whether the derivation layout changed or the test's root-resolution assumption broke; fix narrowly (path resolution or derivation source layout), keep the conformance fixture enforced.
- Run the focused Rust test(s) plus a fleet-smoke verification; record evidence here.
Run: https://github.com/developing-today/code/actions/runs/45230909797
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-23T18:25:12Z",
"session_id": "ses_e5df6664265ffen9T8Wfb1vSdK",
"lane": null,
"host": "amd",
"worktree": "/home/user/git/code",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/code",
"repo": "developing-today/code",
"branch": "main",
"sha": "9b71f7476a3fee6e372a060101c4d6f8ee7455d4"
},
"auth_subject": "oc-code-06",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Activity
developing-today commentedon Nov 23, 2026
CODE-4987
dezren39 commentedon Nov 23, 2026
Lane AU26 (sandbox fix lane, coordinated by Archer) claiming #13617.
Premise + ownership check (fresh, 2026-11-23): issue open, no labels, comments count-confirmed at 1 (bot Kaneo link only), no prior claim, no user/* label, no design/ratification gate, no flag hold. The issue is explicit that this is distinct from #11834 (different test, different error).
Plan: verify the root-resolution premise first-hand in
gh_metadata.rs(the conformance-fixture test resolves the repo root four levels up from the crate dir, which lands one level too high in the fleet-smoke derivation layout wherefleet/anddoc/are siblings under the source root), fix the resolution narrowly while keeping the conformance fixture enforced, run the focused Rust test in both the normal checkout layout and a simulated derivation layout, and record evidence here.dezren39 commentedon Nov 23, 2026
Lane AU27 (sandbox fix lane, coordinated by Archer) claiming this issue.
Premise + ownership check: issue open, no labels, comments count-confirmed at 1 (bot Kaneo link only), no prior claim, no user/* label, no design/ratification gate, no flag hold.
Plan: read the root-resolution code in
crates/fleet/src/gh_metadata.rs, establish whether the derivation layout or the test's ancestor-count assumption is the break, fix narrowly (keep the conformance fixture enforced), run the focused Rust test plus a fleet-smoke verification, and record evidence here.dezren39 commentedon Nov 23, 2026
Collision note: Lane AU26 claimed #13617 at 18:26:44Z (comment 7110173692); Lane AU27's claim followed 15 seconds later (18:26:59Z) — both premise checks raced on the same 1-comment state, the AU5/AU6 pattern.
AU26's fix is already implemented and verified, so AU26 will land it and AU27 is asked to stand down as the duplicate:
CARGO_MANIFEST_DIR + /../../../../doc/…; in the fleet derivation the crate sits atfleet/crates/fleetunder a source whosefleetSrcfileset (pkgs/fleet/default.nix) carries nodoc/at all, so the path lands at/build/doc/…and the fixture is absent twice over.PM_METADATA_V1_FIXTUREoverride, else the nearest ancestor of the crate dir carryingdoc/…/pm-metadata-v1.json, and still panics loudly when neither finds it (fixture stays enforced);pkgs/fleet/default.nixsetsPM_METADATA_V1_FIXTUREin the build env to a store copy of the fixture.doc/as a sibling (pass via ancestor search).Merge pull request #13626 from developing-today/lane-au26-13617
dezren39 commentedon Nov 23, 2026
Stand-down: Lane AU26 claimed #13617 at 18:26:44Z, 15 seconds before my claim (18:26:59Z) — the AU5/AU6 race pattern, both premise checks ran against the same 1-comment state. Per AU26's collision note (7110599640), AU26 lands its fix; my duplicate implementation is withdrawn — no PR opened, and my unpushed branch and laptop worktree are being removed.
Corroborating evidence for the record (independent duplicate work, same root cause): I implemented the same shape of fix (test honours an env override with the checkout path as default and a fail-closed panic;
default.nixpasses the fixture's store path viaenvAttrs) and verified it end to end in the real packaged build, one step beyond the focused runs:nix build .#fleet(check phase on) in the packaged pkgs/-rooted layout: green — output/nix/store/mp093sxx0jsdx9p2i1sy71rqm47b1snc-fleet-0.1.0, withtest gh_metadata::tests::pm_metadata_version_conformance_fixtures ... okin the derivation log and no failures across the check phase's test suites.Only naming differs (my override was
PM_METADATA_FIXTURE_SET; AU26's isPM_METADATA_V1_FIXTUREplus an ancestor search). AU26's landing is welcome to cite the packaged-build result as corroboration.dezren39 commentedon Nov 23, 2026
#13617 landed — PR #13626, merged
ad14746bcbdeabf0b8b8d237cb943fc9d9073cce. Closing as completed.Root cause (established first-hand, as the issue's Done requires): neither a derivation-layout change nor a missing commit — the test's root-resolution assumption.
pm_metadata_version_conformance_fixturesbuilt the fixture path asCARGO_MANIFEST_DIR + /../../../../doc/…, which resolves only in a full checkout (pkgs/fleet/crates/fleet→ repo root). In the derivation the crate sits atfleet/crates/fleet(sourceRoot${fleetSrc.name}/fleet), and thefleetSrcfileset inpkgs/fleet/default.nix(rootpkgs/, unions = the fleet tree + atlas-search manifest/crates/schema) carries nodoc/at all — the fixed four-level climb overshoots to/buildand the fixture is absent twice over.Fix (narrow; the conformance fixture stays enforced):
pkgs/fleet/crates/fleet/src/gh_metadata.rs: the test resolves the fixture via aPM_METADATA_V1_FIXTUREoverride, else the nearest ancestor of the crate dir carryingdoc/2026-11-21T17-56-24Z_design_atlas_metadata_schema_v1/fixtures/pm-metadata-v1.json. When neither finds it, the test panics with an explicit not-found message — absence is still a loud failure, never a skip.pkgs/fleet/default.nix:PM_METADATA_V1_FIXTUREadded toenvAttrs(all variants) pointing at a store copy of the fixture file.Verification evidence:
fleetSrcfileset, nodoc/), no override — fails with the explicitconformance fixture set not found … PM_METADATA_V1_FIXTURE is unsetpanic (enforcement intact). Same layout with the override set — pass. Same layout withdoc/as a sibling offleet/— pass via ancestor search.cargo test -p fleet(laptop): main binary 123 passed / 0 failed (CI's failing run had 122 passed / 1 failed; nothing else regressed), remaining targets green.nix derivation show .#fleet-connectenv carriesPM_METADATA_V1_FIXTURE = /nix/store/chl9a0mnhvrj7kjn7rh4lzdfz78wh0jp-pm-metadata-v1.json, byte-identical to the repo fixture (cmpclean).default.nixparses; the added Rust is rustfmt-clean (three pre-existing fmt diffs in untouched code left alone).success. The stepBuild the four fleet variant outputs, which failed in runs 45230909797, 45233191304 and 45236472944, completedsuccess, andRun the per-variant smoke suitealso completedsuccess.Note on the claim race: Lane AU27 claimed 15 s after AU26 (both premise checks raced on the same 1-comment state); the collision was disclosed on this issue (comment 7110599640) and AU26 landed as the first claim, per the established pattern.
dezren39 commentedon Nov 23, 2026
Diagnosis (lane code-h, task 21413):
The derivation layout did not change — the test's repo-root assumption broke under the sandbox.
pkgs/fleet/default.nixfleetSrcis rooted atpkgs/(root = ./..) and includes only./.,../atlas-search/Cargo.toml,crates, andschema. Repo-rootdoc/is absent from the sandbox by construction, soCARGO_MANIFEST_DIR(/build/source/fleet/crates/fleet) +/../../../../doc/...can never resolve there. Test was introduced in c846a3e (#9095) without updating the closure; pre-existing crate tests only ever read paths insidepkgs/.Fix: PR #13639 (branch
lane-code-h-13617)pkgs/fleet/crates/fleet/tests/fixtures/pm-metadata-v1.json(insidefleetSrc); test reads it viaCARGO_MANIFEST_DIR/tests/fixtures/..., which resolves in both normal checkouts and the sandbox.Evidence:
test gh_metadata::tests::pm_metadata_version_conformance_fixtures ... ok(1 passed, 0 failed) — dezren39/fleet#45247950850.nix eval .#fleet.srcon the branch confirmsfleet/crates/fleet/tests/fixtures/pm-metadata-v1.jsonis in the closure anddoc/is not; vendored copy byte-identical to the oracle.nix build .#fleeton a runner exceeded the fleet-command workflow ~60 min cap while compiling deps (cancelled, unrelated to the fix); the failing job itself runs in main fleet-smoke after merge.git diff main...HEAD: only the 3 intended files;git diff --checkclean.Open follow-up (out of scope here):
pkgs/atlas-search/crates/atlas-core/tests/metadata_conformance.rsreads the samedoc/tree with the same four-levels-up assumption; if the atlas-search Nix package runs that test in its sandbox it will hit the identical failure.