Repository navigation
test(ui): reuse panel tab drag fixture - #147250
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: needs maintainer review before merge. Reviewed September 13, 2026, 2:09 PM ET / 18:09 UTC. ClawSweeper reviewWhat this changesThe PR replaces duplicated drag-data setup in Control UI panel-tab tests with the existing shared fixture, preserving the assertions and production behavior. Merge readiness✅ Ready for maintainer review The cleanup remains useful on current main and introduces no actionable defect. The shared fixture preserves the tested behavior, and this maintainer-protected PR should remain available for landing. Priority: P3 Review scores
Verification
How this fits togetherThe Control UI panel tab strip translates tab selections and drag gestures into callbacks for its hosting panels. These tests supply synthetic drag data and verify reorder placement and callbacks. flowchart LR
A[Shared drag fixture] --> B[Synthetic drag events]
B --> C[Panel tab strip]
C --> D[Determine drop placement]
D --> E[Reorder callback]
E --> F[Test assertions]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests -5. Total -5 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Use the existing per-test drag fixture while retaining the current reorder assertions and separate disabled-drag spy. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR consolidates test setup rather than repairing a reported runtime defect. Is this the best way to solve the issue? Yes: the existing helper supplies the same consumed drag-data behavior without adding dependencies, production seams, or weaker assertions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e98e95c03374. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
* commit '28887b564210326174413d0d8ade72b38268d5f3': (1827 commits) fix(qa): bind coverage IDs to producer assertions (#144000) fix(linux): explain FreeBSD desktop setup prerequisites (#147211) fix(memory): split embedding batches rejected for an input array item cap (#139541) test: isolate timing metadata persistence from inherited settings (#147112) refactor(status): retire test-only helper publication (#147071) improve: reduce workspace agent lookup work for large fleets (#147144) refactor(macos): share connect credential selection (#144214) fix(plugins): restore Slack onboarding after core updates (#147109) refactor: share ANSI compatibility matching (#146998) fix(test): settle Models catalog before picker open (#147215) test(ui): reuse panel tab drag fixture (#147250) fix(install): use system Node for FreeBSD CLI setup (#147204) fix(cli): explain MCP probes with no enabled servers (#147216) docs: require UI screenshots in chat and PR (#147263) docs(skills): clarify remote gog OAuth setup for Gateway hosts (#145945) test: replace idle account catalog waits with synchronization (#147228) feat(qa): preserve maturity decision context (#147219) feat(macos): clarify agent activity in native chat (#147197) fix(runtime): complete Bun compatibility follow-ups (#147085) fix(ui): release closed chat panes after queued updates (#147240) ...
Reuse the existing zero-import
createDataTransferStubin the panel-tab reorder tests, removing five test lines with no production change. All 16 cases and 37 authored assertions remain, including the separate disabled-drag spy and existing cleanup.The observed callers ignore
setData’s return and neither enumerate transfer properties nor readtypes, so the helper’s return/property differences do not affect these scenarios. Baseline and candidate each passed the same 16 cases; independent Codex review found no actionable findings. This is focused jsdom proof, with no live UI, layout, or performance claim.All 18 configured checks reached a successful native aggregate result in Testbox run 34771618590, with the exact lease completed and owned resources cleaned up. The backing Actions step can show cancelled after the normal one-shot stop; the native result and lease cleanup were verified separately.