Skip to content

main CI failure: developing-today/code — fleet-smoke workflow (run 45230909797) #13618

Done

Description

@dezren39

Fix the new main-branch CI failure in developing-today/code workflow fleet-smoke.

Newest failure in this workflow: run 45230909797 (push, main, sha 805258752157ad44f9bda0c0eb2fb4be29e6affb, merge #13527), job basic: fleet per-variant smoke suite (https://github.com/developing-today/code/actions/runs/45230909797/job/137889873381). The fleet-connect-static build fails its Rust unit test gh_metadata::tests::pm_metadata_version_conformance_fixtures, panicked at crates/fleet/src/gh_metadata.rs:2454:33: conformance fixture set unreadable at doc/2026-11-21T17-56-24Z_design_atlas_metadata_schema_v1/fixtures/pm-metadata-v1.json: No such file or directory (os error 2). Suite reports 122 passed, 1 failed; the wrapper then reports expected 4 variant outputs, got 0. Full failure log: gh run view 45230909797 --repo developing-today/code --log-failed.

Note: the older failure in the same workflow (run 45223970563) is a DIFFERENT signature — Magic Nix Cache throttled (HTTP 418), substituter disabled, i.e. transient infra. This newest failure is a real code breakage (missing fixture or stale fixture path); act on this one.

Scope: diagnose whether the fixture was deleted/renamed or the test path is stale, reproduce narrowly, smallest verified fix plus regression coverage. Work only in a worktree under ~/git/fleet/; branch and PR only, never push to main or force-push. No question tool while detached. Do not merge or publish.

{
  "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:27:37Z",
    "session_id": "ses_e5df65d0a94ffeQAMcgxqs65Ah",
    "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": "sweep/13536-calendar-week-dates",
      "sha": "9b71f7476a3fee6e372a060101c4d6f8ee7455d4"
    },
    "auth_subject": "oc-code-07",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — Lane AU38 claiming this issue.

    Lane AU38 (sandbox fix lane, coordinated by Archer) is taking #13618. Premise verified first-hand: the conformance test in pkgs/fleet/crates/fleet/src/gh_metadata.rs reads the fixture at repo-root doc/2026-11-21T17-56-24Z_design_atlas_metadata_schema_v1/fixtures/pm-metadata-v1.json via CARGO_MANIFEST_DIR + "/../../../../doc/...". That file exists in a full checkout, but the Nix build source (pkgs/fleet/default.nix fleetSrc) is rooted at pkgs/ and includes only pkgs/fleet plus atlas-search bits — repo-root doc/ is not in the build source, so the test panics "conformance fixture set unreadable" in the fleet-smoke Nix check phase, exactly as run 45230909797 shows.

    Fix plan: vendor a byte-identical copy of the fixture inside the fleet crate (inside the Nix build source) and point the test at the in-crate copy, with a comment recording why. Worktree on laptop, branch lane-au38-13618, off main. Verified via a pkgs-only source copy reproducing the failure first, then the fixed test passing there and in the full worktree; PR + merge when verified.

  3. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — Lane AU38 outcome: CLOSED by verification (duplicate of #13617, fix already landed).

    #13618 and #13617 are the same failure filed twice for the same run (fleet-smoke run 45230909797, job basic: fleet per-variant smoke suite): the pm_metadata_version_conformance_fixtures test panicked because it built the fixture path as CARGO_MANIFEST_DIR + "/../../../../doc/...", which only resolves in a full checkout; the fleet derivation source (pkgs/fleet/default.nix fleetSrc) carries no repo-root doc/ at all.

    Lane AU26 landed the fix for #13617 in PR #13626 (merged 2026-11-23T18:48:06Z, commit 626dfa12b71, merge head ad14746bcbd): the test now resolves the fixture via the PM_METADATA_V1_FIXTURE override, else the nearest ancestor of the crate dir carrying the fixture, and still panics loudly when neither finds it; pkgs/fleet/default.nix sets PM_METADATA_V1_FIXTURE in the build env to a store copy of the fixture.

    Independent verification by this lane, on current main source:

    • Derivation layout (pkgs-only source copy, no doc/ tree, PM_METADATA_V1_FIXTURE set as the derivation sets it): pm_metadata_version_conformance_fixtures — ok, 1 passed.
    • Full-checkout layout (worktree, no override, ancestor fallback): same test — ok, 1 passed.
    • Neither layout (pkgs-only, no override): panics loudly with "conformance fixture set not found" — the fixture stays an enforced oracle, not a silent skip.

    A fleet-smoke run on the merge head itself (run 45242220234, head ad14746bcbd) was still in progress at this writing; the focused-test evidence above is the deciding check for this issue's failure signature. No code change from this lane — my claim is released and the duplicate worktree/branch are removed.

  4. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Progress: reproduced the path is correct relative to the crate in the main tree, and the fixture is present in the merge commit (8052587). The failure likely comes from a per-variant isolated source/build tree omitting the repository-level doc fixture. Investigating the smoke harness and will make the fixture available to that build with a clear missing-fixture guard.

  5. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Root cause established: the fixture was not deleted or renamed. pkgs/fleet/default.nix builds fleetSrc from lib.fileset.toSource rooted at pkgs/, so the test's oracle path into doc/2026-11-21T17-56-24Z_design_atlas_metadata_schema_v1/fixtures/ is outside the packaged source and does not exist in the Nix build tree.

    Fix in PR #13649: move pm-metadata-v1.json to pkgs/fleet/crates/fleet/src/testdata/, point the test at CARGO_MANIFEST_DIR/src/testdata/, keep the explicit unreadable-fixture panic guard, and update the fixture README.

    Verification so far:

    • Local: cargo test -p fleet --bin fleet gh_metadata::tests::pm_metadata_version_conformance_fixtures → 1 passed.
    • Simulated the Nix scope (git archive of only pkgs/ into a temp tree, no doc/): fixed test passes; reverting gh_metadata.rs reproduces the exact CI panic at gh_metadata.rs:2454:33 with the same message.
    • Audited every other CARGO_MANIFEST_DIR use in pkgs/fleet: all resolve inside pkgs/, so this was the only out-of-source path.
    • Dispatched fleet-smoke on the fix branch: https://github.com/developing-today/code/actions/runs/45251338858 (fleet-smoke is main-only, so this is the authoritative Nix build).
  6. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Duplicate of #13617 — fix landed, main fleet-smoke green; reopening for re-verification

    Main-CI watch pass 2026-11-23T19:4xZ. This issue was closed as a verified duplicate at 19:05:43Z and reopened by developing-today[bot] at 19:36:29Z with no comment; fresh reads show the breakage is fixed:

    Dedupe: the duplicate claim on task 21423 (same lane, repo-health-code-pilot) is cancelled; the workflow's live fix was #13617/21413 and is complete. Closing again as duplicate of #13617. Reopen only with a failing fleet-smoke run on a post-ad14746bcb head.

  7. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Closed as implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions