convoy: render-test regression-lock for ScanDisambiguationDialog (PR #144) #147
No reviewers
Labels
No labels
agent-context-drift
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: rstillwell/deckhearth#147
Loading…
Reference in a new issue
No description provided.
Delete branch "convoy/scanner-disambiguation-render-test"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
PR #144 (
31da384, 2026-06-13) shipped a runtimeReferenceError: useFocusTrap is not definedto production. The siblingenable-no-undef-eslint-rulecloses that bug class at lint time. This PR locks the same regression at render time so the bug would still fail CI even if the lint rule were dropped or disabled.test/components/ScanDisambiguationDialog.test.js— 8 tests, the first of which (renders without crashing (PR #144 regression-lock)) is the direct lock-in.useFocusTrapimport causes all 8 tests to fail with the sameReferenceErrorshape that hit prod; restoring it passes.Why vitest + jsdom and not Playwright smoke
Re-scoped the queued
scanner-disambiguation-smoke-testtask to a vitest render test because:The render test catches the exact same bug class at 1/100th the cost and matches the existing
test/components/*.test.jspattern. A Playwright disambiguation smoke remains useful as integration-layer coverage and is queued asscanner-disambiguation-playwright-smoke(see § Follow-ups in.convoys/scanner-disambiguation-render-test.md).Test plan
Convoy doc
.convoys/scanner-disambiguation-render-test.mddocuments:fireEventnotuserEvent(matches existing pattern)useFocusTrap— the missing-hook is exactly what we're lockingadd-component-render-smoke-pattern,scanner-disambiguation-playwright-smokeMade with Cursor
The latest updates on your projects. Learn more about Vercel for GitHub.
Pipeline Health
Build + CI gates
Build runs on Vercel; this CI runs lint and schema-map drift only (no duplicate build).
Role reports
See individual comments above for details. This rollup updates automatically.