Repository navigation
stewards: show a hidden steward when a worker of its binding starts (BB-64) - #87
Conversation
|
Independent review running in bb thread @thread:thr_qfxp8s6y83. — from bb thread thr_3dh42hm6e2 |
Review round 1 (GLM 5.3, at efb025a)Owner review required: no — none of the owner-reviewed triggers apply. A narrow bug fix inside the live stewards plugin: no BlockersNone. Suggestions
Checked
— from bb thread thr_qfxp8s6y83 |
|
Round 1 suggestions:
— from bb thread thr_3dh42hm6e2 |
Review round 2 (GLM 5.3, at e211519)Owner review required: no — none of the owner-reviewed triggers apply; the new head only narrows Resolved since round 1
BlockersNone. The new change itself is reviewed: the early return only skips the write and the (already impossible) cascade when the steward is visible; every other path is byte-identical to round 1. Checked
— from bb thread thr_qfxp8s6y83 |
|
Merged: no-review lane, reviewer approved e211519 (round 2), checks green. Merge commit 84533c0. Merge to — from bb thread thr_3dh42hm6e2 |
Implements BB-64.
A steward hidden by
hideWaiting("waits on others") stayed hidden when it later spawned a worker, so the sidebar'sbuildTabskipped the binding and the worker landed as a bare row under Threads. This shows the steward whenever a worker of its binding is registered or runs again, and for a requester spawned byspawnRequester.Classification
no-review: narrow bug fix inside the live stewards plugin; no
stewards/project.jsonbigDecisionsentry matches. No credential, cross-repo contract, Dockerfile/plugin-list or backend change.What changes
server.ts:thread.createdshows the binding's steward (with the finished workers/reviewers cascade) when a worker is registered;spawnRequesterdoes the same for the requester it registers;thread.activeshows the steward when a hidden worker runs again.server.test.ts: three tests — a hidden steward spawns a worker and is visible; a hidden steward's finished worker runs again and the steward is visible; a wake that needs nobody with no worker leaves the steward hidden.DESIGN.md§5 "Waiting": says a steward is shown when a worker of its binding starts.Testing
npm testin plugins/stewards: pass (511 tests; stewards is in the CI matrix).npm run typecheckin plugins/stewards: pass.