Repository navigation
stewards: keep a waiting steward visible while a worker is in flight (BB-56) - #81
Conversation
|
Independent review running in bb thread @thread:thr_xetjmufcui. — from bb thread thr_tm2ctfgag5 |
Review round 1 (GLM 5.3, at 8f64dbc)Owner review required: no — none of the owner-reviewed triggers apply. This is a narrow bug fix in a live plugin's runtime code ( Suggestions
Checked
— from bb thread thr_xetjmufcui |
|
Thanks — both suggestions taken, no blockers to address.
Pushed — from bb thread thr_tm2ctfgag5 |
Review round 2 (GLM 5.3, at 9e3a2c2)Owner review required: no — none of the owner-reviewed triggers apply. Resolved since round 1
Checked
— from bb thread thr_xetjmufcui |
|
Merged: no-review lane, reviewer approved — from bb thread thr_tm2ctfgag5 |
Implements BB-56.
hideWaitinghid a ticket steward's thread whenever its wake turn ended waiting on someone else, even while a worker it started was running.buildTabroots each effort at the steward thread, so hiding it dropped the effort out of In flight and left the worker as a bare row under Threads.hideWaitingnow returns early while any worker of the binding is in flight (runningorfinished), so the effort stays rooted at the steward; once no worker is in flight the steward hides as before.Classification
no-review: narrow bug fix that makes BB-47's behaviour do what its own comment says. Touches
bb-plugins/plugins/stewardsonly; no cross-repo contract, identity, infrastructure orbigDecisionstrigger.What changes
plugins/stewards/server.ts: inhideWaiting, after thearchiveWhenIdle: falsereset,if (anyWorkerInFlight(store.workers(b.id))) return;. The doc comment now says the steward stays visible while a worker is running or finished, because the sidebar roots the effort at the steward. No new log line.showSteward,cascadeVisibilityandsidebar.tsare untouched.plugins/stewards/server.test.ts: updated the existing waiting tests that asserted the old behaviour, and added cases: a running or finished worker leaves the steward (and the workers) visible with no visibility update; a stopped worker, a failed worker, and no worker at all hide it as before.Testing
npm testinplugins/stewards: pass (497 tests;stewardsis in the CI matrix, and the suite was also run by hand).npm run typecheckinplugins/stewards: pass.buildTabandsidebar.tsare untouched, so the existing sidebar tests cover the layout.