Repository navigation
Description
This was generated by AI during triage.
Triage Notes
Category / state: bug / needs-triage.
An intermittent Console browser-test failure blocked bash scripts/release.sh 0.14.9 on main at be515ab19eff14dfddd0c53c381d9e280033592b. The release script correctly refused to release while that commit's CI was red. Rerunning only the failed job restored green CI without source changes; the underlying cause is still unconfirmed.
Evidence:
- Original CI run, attempt 1:
console-testpassed 69 of 71 tests. All Rust, macOS and public-site jobs passed. a push keeps a Pass dispatch selected instead of its parentfailed because the active element's direct row subject wasundefined, expectedacme/widgets#303.selection survives a move into folded Done and regains focus when openedfailed because neither the selected Command nor the active element supplied the expected row ID; actual was an empty string.- Same commit, attempt 2: the failed job was rerun with
gh run rerun 40055434375 --failed; all 71 Console browser tests passed, including both failures. Main still pointed to the same commit afterward. - On macOS, both focused tests, the full Inbox test file and the full Console browser suite passed. The full Console suite ran 52 tests successfully and skipped 19 Linux-only tests. Focused tests also passed at 390, 1024, 1280 and 1440 px widths. A temporary local probe running the preceding Landing/Ready/Stopping fixture with native macOS process identity also passed. All temporary probes were removed.
Codebase / redundancy check:
Selection preservation is already implemented in the Inbox's morph() function in src/console/assets/console.js: it captures focus and logical selection before morphing, then restores both, including selection in folded sections. Existing regression coverage is in console/tests/inbox.test.cjs. The reported incident therefore needs diagnosis of an intermittent failure, rather than a new selection feature. The main merge added the active-run summary above the Inbox groups, but the evidence does not establish that change as the cause.
Searched open and closed issues by Console, Inbox, release CI, selection and dispatch concepts; found no matching open incident. No prior-rejection knowledge base was present.
Next investigation:
Capture the clicked element, active element, selected row ID and browser errors immediately before and after the live update in the two failing tests. Establish whether selection was missing before the update, lost during the morph, or merely observed before the expected state settled. Reproduce on the Linux runner with the full preceding test sequence and retain those diagnostics on failure. Fix the demonstrated cause with a regression that exercises the same behavior; preserve the release script's requirement for successful CI.
Do not treat the successful rerun as proof that the intermittent cause is fixed. No product or test source changes were made during this triage.
Activity
JacobStephens2 commentedon Oct 25, 2026
Agent Brief
Category: bug
Summary: Find and fix the cause of the intermittent Inbox selection failures in the Console browser tests
Current behavior:
Console browser tests on the Inbox's live updates fail intermittently on the Linux runner. These are the two tests originally reported, plus "keyboard selection and the open peek survive an Inbox push" (a 30 s timeout on main run 40107955300, 2026-10-24). This blocks releases, because
release.shrequires green CI.Desired behavior:
The cause is identified: either selection is lost while the Inbox morphs in a pushed update, or the tests read before the state settles. The fix addresses that cause, in the product or as a proper wait in the test, with a regression test.
Key interfaces:
Acceptance criteria:
Out of scope: