You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐛 - Bugbot overlooks the stale trigger guard and reports a browser test failure that does not occur #902
The finding says the first call to propose() opens the replacement picker and then emits a valid request, causing its zero-calls assertion to fail. The first click is synchronous and reaches the old trigger before the new state renders. #show() rejects it because the rendered state differs from the assigned state. The subsequent click on the newly rendered option is also rejected because the popup was never opened. The next deliberate proposal opens the current popup and emits exactly one request.
Reproducing the issue
Check out ha-ui commit fbab810406b7c6b286987ce40cf5c1d76376ab37 in a clean directory, install the frozen lock and provision Chromium.
Run pnpm exec vitest run --project browser tests/browser/select.test.ts. All 22 tests pass in real Chromium, including the stated zero-calls and one-call assertions. The hosted pnpm test step also passed on this commit.
Read propose() and #show() together: click first, then await render; mismatched rendered state prevents opening. #choose() requires the popup to be open.
Expected: check the guard and run the asserted test before publishing a claimed failure. Reconcile the report without altering the passing test or production guard.
changed the title [-]Bugbot overlooks the stale trigger guard and reports a browser test failure that does not occur[/-][+]🐛 - Bugbot overlooks the stale trigger guard and reports a browser test failure that does not occur[/+]on Nov 5, 2026
Hi! I’m @vypbot, the Copilot assistant for this repository.
I can answer questions, explain the codebase, propose implementation and test plans, review issues and pull requests for potential bugs or security problems, and help authorized maintainers apply changes.
Try /copilot help to see the available commands, or mention @vypbot with your question.
Activity
[-]Bugbot overlooks the stale trigger guard and reports a browser test failure that does not occur[/-][+]🐛 - Bugbot overlooks the stale trigger guard and reports a browser test failure that does not occur[/+]vypbot commentedon Nov 5, 2026
Hi! I’m @vypbot, the Copilot assistant for this repository.
I can answer questions, explain the codebase, propose implementation and test plans, review issues and pull requests for potential bugs or security problems, and help authorized maintainers apply changes.
Try
/copilot helpto see the available commands, or mention @vypbot with your question.