Repository navigation
test(sidebar): keep the copied pane status in sidebar-filter's re-sent roster - #3759
Conversation
…er sends again after an edit
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
Merge passMerged head
One reviewer: test-only PR (scripts/sidebar-filter-demo-regression.ts). Test-only PR ( Follow-up to #3757 from that PR's review: the script's wrapper now also writes the copied pane status into the fixture's saved roster, so a roster the fixture sends again after an edit keeps both rows done. The author ran it twice in full. |
Summary
Follows up #3757, from the merge pass's Codex review (LOW).
Cause
In
scripts/sidebar-filter-demo-regression.ts, theEventSourcewrapper copies the demo'spane-statusto the Build PC's row. It does not write that status intolast, the roster the fixture saved from the demo.broadcast()rebuilds both PCs fromlastwhenever a step edits the roster:relabelWorkspace,relabelPane,removePaneordisconnect. After the demo's 4.5 s turn end, a rebuild could therefore put both api rows back toworking. The Laptop's row had the same gap before #3757.Fix (test only, no sleeps)
When the demo sends the Laptop a
pane-status, the wrapper now also writes itsagent_statusandfinish_idinto the saved Laptop snapshot, on both the pane and its agent entry. A roster rebuilt after an edit then keeps the status both rows already show.Validation
TMPDIR=~/.cache/ovis-tmp/ci-loop bun scripts/sidebar-filter-demo-regression.ts(en and ko, every scene): 2/2 passes (447 s at load 54, 414 s at load 75).bun run check fast: pass (typecheck, build, unit tests, actionlint).No changelog fragment: this changes a test only.