Skip to content

id: 4 hosted_export tests fail on main (BlobCitationMismatch/MissingBlob) #13444

Closed

Description

@dezren39

On clean origin/main (d24c19c6e06), cd pkgs/id && cargo test --all-features --lib fails 4 tests, all in hosted_export::tests:

  • delayed_rebind_history_round_trip — BlobCitationMismatch at src/hosted_export.rs:1260
  • export_is_canonical_and_survives_the_wire — BlobCitationMismatch at src/hosted_export.rs:1508
  • fast_path_history_verifies_without_backing_records — MissingBlob at src/hosted_export.rs:1287
  • missing_blob_is_refused — got Err(BlobCitationMismatch), expected Err(MissingBlob) at src/hosted_export.rs:1477

564 passed; 4 failed. Verified on a pristine origin/main worktree with no task changes applied, so this is pre-existing main breakage, not caused by any lane branch. Suspect: e7888eb8616 fix(id): bind export blob refs to envelope content citations in verify_import changed verify_import binding without updating these expectations.

Found while verifying lane-any-n task 21345 (slice 1 of #7585); that slice's scope (boards subscription store) is fully green and unaffected (hosted_export does not reference it).

{
  "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-23T16:14:37Z",
    "session_id": "ses_e5df7a62a76ffekGge7Ep5edaZ",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/fleet/any-n-21345-7585-slice1",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/fleet/any-n-21345-7585-slice1",
      "repo": "developing-today/code",
      "branch": "lane-any-n/7585-slice1-subscription",
      "sha": "7b071affc569ea838fb374994c7c74f4afb13323"
    },
    "auth_subject": "oc-code-04",
    "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

    Lane AAK claim: taking #13444 — id: 4 hosted_export tests fail on main (BlobCitationMismatch/MissingBlob).

    Premise + ownership check (2026-11-23): issue open, label bug, only comment is the automated Kaneo link (developing-today[bot] 2026-11-23T16:14:45Z); no lane claim, no user/* label, no open PR covers hosted_export test failures. Fleet queue intake is dry (fleet agent next: no task claimable), so this is a direct pick.

    Plan: reproduce the 4 failures on a laptop worktree off main (lane-aak-13444), determine whether commit e7888eb's verify_import binding change makes the production code or the test expectations wrong, fix the wrong side without weakening verification, verify cargo test --all-features --lib in pkgs/id is green for the hosted_export module (and no regressions in the lib suite), land via PR and merge when verified.

  3. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Lane AAK hold: execution-risk flag on #13444 — stopped, approval needed.

    While creating the laptop worktree for this lane (~/wt-lane-aak-13444, branch lane-aak-13444, off main at b764114e7f6), the platform execution-risk check fired on the command output. Per the standing lane guard I stopped immediately:

    • Nothing was run, built, tested, or edited inside that checkout — the worktree is left exactly as created.
    • The premise stands as filed (4 hosted_export tests failing on main; the issue's own report includes a pristine-worktree reproduction), and my claim is recorded above (comment 7108378512). The fix itself was not started.

    This item needs the user's own item-specific go-ahead before any lane operates in that checkout.

  4. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Lane OB5 claim: taking #13444 — id: 4 hosted_export tests fail on main (BlobCitationMismatch/MissingBlob).

    Approval: Drew approved this item explicitly at 2026-11-23 11:27 CST (reply to the hourly flag-hold offer listing #13444), after Lane AAK's earlier attempt was stopped by a platform execution-risk flag (hold comment 7108391036). This lane operates under that item-specific approval.

    Ownership check (2026-11-23): issue open, label bug, 3 comments count-confirmed (Kaneo link, Lane AAK claim c.7108378512, Lane AAK hold c.7108391036); no other live lane claim; Lane AAK's worktree ~/wt-lane-aak-13444 is left untouched per instructions.

    Plan: fresh laptop worktree ~/wt-lane-ob5-13444 (branch lane-ob5-13444) off current main; reproduce the 4 failures, diagnose whether commit e7888eb's verify_import binding change regressed production or the test expectations, fix the wrong side without weakening verification, verify cargo test --all-features --lib in pkgs/id (nix develop) is green, land via PR and merge when verified.

  5. added a commit that references this issue on Nov 23, 2026
  6. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Lane OB5 outcome: #13444 FIXED and closed via PR #13528 (merge c664a2f40eabb47cc83d1bf5453ab7eaeb236212).

    Root cause — both sides had one defect each, both from e7888eb (#13289):

    1. Production (error precedence): verify_import compared declared blob_refs against citation-resolved refs before checking carriage, so an object whose references name a blob the export does not carry at all was refused as BlobCitationMismatch instead of MissingBlob — missing_blob_is_refused's exact shape. Fix: a declared reference naming no carried blob is now the plain MissingBlob refusal, checked before citation binding. No verification weakened: the id: verify export blob refs against each envelope's actual content citations #13289 regression tests (decoy_blob_is_refused, cited_blob_missing_is_refused, extra_blob_reference_is_refused) keep their verdicts.

    2. Test fixtures (honest exports): three tests built exports no honest producer emits under the binding semantics — document.put envelopes citing content the carried blobs did not contain (delayed_rebind_history_round_trip, export_is_canonical_and_survives_the_wire), or citing content the export did not carry at all (fast_path_history_verifies_without_backing_records, whose subject is step-2 history). The fixtures now carry exactly the cited content, or cite nothing (message envelope). No assertion weakened; counts and expectations unchanged.

    Verification (laptop worktree ~/wt-lane-ob5-13444, nix develop in pkgs/id): reproduced the 4 failures on pristine main first (module: 25 passed / 4 failed, error sites identical to the issue: 1260/1287/1477/1508). After the fix, cargo test --all-features --lib is fully green — 253 + 756 + 561 passed, 0 failed — including all four named tests. rustfmt drift on the file is unchanged from main (8 pre-existing lines, none in the changed hunks).

    This lane operated under Drew's item-specific approval of 2026-11-23 11:27 CST; Lane AAK's flagged worktree was left untouched.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions