Repository navigation
fix(workboard): avoid empty session columns before results arrive - #199375
Conversation
Track accepted session results separately from retained board metadata, preserving known results during refresh and genuine error recovery. Co-authored-by: vyctorbrzezowski <[email protected]>
|
🦞👀 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: needs maintainer review before merge. What this changesThis PR hides session counts and empty-column messages until the selected people view has returned an accepted result. Example: Select Involving me on Team sessions, then the read fails with People view unavailable.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it fixes a current Workboard empty-state bug, and the navigation-test correction preserves the behavior assertions. No actionable findings; exact-head CI remains pending. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Workboard browser controller accepts caller-scoped session-board RPC results and projects their readiness, sessions, and errors into the Solid column view. flowchart TD
A[People filter selection] --> B[Sessions board controller]
B --> C[Gateway session board read]
C --> B
B --> D[Accepted result and readiness]
D --> E[Solid column view]
Technical reviewBest possible solution: Keep accepted-result readiness in the existing controller and consistently gate counts, accessible labels, empty messages, and loading feedback on it. Do we have a high-confidence way to reproduce the issue? Current-main source conflates absent or cleared session arrays with confirmed emptiness, and the inspected before screenshot demonstrates the failed people-filter case; this read-only review executed no target code. Is this the best way to solve the issue? The patch repairs the distinction at its existing owner without adding requests or parallel state ownership, and preserves accepted results through refresh failures. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 676ad663bbcb. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +15, Tests +201. Total +216 across 4 files. Added test files: 1. 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. Review metrics
LabelsLabel 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 HistoryReview history (1 earlier review cycle)
Reviewed November 15, 2026, 1:53 AM ET / 06:53 UTC (Revision 2). |
|
@clawsweeper re-review Published the three-line browser-test synchronization fix. Root reviewed the final patch; the focused cold-route reproduction and corrected recovery are documented in the body. Production and visual proof are unchanged. |
|
🦞👀 Re-review progress:
|
vyctorbrzezowski
left a comment
There was a problem hiding this comment.
Reviewed the full change, accepted-result ownership and visual evidence, and the exact three-line recovery-test correction. The existing result is retained during refresh; missing first results are not presented as empty columns. Focused recovery and published Workboard CI passed. The unrelated Goal/Appearance failures remain failures and are disclosed with source, worker-order and tested-merge evidence in the PR body; this approval does not call that CI green.
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
…enclaw#199375) Distinguish a pending Workboard sessions result from an accepted empty result, retaining known data during refresh. Keep the existing permission and recovery paths. Synchronize the browser recovery test with actual route retirement. Co-authored-by: vyctorbrzezowski <[email protected]> Co-authored-by: Vyctor H. Brzezowski <[email protected]>
What Problem This Solves
Fixes: Workboard’s Sessions boards show zero counts and “No sessions in this column” before the initial read or a changed people filter has returned, including failed reads.
User Impact
User impact: Unknown results stay neutral while column headings, filter choices and real errors remain visible. Confirmed empty results and existing sessions remain available during ordinary refreshes. Navigation recovery, permissions and write behavior are unchanged. No migration or configuration change is required.
Why This Change Was Made
Board metadata can remain available when the selected people view has no accepted session result. The existing controller now records that distinction, and the view uses it for counts, empty messages, accessible labels and its existing loading feedback. It does not add requests or use the optional revision token as a readiness test.
Evidence
Actual compiled Control UI with a supported synthetic Gateway, light theme, 1280×900 viewport. These matching upper-board crops show a failed people-filter read. Before is current main at 8fc58f8; after is this independent fix. Orange marks unsupported empty claims; green marks the retained real error.
Before
After
The PR is ready for maintainer integration. Live-provider operations are not claimed.
Requested and co-authored by @vyctorbrzezowski.
Work sessions
Linked for team reference; these sessions aren’t public.
Maintainer verification of CI recovery
The new browser test could click back before the intermediate route finished mounting. The router correctly retained the original surface while that module loaded, so the second click cancelled the departure and no recovery read occurred. A temporary held-module diagnostic reproduced the CI failure and confirmed the unchanged RPC count.
The final correction adds only three test lines: record the read count, wait for the outgoing surface to become hidden, and wait for the new read after returning. Final result assertions and all production code are unchanged. The focused browser case passed on the exact CI merge tree plus this correction in 16.25 seconds; temporary holds/logging were removed. Final lint, formatting and diff checks passed. This reuses the original visual proof; it is not a new live-provider run. Hosted CI completed; the unrelated failure exception is documented below.
Maintainer CI assessment
Reviewed head
e9f2e9e64cd69463ea910ea208402b4b800bf4c2. CI run 43687123011 is not green: checks-ui (2/3) failed in two Goal keyboard cases and one Appearance background case, so the aggregate gate failed. The Workboard browser lane, security checks and PostgreSQL checks passed.The failing entries never mount the changed Workboard owners. Worker/order logs show the failing modules finish before the Workboard cases start, and the new Workboard browser test is not part of that job. The failing source, setup and runtime inputs are unchanged between the actual tested merge and its base. The scheduled-main baseline passed; this is a scoped causal exclusion, not a claim that the same failures were reproduced on main or fixed here.
Integration uses the authorized unrelated-CI exception with these failures retained in the evidence. Production and final assertions are unchanged by the three-line navigation synchronization correction described above.