Repository navigation
Production-path stage executor fixture (#7499 blocker 3) - #7503
Conversation
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Addressed both findings from review 45598 on 1. Hand-Rust / scaffold gate ( 2. Medium-as-string shell programs (fixture claims) — Fixed. All five cited files now use typed service operations only:
Verified locally on this commit: Merge order: This branch contains the #7499 merge ( — sent from silent-tern-582 |
|
Addressed review 45620 on Finding 1 (walk_plan_note overstates admission) — Fixed. Lines 210/214 were stale after the review 2026-07-31 correction already landed in Finding 2 (deferral lacks concrete receipt) — Fixed. — sent from silent-tern-582 |
e632be5 to
fdd002c
Compare
|
Addressed review 45688 on Finding 1 (missing Finding 2 (obsolete receipt paths) — Fixed. Single path authority in Also per operator third-pass: removed the copied — sent from silent-tern-582 |
f8ea78b to
232ec20
Compare
|
Addressed review 45755 on Finding 1 (hand-Rust scaffold gate) — Fixed. Added Finding 2 (forked attempt/receipt identity) — Fixed. — sent from silent-tern-582 |
b2816e5 to
df2b6b5
Compare
|
Addressed review 45760 on current head: Finding 1 (pre-cleanup before authority materialized) — Fixed. Finding 2 (forked harness authority path literal) — Fixed. Removed the hard-coded — sent from silent-tern-582 |
|
Addressed review 45776: Finding (strict parser on every — sent from silent-tern-582 |
review 45784 — addressed in
|
review 45823 — addressedVerified: The prior Fix: Replaced the poll/handshake with — sent from silent-tern-582 |
Fixture-only delta rebased on main after #7518: walk_plan_stage controls, discovery exclusion, attempt-scoped receipt path authority, and #[ignore] integration harness with separate stdout/stderr oracles. Co-authored-by: Cursor <cursoragent@cursor.com>
Parallel cargo test threads interleaved cleanup with overlap markers, making the overlap+barrier control flaky. Hold a process-wide lock for each claim_executor walk. Co-authored-by: Cursor <cursoragent@cursor.com>
The approved panic_member specimen fails at interpreter call-depth limit, not infra=thread_panic. Harness still requires stage-2 fail-fast. Co-authored-by: Cursor <cursoragent@cursor.com>
Add gunbc.walk_plan_stage_fixture_scaffold with enrolled witness; Rust harness materializes attempt/receipt/path identity from common.dag via walk_plan_stage_materialize_harness_authority_holds instead of forking literals. Stage-2 marker path centralized in common.dag. Co-authored-by: Cursor <cursoragent@cursor.com>
Materialize harness authority before pre-cleanup via ensure_harness_authority; discover the authority file by self-locating payload (harness_authority_path line) instead of forking common.dag's path literal in Rust. Co-authored-by: Cursor <cursoragent@cursor.com>
Escape literal braces in \{plan,common\} so the dissolve-trigger string
does not trigger dag string interpolation.
Co-authored-by: Cursor <cursoragent@cursor.com>
Skip unrelated target/ files unless they carry the harness_authority_path= marker, so populated target/ directories do not panic during bootstrap. Co-authored-by: Cursor <cursoragent@cursor.com>
walk_plan_stage_overlap_barrier_recipe lives in plan.dag, not common.dag; the receipt witness must resolve against the defining module. Co-authored-by: Cursor <cursoragent@cursor.com>
FixtureSession holds HarnessAuthority directly; the thread_local cache left over from ensure_harness_authority was write-only dead code. Co-authored-by: Cursor <cursoragent@cursor.com>
3b47384 to
1a1529d
Compare
Release integration tests build only the test binary; fall back to target/release when CARGO_BIN_EXE and PROFILE are unset. Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
Production-path stage-executor fixture for #7499
run_stage— four discriminating controls driven through realWalkPlanrecipes insrc/v2/test/fixture/walk_plan_stage/plan.dag(overlap+barrier, failure, panic, receipt-write refusal). Fixtures use typed Wet service ops only; discovery excludestest/fixture/walk_plan_stage/at dir grain (mirrorsfloor_skip). Integration harness inwalk_plan_stage_fixture.rsis#[ignore]by default (~7m cold walks each).Fixture-only delta on current
main(after merged #7518, #7505). No executor/substrate edits — §7run_stagedeferral stays on main via #7518.Merge order (operator sequence)
Close the four review blockers on the merged run_stage extraction #7518— merged: receipt identity +walk_plan_noterepair + §7 deferralOn-success materialization receipt (#7499 blocker 6) #7505 (B)— merged: v2 schedule lensA proves the seed executor realizes stage boundaries; B's v2 schedule lens proves authored plan structure — complementary, not substitutable.
Fixture contract
GUNBC_WALK_ATTEMPT_ID=walk-plan-stage-fixture(required for staged walks; executor refuses unidentified walks)common.dag:target/floor-attempt-walk-plan-stage-fixture/on-success-stage-N-receipt.tsvclaim\t{entry}\t{function}\t{outcome}\t{wall_ms}plusplan_siteheader (Close the four review blockers on the merged run_stage extraction #7518 shape)Mkdir.Parentson the stage-1 receipt path (directory blocks write)walk_plan_note; spawn/join latch isstage_members_actually_overlap)Test plan
cargo test -p v1-compiler --bin claim_executor stage_members_actually_overlap join_waits_for_every_member_before_returning join_reports_a_panicking_member_without_losing_the_otherscargo build -p v1-compiler --release --bin claim_executor --bin claim_batch && cargo test -p v1-compiler --test walk_plan_stage_fixture --release -- --ignored --test-threads=1ed63b287d)Execution receipts
Head:
ed63b287d7fe71a7f923c919caba16edc1e709e9· remote ctrl-build runner · 2026-08-01Unit latch controls (
claim_executorspawn/join primitives)Production-path controls (
#[ignore]integration harness → realclaim_executor/claim_batch)Per-test assertions (all green on this head):
walk_plan_stage_overlap_barrier_planwalk_plan_stage_failure_barrier_planremaining stage(s) NOT run; stage-2 marker absent; exit ≠ 0walk_plan_stage_panic_barrier_plancall depth exceeded/unbounded recursion; stderrremaining stage(s) NOT run; stage-2 marker absent; exit ≠ 0walk_plan_stage_receipt_refusal_barrier_planreceipt write failed+remaining stage(s) NOT run; stage-2 marker absent; exit ≠ 0