Skip to content

ui-react: the recordings tray shifts the first visible message on GitHub Actions #3313

Closed

Description

@schlessera

Context

The CI-only first-message shift from #1252 recurred on GitHub Actions. #1252 was closed as a one-off on the retired Depot provider, with the instruction to file a new issue if it recurred on GitHub Actions.

Evidence

  • Run 41487011851, job 125420932203 (layout (2)) on PR CONTRACT: feat(compute-boat): ship Boat as the first external compute provider #3304, head 63071730309cec7f4677b14c36f238f279d93f4b, base epic/3103-external-compute at 8de5ecb40.
  • The failing case is tray anchors messages, isolates accounts, keeps actions local and accessible at 1280px light (the test(...) template at packages/ui-react/tests/browser/recordings-tray.offline.tsx:122).
  • The assertion is tray appearance preserves first visible message: expected 73.25 to be less than or equal to 1 (packages/ui-react/tests/browser/recordings-tray.offline.tsx:153, unchanged at main 3d3516a02).
  • The shard's other 837 cases passed.
  • That PR changes no ui-react or ui-kit source. It adds an external compute package and core changes, so it gives no attribution.
  • The single rerun of the same head (run 41487011851, attempt 2) passed layout (2), including this case. That is consistent with an intermittent shift, not a deterministic regression.
  • The 2026-11-03 search found only that original occurrence. A later matching assertion failure is now recorded by incident ci: main red at 8752570331ff: layout #3744: main run 42527788910, at 8752570331ffebdbb9233196412781f6cd71f3d9, 320px dark, with a 50.5px shift. It is a second natural failure of the named assertion, with different source/viewport conditions; it does not by itself establish the original 1280px-light cause.
  • Merged #3745, head a5a769b92e5c7d146d17570f0863664e16b4d7cd, squash 57abb7b9151556ccf534eb5f81eaea0b1917cb46, primes known dictation discovery before seeding the tray in this case. The repair addresses a later saved-audio line arriving after the anchor measurement. The 1px assertion remains unchanged. Its two other fixture fixes concern capture-lock release and a parallel-session title, not this original displacement.
  • test: close three harness races behind main red at 8752570 #3745 reports local recordings-tray controls as "78/78 in three consecutive runs" and explicitly records no natural local failing-first reproduction (the old tree passed 4/4). These are the PR author's controls, not an independent reproduction or proof that the newer discovery race caused the older ui-react: the recordings tray shifts the first visible message on GitHub Actions #3313 failure.

Scope

Reproduce and diagnose the tray-appearance displacement under the pinned offline Chromium harness on GitHub Actions. Use the run's artifacts and repeated shard runs at a fixed head, or a local CPU-starved run of the pinned image. Then fix the cause in the scroll-position preservation or in the test's settling.

Out of scope

  • Weakening the assertion, raising its 1px tolerance or adding a retry without a recorded measurement that justifies it.
  • The other recordings-tray cases and unrelated layout-shard flakes.
  • Changing the pinned image, shard counts or CI workflows.

Acceptance criteria

  • Either a fixed-head repeat campaign (stating its run count) on GitHub Actions shows the assertion stable, or the cause is identified and fixed with a failing-first receipt.
  • The assertion and its 1px tolerance are not weakened without a recorded measurement justifying it.

Verification

A natural failure receipt, an instrumented passing control and any forced-ordering experiment are recorded separately. A fix carries a failing-first receipt that fails on the named assertion for the claimed reason, and a mutation that reintroduces the cause fails it again.

Contract impact

None; test and UI-internal behaviour only.

Reproduction status

needs: repro remains: there are now two natural receipts for the assertion, but the original failure's cause is not attributed and its same-head rerun passed. The later discovery-readiness correction in #3745 does not prove a causal connection to the original source/conditions. Completion evidence remains either a reproduction (hosted repeat campaign or local CPU-starved pinned-image run) that demonstrates the displacement with a cause, or a stated-count campaign at a fixed repaired head showing the assertion stable. Record exact head, run count, viewport/theme and relevant artifacts; no tolerance change or closure is justified by this triage.

Current navigation at main 57abb7b9151556ccf534eb5f81eaea0b1917cb46: the test template is packages/ui-react/tests/browser/recordings-tray.offline.tsx:124, discovery is primed at line 153, and the unchanged "tray appearance preserves first visible message" assertion is at line 159. The original source-bound failure pointers above retain their historical identities.

Triage 2026-11-03: added out of scope, verification, contract impact and the reproduction gap; folded the rerun data point into the evidence; set priority: p2 (wanted, unscheduled CI flake with one occurrence) and needs: repro; attached to #2753 (browser verification is deterministic and attributable).

Triage 2026-11-08 at main 57abb7b9151556ccf534eb5f81eaea0b1917cb46: Reconciled the second natural receipt and merged narrow harness repair, preserving the original attribution/reproduction gap and needs: repro. No new runtime campaign, causal conclusion or completion is claimed.

Activity

  1. added
    type: test
    area: ui-react
    on Nov 2, 2026
  2. schlessera commented on Nov 2, 2026

    @schlessera
    OwnerAuthor

    Data point: the single rerun of the same head 630717303 (run 41487011851, attempt 2) passed layout (2), including this case. That is consistent with an intermittent shift, not a deterministic regression.

  3. added
    priority: p2
    needs: repro
    on Nov 3, 2026
  4. schlessera commented on Nov 10, 2026

    @schlessera
    OwnerAuthor

    2026-11-10 triage at main 3aadc8df5: recurrence check only.

    Window checked: main CI runs created 2026-11-03 00:00 UTC to 2026-11-10 09:15 UTC: 167 runs (102 green, 40 cancelled, 24 failed, 1 in progress). I read the failed-job logs of all 24 failed runs, plus the failed first attempts of reruns 42546211003 and 41737142970. The only tray appearance preserves first visible message failure is the already-recorded run 42527788910 (#3744). Since #3745 (57abb7b91), which primes discovery before seeding in this file, no main failure of recordings-tray.offline.tsx appears. That is three days without a recurrence, not proof that the original attribution is settled. Main CI selects affected suites, so this loosely bounds hosted recurrence. It is not a flake rate, a reproduction or a repair. needs: repro and p2 are unchanged.

  5. schlessera commented on Nov 10, 2026

    @schlessera
    OwnerAuthor

    2026-11-10, test-health audit th-20261110201439-289b16 (push #3855) at b71c6e4fe. Not reproduced.

    bun scripts/test-health.ts measure packages/ui-react/tests/browser/recordings-tray.offline.tsx packages/ui-react/tests/browser/recording-limits.offline.tsx --runs 2 --together, through the stock pinned scripts/visual.mjs path with a private TMPDIR. The host was heavily loaded by other concurrent browser workers (load average about 55 to 71 on 32 CPUs).

    • recordings-tray.offline.tsx: 2 solo runs and 2 runs together with recording-limits.offline.tsx, all green, median 111 s. Every run includes all eight tray anchors messages, … at ${width}px ${theme} cells, so the tray appearance preserves first visible message assertion passed 32 times, including 320px dark and 1280px light.
    • The measure tool records per-file exit status only, so there is no per-case shift value to report for the passing runs.

    This is a bounded non-reproduction under high CPU contention, not a stability campaign at a fixed head on GitHub Actions. needs: repro stays.

  6. added this to the 0.45.0 milestone on Nov 13, 2026
  7. schlessera commented on Nov 13, 2026

    @schlessera
    OwnerAuthor

    Closing as likely fixed (maintainer-requested triage, 2026-11-13). Two hosted sightings: PR run 41487011851 on 2026-11-02 and main run 42527788910 on 2026-11-08. #3745 merged on 2026-11-08T23:18Z and primes dictation discovery before the anchor is measured, which removes the late saved-audio line that moved the first message.

    Recurrence sweep (2026-11-13). I read the failed-step log of every failed product job on main CI from 2026-10-28 to 2026-11-13: 84 jobs across 300 runs. In the same window 1,005 unit, 764 browser, 501 layout and 256 runtime_host jobs passed. tray appearance preserves first visible message fails once, in that 2026-11-08 run. From 2026-11-09 on, layout jobs on main passed 121 times and failed 3 times, none of them in the tray file.

    The fix has no failing-first receipt, because the old tree would not fail locally (4 of 4, and 32 passes at load 55 to 71). The evidence is absence after the fix, so I am not claiming the cause is proved.

    On recurrence: reopen with the run and job. A shift after #3745 would mean the discovery line was not the cause.

    Milestone 0.45.0, the same as #3745, which carries the fix.

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

    area: ui-reactneeds: repropriority: p2type: test

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions