Skip to content

native-proof: case 17's crash-adoption status read refuses a changing pool under load #4047

Open

Description

@schlessera

Context

Native case 17 of the reference pool proof restarts the manager after a simulated interrupted grant, then expects the next poolStatus to be qualified (REFERENCE_ACCESS_CRASH_RECONCILED, scripts/native-proof/reference-pool.native.ts:590). Under parallel host load, that read was refused because the pool was still changing:

error: REFERENCE_ACCESS_CRASH_RECONCILED
Received: { code: "changing", message: "Reference pool allocation changed between consistent reads; retry once writers settle." }

This happened in 1 of 6 loaded clean runs in draft heavy feedback run 43756278174, job 132945961843 (PR #4040 head f77a2dde7e9df4777ae317cd573813884a50cd88). Load came from a temporary #2819 receipt driver: two niced CPU spinners and a continuous 256 MiB dd ... conv=fsync writer. Earlier releases in the same proof can still be reclaimed in the background, which is the same cause as #2819 and the case-18 instance #3236. The changing refusal is transient and correct, and nothing in the pool was wrong.

Scope

Make this one status read in case 17 tolerate only the exact transient changing refusal, within a fixed finite bound, in the same bounded way #3236 settled for case 18. Every other refusal still fails at once.

Out of scope

Pool accounting, the changing refusal itself, and every other assertion and case.

Acceptance criteria

  1. Under the same parallel load, ten consecutive native runs pass REFERENCE_ACCESS_CRASH_RECONCILED.
  2. An injected non-changing refusal at that read still fails REFERENCE_ACCESS_CRASH_RECONCILED immediately (mutation receipt).

Verification

bun scripts/prove-reference-pool.ts repeated under load on hosted heavy feedback, plus the mutation receipt.

Contract impact

None.

2026-11-16 triage at main 3b104890f8: Verified the named crash-reconciliation assertion and moved its pointer to :590. The observed exact changing refusal and scoped #3236 precedent settle what may be awaited; choose and record one finite bound without changing production accounting or hiding any other refusal. Keep the loaded ten-run proof and immediate non-changing-refusal mutation. Wanted unscheduled proof repair is p2, with no release commitment. Leave standalone: #736 is at 100 direct children, and the browser/assertion-quality epics do not own this native status-settling outcome.

Activity

  1. added
    type: testCoverage, harness or proof work with no behaviour change.
    area: ui-sdkWire protocol, runtime schemas, the server and client SDK surfaces.
    area: ciCI workflows, the gates they run, release scripts, packaging.
    priority: p2Wanted, not scheduled. Pulled in when a milestone has room.
    agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.
    on Nov 15, 2026
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

    agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.area: ciCI workflows, the gates they run, release scripts, packaging.area: ui-sdkWire protocol, runtime schemas, the server and client SDK surfaces.priority: p2Wanted, not scheduled. Pulled in when a milestone has room.type: testCoverage, harness or proof work with no behaviour change.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions