Skip to content

ui-react: hygiene retry can retain the configuration blocker after Start again #2544

Closed as not planned

Description

@schlessera

Out of scope

No screenshot-retention change, new timeout, weaker assertion, product-state change without a reproduced cause, or repeated full-suite retry to obtain green.

Context

Found during #1903's bounded native evidence check at source base 7b8a755ea329bd48a11b790e916c417b6f608eee. The retention-only working diff adds a screenshot helper and artifact paths. One native invocation of the existing hygiene review and full-loop files passed 59 cases and failed one: dark 320: configuration blocker replaces the review; Start again retries; no open findings renders deferred counts.

The unchanged assertion at packages/ui-react/tests/browser/hygiene-review.layout.tsx:307 expected No open findings. after clearing fixture mode and clicking Start again. The DOM still contained Review can't start and the configuration validation message about schemaa. The test's expect.poll reached its existing deadline. This case never invokes the changed screenshot writer. Both full-loop widths passed; no common cause with screenshot persistence is established.

The fixture accepts the mode/remaining patch at packages/ui-react/tests/fixtures/hygiene-browser-server.ts:238-241, while the existing test drives the retry at lines 300-309. No second run or repair is claimed. Part of #2753, the browser-verification epic nested under #736.

Scope

Reproduce and attribute the retry failure. Observe fixture patch application, the native click/request, server review state and subsequent browser refresh before deciding whether any harness or product correction is needed.

Acceptance criteria

  • Reduce the observed dark 320 retry failure to a scoped reproducible condition, or document bounded non-reproduction and an exact recurrence receipt.
  • If a correction is justified, preserve the original assertion, offline boundary, test population and deadline; show the intended assertion failing before the fix and a restored mutation.
  • Keep the ci: retain consumer UI screenshots in hosted proof artifacts #1903 retention check and this state-transition failure attributed separately.

Verification

Original bounded invocation (inside the repository's pinned offline runner, with the host's native-proof slot held):

node scripts/visual.mjs --project=ui-react-layout --filter=hygiene-review.layout --filter=hygiene-loop.layout --proof-report

Observed result: two files, 59 passed / 1 failed, 128.41 seconds. Need a scoped reproduction; no hosted recurrence is asserted.

Contract impact

None selected. Investigation only; a reproduced product change needs its own contract assessment.

2026-10-22 triage: classify this wanted, unscheduled retry investigation as priority p2 and include area: ci for its browser fixture/harness scope. Retain needs: repro: the original single failure does not identify a cause. The bounded reproduction must observe the patch, click/request and refresh sequence described above; no new reproduction or screenshot-retention cause is claimed.

2026-10-24: attached natively to #2753 (nested browser-verification epic under #736) after #736's browser children moved to the new nested epic and freed capacity; replaced the earlier standalone-by-reference wording.

Bounded unchanged-source control — 2026-10-29

At main a8e80eea1ec045579ee7d69d6019bce5e78afa5e, one complete unchanged-file invocation of:

node scripts/visual.mjs --project=ui-react-layout --filter=hygiene-review.layout --proof-report

passed 102/102, exit 0, 149.41 seconds Vitest / 154.715 seconds including the launcher. Used the repository's pinned Playwright image mcr.microsoft.com/playwright@sha256:eff16c30e6f3f4af0a03fa4b706120d5e9b0891c344a27d64559aff5900a4a27, independently installed frozen dependencies (lock SHA-256 5bbd5f6651f111db3fcfabeda512d44a21163cba54c58993f8878012d548cc14) and host Bun 1.4.4. The stock consumer runner retained its offline/preload/request/font guards, --network=none and --ipc=host; the log verifies the pinned font inputs. Only the launcher's temporary scratch location was redirected to an owned directory after a separate diagrams preparation attempt hit the default temporary volume's quota. No source, assertion, deadline, fixture response or schedule was changed. Raw log SHA-256: a3ebb497a73347e5c520597e8a675b81b0ee875c29f42a98009982821275e3f2.

The original dark-320 retry scene passed (773 ms). Its current test template is (configuration blocker replaces the review, packages/ui-react/tests/browser/hygiene-review.layout.tsx:407-417), with the patch at line 412, the Start again click at line 413 and the original No open findings. poll at line 414. Mode/remaining patches are accepted by (app.post("/fixture", packages/ui-react/tests/fixtures/hygiene-browser-server.ts:519-596); mode is set at line 528 and remaining at line 532. Ranges are at main 3aadc8df5, after #3166, #3592, #3671, #3719 and #3722 changed these files. The original historical failure remains unreconstructed: no same-failure patch/click/request/refresh timeline exists. Retain needs: repro; this single pass is a non-reproduction control and does not establish a repair or a relationship to screenshot retention.

Triage 2026-11-10 at main 3aadc8df5: Refreshed the moved test and fixture ranges by their named anchors. No failure of this scene appears in failed main CI attempts from 2026-10-22 to 2026-11-10 (see the dated comment). needs: repro, p2 and #2753 membership are unchanged.

Activity

  1. added
    type: fix
    area: ui-react
    needs: repro
    priority: p2
    area: ci
    on Oct 22, 2026
  2. schlessera commented on Oct 22, 2026

    @schlessera
    OwnerAuthor

    2026-10-22 triage: classify this wanted, unscheduled retry investigation as priority p2 and include area: ci for its browser fixture/harness scope. Retain needs: repro: the original single failure does not identify a cause. The bounded reproduction must observe the patch, click/request and refresh sequence described above; no new reproduction or screenshot-retention cause is claimed. Keep it standalone because #736 is at its native-child capacity and no other existing epic owns the complete deliverable.

  3. schlessera commented on Nov 10, 2026

    @schlessera
    OwnerAuthor

    2026-11-10 triage at main 3aadc8df5: refreshed the moved test range (hygiene-review.layout.tsx:407-417) and fixture range (hygiene-browser-server.ts:519-596) by their named anchors.

    Recurrence check: no natural occurrence. Window checked: main CI failed attempts from 2026-10-22 18:51 UTC to 2026-11-10 09:15 UTC: the 67 failed runs and 10 failed earlier attempts of later-green reruns before 2026-11-03, plus the 24 failed runs and 2 failed first attempts since then (main CI ran 167 times in the later week). No configuration blocker replaces the review; Start again retries cell fails. All four cells passed in both failed-run logs that include this file's output, for example run 41560483270 in 533–766 ms. The only hygiene-review.layout.tsx failure in the window is run 40933258405 (2026-10-29, light: changed, gone, offline, failed and refused replies show no detail rows). It failed a focus-target equality, not this retry poll. 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.

  4. schlessera commented on Nov 13, 2026

    @schlessera
    OwnerAuthor

    Closing as not planned (maintainer-requested triage, 2026-11-13). One local expiry of a default one-second poll, with no hosted occurrence. The acceptance criteria allow closing on a bounded non-reproduction, and that is what the record shows: the unchanged file passed 102 of 102 with this scene at 773 ms.

    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. The configuration blocker replaces the review cases appear in three of those logs, four cases each, all passes.

    The same file's default-timeout polls do fail on hosted runners in other cases. That class stays open in #2855, which had a new main failure on 2026-11-11.

    On recurrence: add the sighting to #2855 with the run, job and the failing case's request timeline.

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: ciarea: ui-reactneeds: repropriority: p2type: fix

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions