Repository navigation
refactor(workboard): group session tiles without rescanning each column - #207380
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: passed. What this changesThis PR groups filtered session tiles once by column instead of scanning every session separately for each column. Example: A Sessions board displays 100 sessions across six configured columns.
Review scores
ProductKind: Performance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this maintainer-authored draft open: it removes repeated grouping work through the existing renderer, and no actionable correctness or security defect was found. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Workboard browser renderer receives controller snapshots and host filters, derives session tiles, and renders configured columns with navigation and drag actions. flowchart LR
A[Gateway board snapshot] --> B[Sessions controller]
B --> C[Filtered tile projection]
C --> D[Group by column]
D --> E[Configured column rendering]
E --> F[Session tiles and actions]
Technical reviewBest possible solution: Keep the grouping inside the existing projection and retain configured-column rendering and ordering coverage. Do we have a high-confidence way to reproduce the issue? Current-main source establishes one full session scan per configured column; no target code or tests were executed during this read-only review. Is this the best way to solve the issue? The minimal replacement removes repeated work at its existing owner without adding retained state, changing classification, or altering public contracts. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 0d24c65470f0. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +2, Tests +17. Total +19 across 2 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 28, 2026, 3:52 AM ET / 08:52 UTC. |
* fix(ui): remove Open PR from the session menu Co-authored-by: vyctorbrzezowski <[email protected]> * fix(ui): remove Open PR from the session menu Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 19ab49eb-2fdb-4e2a-ba0e-3fcf8de38db9 * fix(ui): preserve shared session menu copy --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
* fix: remove dismissed chat suggestions without waiting Co-authored-by: vyctorbrzezowski <[email protected]> * fix: remove dismissed chat suggestions without waiting Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: a7065126-58f4-41f4-ab35-887c77e05eac * refactor: keep suggestion dismissal focus with the pane keyboard helpers Co-authored-by: vyctorbrzezowski <[email protected]> * fix: remove dismissed chat suggestions without waiting Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 362ae3c3-16c8-4016-8f59-dc477414e07a --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
…207809) * fix(ui): show a subtle placeholder while a new chat gets its title Co-authored-by: vyctorbrzezowski <[email protected]> * fix(ui): show a subtle placeholder while a new chat gets its title Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 5a8d6d8e-7c91-4b07-9467-ff499cf2786a --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
* fix: keep skill highlights in sent chat messages Co-authored-by: vyctorbrzezowski <[email protected]> * fix: keep skill highlights in sent chat messages Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 303c108c-485c-4ee9-bcdc-b6845d507543 --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
) * improve: keep Workboard editing and Save within reach on phones Co-authored-by: vyctorbrzezowski <[email protected]> * improve: keep Workboard editing and Save within reach on phones Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 41fdebe7-35c4-435a-8128-eb9f12e2fabf --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
* fix(ui): highlight skills and mentions in queued messages Co-authored-by: vyctorbrzezowski <[email protected]> * fix(ui): highlight skills and mentions in queued messages Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: d26fee27-de6c-4b5f-8264-da07de4df6f9 --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
…07748) * fix(ui): even the gap below a lone tool row in chat * fix(ui): center a lone tool row on the agent avatar
Move project selection and its New worktree switch into the visible project field. Keep agent selection and Remember settings in their original menu. Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
* fix: stop warning about unsaved drafts when opening a chat Keep failed background recovery reads distinct from failed edits in the composer and Side chat. Keep one access notice when browser storage is unavailable without consuming the warning for a later failed save. Co-authored-by: vyctorbrzezowski <[email protected]> * fix: stop warning about unsaved drafts when opening a chat Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 227e24ff-2a24-4a82-a325-e7787c443eed --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
* fix(ui): keep the flat session list collapsed Co-authored-by: vyctorbrzezowski <[email protected]> * fix(ui): keep the sidebar session list collapsed Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: d5d9e6c3-ba53-4dec-9efe-a5a9c5c29445 * fix(ui): page the sidebar only when it scrolls to the end Co-authored-by: vyctorbrzezowski <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
* fix: stop treating limited access as an inbox alert Co-authored-by: vyctorbrzezowski <[email protected]> * fix: stop treating limited access as an Inbox alert Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: a014cab4-b01d-458b-aa67-ec83ad3a2a99 --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
* fix: child session activity ring freezes during startup Project accepted preparation as running without starting the execution clock. Reserve queued presentation for actual mailbox/global-lane waits and preserve recorded capacity waits. Co-authored-by: vyctorbrzezowski <[email protected]> * fix: child session activity ring freezes during startup Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 2bf26c5b-2410-44b2-9915-d2289a90f388 * fix: align Gateway consumers with active session startup Expect active accepted chat preparation, record a real lane wait in metrics, and distinguish preparation from actual queued input in describe/list coverage. Co-authored-by: vyctorbrzezowski <[email protected]> * Publish openclaw/plaid-crayfish Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 29690b6c-a214-45c1-9591-fd19b1d51336 * test(gateway): cover child startup in the current session checks --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
What Problem This Solves
When a Sessions board refreshes, each column scans every visible session to find its tiles. A full page on the default six-column board repeats the same 100-session scan six times, even though the Gateway has already assigned each session a column.
Related: #205114 (agent filtering on paginated Sessions boards).
User Impact
No visible change. Columns stay in their configured order, tiles keep their order within each column, and empty columns remain visible. Filtering, opening a session, and moving a tile work as before.
Why This Change Was Made
The view groups the already-filtered tiles once by their assigned column ID with
Map.groupBy. It still renders the configured columns, not the groups, so a column without tiles does not disappear. The grouping lasts only for the current projection; it adds no persistent cache or Gateway work. Production: +3/−1 lines; tests: +17.Evidence
d79f9830c07cand head777651409500with a fixture Gateway. Interleaved Done, Working, Done sessions rendered as Working then Done, with both Done sessions in input order. The suite also exercised a people-filter change, empty columns, tile navigation, and moving a session.git diff --checkpassed.d79f9830c07c..777651409500. It reviewed the committed diff and supplied renderer, page-test and board-contract sources; it did not execute the code. Local ClawSweeper was unavailable.🦞 Made with OpenClaw