Repository navigation
fix(workboard): preserve peer column edits on a Sessions board rename - #206292
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 compares normalized Sessions board columns so ineffective edits do not overwrite a peer’s saved changes. Example: An editor renames Desk to Desk review and changes label A to
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR repairs a concrete peer-edit overwrite with a focused change; source review found no introduced correctness or security defects. Reviewed head: Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe Workboard board editor turns local drafts into Gateway metadata and column updates, which the plugin persists in SQLite. flowchart LR
A[Board editor draft] --> B[Normalize columns]
B --> C[Compare opening values]
C --> D[Board metadata update]
C --> E[Changed columns update]
D --> F[Workboard SQLite store]
E --> F
Technical reviewBest possible solution: Keep the normalized comparison in the existing editor owner and retain the current metadata and column persistence contracts. Do we have a high-confidence way to reproduce the issue? Main’s raw dirty comparison and whole-column replacement establish the reported overwrite path; the author also reports failing mounted-editor regressions on the parent, but this review ran no target code. Is this the best way to solve the issue? The patch fixes the producer’s effective-change decision with the existing normalizer, preserves validation and genuine edits, and adds no competing state or persistence owner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 103f40f50782. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +10, Tests +63. Total +73 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:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 26, 2026, 9:17 PM ET / November 27, 2026, 02:17 UTC (Revision 2). |
|
Redacted replay diagnostics for the reviewed head
The genuine-edit control ran on the same repair before the formatter wrapped one expression. Choosing Working and clicking Save sent one column update (23). The committed fallback changed once, |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Merged via squash.
|
…#206292) (cherry picked from commit 953ff51) Companion audit: 43f1dd8, 861f75f, 935d623, eb378fa and f03c68a touch later UX/board API paths, not the stable normalized rename invariant. Release adaptation: Keep the stable Workboard board modal and carry only the new peer-change regressions into a focused browser-owner spec; do not assume the prior main-only spec split. Co-authored-by: RomneyDa <[email protected]>
What problem does this solve?
Two people can edit a Sessions board at the same time. If one person renames the board and types
Ainto a column already labeledA, the normalized label is unchanged. Saving used to submit the entire list of columns from the open editor. That could undo a peer’s saved change to a different column. Choosing a different fallback column and then switching back could trigger the same overwrite.What changed?
The editor compares the normalized opening and outgoing columns before saving board metadata. For this comparison, an omitted fallback flag and an explicit
falsemean the same thing. A genuine column edit still sends the validated column values. This extends @steipete’s earlier rename fix to edits that normalize back to the opening values. Original rename fix · Solid UI portEvidence
BtoCbefore the appearance save. After the save, SQLite and a fresh editor both showedB. Independent replays with a leading space and a trailing space reproduced the same loss.Binstead ofC; three controls passed. All five passed with the repair.Desk→Desk reviewcase was replayed against the registered Workboard handlers. After the peer committedC, Save emitted one metadata update and zero column writes. Independent SQLite and a fresh editor both retainedC.The editor proofs used mounted jsdom components, registered handlers and SQLite. The build verified the packaged browser assets. An interactive capture from an installed dashboard remains unmeasured. Redacted replay records