Skip to content

Intermittent Inbox selection browser failures block releases #1223

Closed

Description

@JacobStephens2

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-test passed 69 of 71 tests. All Rust, macOS and public-site jobs passed.
  • a push keeps a Pass dispatch selected instead of its parent failed because the active element's direct row subject was undefined, expected acme/widgets#303.
  • selection survives a move into folded Done and regains focus when opened failed 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

  1. added
    bug
    needs-triage
    on Oct 24, 2026
  2. JacobStephens2 commented on Oct 25, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during triage.

    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.sh requires 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:

    • The Console's Inbox live-update (morph) code and its selection/peek state
    • The Inbox browser tests

    Acceptance criteria:

    • The diagnosis (active element, selected row and browser errors around each push) is summarized in the PR
    • The Inbox test file passes 20+ consecutive runs on Linux with the full preceding test sequence
    • No retries are added and the release CI requirement is unchanged

    Out of scope:

  3. added
    ready-for-agent
    in-progress
    and removed
    needs-triage
    ready-for-agent
    on Oct 25, 2026
  4. removed
    in-progress
    on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions