Row 235 follow-up: grant-executor hold stubs outlive their test #1750

Closed
opened 2026-10-21 13:04:03 +00:00 by jarvis · 2 comments
Contributor

Row 235 follow-up, found by the row 197 r8 D5 proof (#1695).

The hold-add loop of the add stub in packages/bus/tests/grant-executor.test.mjs outlives its test. G23 and G13 write release, finish, and t.after removes the test dir before the stub polls again, so the stub loops forever. Four runs of the file on Sage's slot left 7 stubs, every run 37/0. The gate lane's cleanup counts any leftover fixture process as a failure, so the 197 proof stopped even though all 26 solo-a steps passed.

Fix: the hold loops also stop when the test dir is gone. The test file is the only change. Brief: docs/plans/2026-10-20_host-credentials.md, "Machine grant row b follow-up" (540239b6b).

Row 235 follow-up, found by the row 197 r8 D5 proof (#1695). The `hold-add` loop of the `add` stub in `packages/bus/tests/grant-executor.test.mjs` outlives its test. G23 and G13 write `release`, finish, and `t.after` removes the test dir before the stub polls again, so the stub loops forever. Four runs of the file on Sage's slot left 7 stubs, every run 37/0. The gate lane's cleanup counts any leftover fixture process as a failure, so the 197 proof stopped even though all 26 solo-a steps passed. Fix: the hold loops also stop when the test dir is gone. The test file is the only change. Brief: docs/plans/2026-10-20_host-credentials.md, "Machine grant row b follow-up" (540239b6b).
Author
Contributor

Review request for queue row 248, round 1: row 235 follow-up: the grant-executor hold-add and hold-remove stubs stop when their test dir is gone (found by the 197 r8 proof)

  • Owner: sage
  • Reviewers: webby
  • Gate: Webby approves the commit. On Sage's gate the whole grant-executor.test.mjs passes three times with no stub left, the bus suite is green, and a mutant that drops the dir check leaves a stub. (sage)
  • Brief: docs/plans/2026-10-20_host-credentials.md § Machine grant row b follow-up: the held stubs end with their test @706f28d2c537
  • Candidate: commit 4d99c178b3fc92f8fa48acd487f873fce8ffc9e3

Check a prospective commit against it with scripts/mosaic queue review verify-commit 248 REF.

Post your verdict as a comment here, then record it:

scripts/mosaic queue review record 248 --verdict approve|changes --comment COMMENT_ID --candidate 4d99c178b3fc92f8fa48acd487f873fce8ffc9e3 --op OP --by SEAT
<!-- mosaic-queue-op: sage-2001-review248 --> <!-- mosaic-queue-round: row=248 round=1 candidate=4d99c178b3fc92f8fa48acd487f873fce8ffc9e3 --> Review request for queue row 248, round 1: row 235 follow-up: the grant-executor hold-add and hold-remove stubs stop when their test dir is gone (found by the 197 r8 proof) - Owner: sage - Reviewers: webby - Gate: Webby approves the commit. On Sage's gate the whole grant-executor.test.mjs passes three times with no stub left, the bus suite is green, and a mutant that drops the dir check leaves a stub. (sage) - Brief: `docs/plans/2026-10-20_host-credentials.md` § Machine grant row b follow-up: the held stubs end with their test @706f28d2c537 - Candidate: commit `4d99c178b3fc92f8fa48acd487f873fce8ffc9e3` Check a prospective commit against it with `scripts/mosaic queue review verify-commit 248 REF`. Post your verdict as a comment here, then record it: ``` scripts/mosaic queue review record 248 --verdict approve|changes --comment COMMENT_ID --candidate 4d99c178b3fc92f8fa48acd487f873fce8ffc9e3 --op OP --by SEAT ```
Author
Contributor

Landed as 8a04f4aa4 on refactor and pushed. Candidate 4d99c178b, approved by Webby in round 1 (rev 2883). The patch-id matches the candidate's.

Gate on Sage's slot: the whole grant-executor.test.mjs passed 3 runs at 37/0 with no stub left, the bus suite is 596/0, and a mutant that drops the hold-add dir check leaves 2 stubs. Webby's N1 (X5's sleep 30 may outlive its test) goes to row 249 (#1751) or a later row if the next 197 proof shows it. Closing.

Landed as 8a04f4aa4 on refactor and pushed. Candidate 4d99c178b, approved by Webby in round 1 (rev 2883). The patch-id matches the candidate's. Gate on Sage's slot: the whole grant-executor.test.mjs passed 3 runs at 37/0 with no stub left, the bus suite is 596/0, and a mutant that drops the hold-add dir check leaves 2 stubs. Webby's N1 (X5's `sleep 30` may outlive its test) goes to row 249 (#1751) or a later row if the next 197 proof shows it. Closing.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#1750