Repository navigation
Wait for the second persisted write in the Kanban drag-move browser test (closes #3080) - #3086
Conversation
…est (closes #3080) The second move's updateTaskNode call is dispatched after the card re-renders in its new column, so asserting versionsSent right after the UI waitFor saw only the first write. Wait for both writes instead. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Pragmatic Code Review: PR #3086Review Type: Initial review (no earlier reviews or comments) Requirements Check (#3080)
Is
|
malibio
left a comment
There was a problem hiding this comment.
Automated pragmatic-code-review: APPROVE (posted as a comment — GitHub blocks self-approval). Full findings in the review comment above.
- The select-driven consecutive-move test goes through the same optimistic updateTypedNode path, so its versionsSent assertion now waits as well. - Comments name the mechanism: the store applies the move before sending. Skipped: making the mock reject on a version mismatch so the conflictNotifications assertion has teeth - a pre-existing coverage gap, out of scope for a timing fix. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Address-review summary
Commit 6addae7; test file 3/3 in Re-Review DecisionNO RE-REVIEW NEEDED — one assertion wrapped in 🤖 Generated with Claude Code |
Summary
kanban-consecutive-status-moves.test.ts› persists a second consecutive drag move… failed onmain(Chromium and WebKit) withexpected [ 1 ] to deeply equal [ 1, 2 ]. Bisected to c8358c9 (Type person and project nodes like task (closes #2807) #3033).updateTaskNodegoes out just after the card re-renders in its new column, so the synchronousversionsSentassertion ran before it. Holding the test 3s yields[1, 2]with no conflict.waitFor.Test plan
test:browser(Chromium)🤖 Generated with Claude Code