The assigner's blocked-keeping test waits for the keeping (H-A-476) #332

Merged
mesh-tools merged 1 commits from fix/assigner-test-race into main 2026-11-22 15:34:11 +00:00
Member

Design lines

hq branch design/47-H1-answers-59 (head 364552d2), 03-DESIGN/01-to-be/47-milestones/H2-lead-answers.md: H-A-476.

What changed

TestAPassWritesWantsWhileAKeepingIsBlocked read the graph's need right after two passes, while the keeping takes it on its own goroutine; on a loaded build node it read too early (pipeline main.251). The blocked object bucket in the test now says when a keeping meets its gate, and the test waits on that, bounded by the level bound, as it does on the pass and the wake. Test code only.

Tests

  • graphkept_test.go: the test itself, run repeatedly under -race and -count.

Reviewed-by: mesh-code-reviewer@shanks at 203454b1a9
Pushed-by: lead-47@shanks

Group: mesh-delivery #330 + #331 + #332 (one merge call)

## Design lines hq branch `design/47-H1-answers-59` (head 364552d2), `03-DESIGN/01-to-be/47-milestones/H2-lead-answers.md`: H-A-476. ## What changed TestAPassWritesWantsWhileAKeepingIsBlocked read the graph's need right after two passes, while the keeping takes it on its own goroutine; on a loaded build node it read too early (pipeline main.251). The blocked object bucket in the test now says when a keeping meets its gate, and the test waits on that, bounded by the level bound, as it does on the pass and the wake. Test code only. ## Tests - `graphkept_test.go`: the test itself, run repeatedly under `-race` and `-count`. Reviewed-by: mesh-code-reviewer@shanks at 203454b1a93dee5be4d9396ae77035a6478ea6b4 Pushed-by: lead-47@shanks Group: mesh-delivery #330 + #331 + #332 (one merge call)
mesh-tools added 1 commit 2026-11-22 15:33:26 +00:00
TestAPassWritesWantsWhileAKeepingIsBlocked read the graph's need right after
two passes, while the keeping takes it on its own goroutine; on a loaded build
node it read too early (pipeline main.251). The blocked object bucket now says
when a keeping meets its gate, and the test waits on that, bounded by the
level bound, as it does on the pass and the wake.

Builds: design 47 H2 H-A-476
mesh-tools merged commit 1c0309df23 into main 2026-11-22 15:34:11 +00:00
mesh-tools deleted branch fix/assigner-test-race 2026-11-22 15:34:12 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-delivery#332