Skip to content

ui-react: the hygiene-review Actions-limit set-aside case polls the limit panel before the retirement reaches the browser #2855

Open

Description

@schlessera

Context

an Actions-limit set-aside clears the details with the card (test, packages/ui-react/tests/browser/hygiene-review.layout.tsx:914-921) fails on hosted runners with expected null not to be null / Matcher did not succeed in time at its first poll (:918).

Attribution (receipt and measurements):

  • The case calls set({ fillActions: true }) and at once polls for [data-hygiene-limit] with the default 1,000 ms budget. The server commits the fill before the browser has drained the Action burst, so the poll's clock starts too early.
  • fill in the sibling file already handles this: it waits for the cap retirement to reach the browser before it polls the panel (fill, packages/ui-react/tests/browser/hygiene-actions-limit.layout.tsx:106-118, added by test(ui-react): await cap retirement before polling the limit panel #2002 for ui-react: Actions-limit panel stays absent after authoritative retirement in layout CI #1866). This case never got that wait.
  • Measured on a 4-CPU VM, the panel arrives 1,229 to 1,595 ms after set() returns when idle, and 1,442 to 3,212 ms beside three busy loops. It is never inside the 1,000 ms budget there.

Hosted sightings. Both hosted failures of this file are this case: PR candidate run 42485190945 (2026-11-08) and main run 42928738203 (2026-11-11).

Scope

Give this one case the wait fill uses: start the presentation poll only after the cap retirement has reached the browser. Reuse or share the existing helper instead of writing a second one.

Out of scope

  • Lengthening any poll or deadline, here or elsewhere in the file.
  • The case's assertions: the limit panel appears, the private details clear, no private bytes remain.
  • The three other cases this issue once listed (dark-1280 check-failed, disconnect cancellation, transient selection refresh). None has a hosted failure. A new sighting of one of them is a new issue.
  • The fixture server (hygiene-browser-server.ts) and product code.

Acceptance criteria

  • The case waits for the retirement to reach the browser before its first presentation poll, through the same condition fill uses.
  • Failing-first: with delivery of the Action burst delayed by a controlled amount longer than 1,000 ms, the case fails on main at :918 and passes with the change. The PR records both runs. The delay lives in the test or its fixture and is not committed as a slowdown.
  • No timeout, poll interval or assertion in the file changes.
  • The complete file passes in the pinned image.

Verification

node scripts/visual.mjs --project=ui-react-layout --filter=hygiene-review.layout
bun run check:pr --base origin/main

Contract impact

None. Test only.

Triage 2026-11-14 at main c82e30ae4: rewrote the brief for the one attributed case, with a failing-first criterion. Added agent-ready. type: test, priority: p2, parent #2753 and no milestone are unchanged.

Earlier brief, receipts and triage history. The sections above replace it where they differ.

Context

On a shared host (load average 10–12), two existing scenes in packages/ui-react/tests/browser/hygiene-review.layout.tsx (pinned image, node scripts/visual.mjs --project=ui-react-layout --filter=hygiene-review.layout) each failed once and then passed on an immediate rerun of the same tree. Both failures were waits that ran out:

  • dark 1280: a managed-worktree card (check-failed) offers no file to open (packages/ui-react/tests/browser/hygiene-review.layout.tsx:305 on main c696f995c) failed with expected 'applying' to be 'check_failed' / Matcher did not succeed in time. Its expect.poll on data-hygiene-state uses the default timeout while it waits for a server round trip.
  • disconnect cancels a scheduled selection read before it starts (packages/ui-react/tests/browser/hygiene-review.layout.tsx:502 on main) failed on its first expect.poll(...).toBeNull() after Snooze.

Both were seen while working on the stacked worktree-card PRs for #2734 and #2837. Neither failure involved a changed assertion, and the rerun passed 99/99. The remaining attribution question is whether each failed poll observed a delayed fixture-server round trip or a real ordering race. The later bounded controls below did not capture either original failure. The fix must not just lengthen a deadline that guards behaviour.

Out of scope

Weakening any deadline that guards behaviour. The scenes' assertions themselves.

Scope

Capture the two original poll failures, and the later ones recorded under "Hosted recurrence — 2026-11-08" below, in complete-file pinned-image runs under recorded parallel load. Correlate fixture identity, request/response completion, state transitions and teardown with the failed matcher; distinguish a server round-trip delay from a product or fixture ordering defect. Existing passing reruns are controls, not repairs. No deadline change is selected.

Acceptance criteria

  • Retain a failed receipt with exact source/image/runtime, load, scene, elapsed poll time, request/response and state-transition timeline, or report finite attempts and the missing causal boundary.
  • Attribute each failure separately, including the two 2026-11-08 cases (one hosted, one local). Do not infer a shared cause from the file or the default timeout, even though the maintainer classes them together as default-timeout polls running out under load.
  • Select a correction only after attribution, retaining original behavior assertions and their deadlines; prove the targeted failure and restored mutation.
  • Verify the complete file under the recorded load and affected current-candidate proof after any correction.

Verification

Repeated pinned-image runs of hygiene-review.layout.tsx under parallel load.

Contract impact

None.

2026-10-25 triage at main 827861e1fa71cd4a26b52f1ef0f96b849381acdf: The two failed waits lack causal ordering/timing evidence; added a concrete reproduction brief and needs: repro, preserving original assertions. Wanted unscheduled verification is p2. The browser-verification outcome owns the complete investigation.

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.

Both originally reported scenes passed: dark-1280 check-failed (885 ms) and scheduled-selection cancellation (1,683 ms). Current test boundaries are test, packages/ui-react/tests/browser/hygiene-review.layout.tsx:381-404 and test, same file:579-592. This was one stock-runner invocation, without an induced or recorded parallel-load matrix; it does not reproduce the historical load condition or attribute either timeout. Same-failure request/state timing remains missing; retain needs: repro and the original assertions/deadlines.

Latest bounded investigation and remaining evidence — reconciled 2026-11-05

The 2026-11-04 investigator receipt records the following; this triage did not rerun it.

At 53b862123d7b8e4c9d039859fabdc9fc6ad4cd36, the investigator completed two unchanged full-file pinned-image controls: 102/102 cases passed in each, including both reported scenes, at ambient load and beside four owned CPU workers. The first launch stopped before collection on a rootless mount-permission setup error and is excluded. Whole-case durations are not failed-poll durations. Neither control captured the original failure; each scene still needs its own fixture-ID-correlated dispatch/response/stream/DOM/poll/teardown timeline before a correction is selected.

Historical failures and controls retain their original identities. Keep needs: repro and no agent-ready; no new causal repair, full-suite qualification or provider/device result is claimed.

Hosted recurrence — 2026-11-08

Recorded by the maintainer in this comment:

The maintainer classes these with the original two: default-timeout polls in this file run out under load, and which case fails changes from run to run. Neither new failure has a request/state timeline either, so needs: repro stays. The three same-head controls are the reporter's runs, not triage executions; capture the scene/request/publication/poll timeline at the first natural failed invocation.

Current navigation at main fb999b8ba (packages/ui-react/tests/browser/hygiene-review.layout.tsx): dark-1280 check-failed test template at :382-403, its poll at :387; disconnect cancellation test at :580-593, first poll at :585; transient selection refresh test at :563-578; Actions-limit set-aside test at :914-921, its poll at :918. Historical line numbers above keep their original source identities.

Triage 2026-11-08 at main 1619741f291f525d17cde4970a5ada40644117c1: Reconciled the opening brief with its existing bounded investigation and remaining attribution evidence. Historical receipts, scope exclusions, priority and needs: repro remain; no new runtime result is claimed.

Triage 2026-11-09 at main fb999b8baeabbb3a9cb5756a19862eee45467ebf: Added the 2026-11-08 hosted recurrence and the two new failing cases from the maintainer's comment to the body, scope and acceptance criteria, and refreshed the line numbers. Each failure is still attributed separately. needs: repro, priority: p2, parent #2753 and no deadline change all stay. No new runtime result is claimed.

Triage 2026-11-10 at main 3aadc8df5: Merged a duplicate "Later hosted recurrence — 2026-11-08" section into "Hosted recurrence — 2026-11-08"; both described the same candidate run 42485190945. The current navigation in that section still holds at 3aadc8df5. No failure from hygiene-review.layout.tsx appears in failed main CI attempts from 2026-11-03 to 2026-11-10 (see the dated comment). needs: repro, p2 and #2753 membership are unchanged.

Attribution — 2026-11-13

Both hosted failures of this file are one case: an Actions-limit set-aside clears the details with the card, hygiene-review.layout.tsx:918 (PR candidate run 42485190945 on 2026-11-08; main run 42928738203 on 2026-11-11). Receipt and measurements.

It is the unfixed sibling of #1866. #2002 made fill in hygiene-actions-limit.layout.tsx wait for the cap retirement to reach the browser before polling the limit panel; this case still starts its default 1,000 ms poll when the server command returns. Measured on a 4-CPU VM, the panel arrives 1,229 to 1,595 ms after set() returns when idle and 1,442 to 3,212 ms beside three busy loops, never inside the budget.

Scope now: this one case. Apply #2002's wait to it, with a failing-first receipt from a controlled delivery delay. The other three cases above have no hosted failure and are not part of the remaining work; a new sighting of one of them is a new issue.

Triage 2026-11-13 at main 631bbae2c: attributed the two hosted failures, narrowed the scope to the Actions-limit case, removed needs: repro.

Activity

  1. added
    type: test
    area: ui-react
    priority: p2
    needs: repro
    on Oct 24, 2026
  2. schlessera commented on Oct 25, 2026

    @schlessera
    OwnerAuthor

    2026-10-25 triage at main 827861e1fa71cd4a26b52f1ef0f96b849381acdf: The two failed waits lack causal ordering/timing evidence; added a concrete reproduction brief and needs: repro, preserving original assertions. Wanted unscheduled verification is p2. The browser-verification outcome owns the complete investigation.

  3. added this to the 0.45.0 milestone on Oct 25, 2026
  4. schlessera commented on Nov 4, 2026

    @schlessera
    OwnerAuthor

    Reproduction investigation — 2026-11-04

    Verdict: inconclusive; retain needs: repro. Two complete-file offline runs at the unchanged source below passed every collected case, including both reported scenes. They are passing controls, not a repair or an attribution of either historical timeout. No correction is selected.

    Inspected inputs and environment

    Setup failure, excluded from reproduction counts: the first stock launch could not read /repo/scripts/visual.mjs and stopped with MODULE_NOT_FOUND before collection. Rootless Docker maps container UID 0 to the invoking host user; the stock explicit host UID instead maps to a subordinate user, which cannot traverse this checkout's mode-700 directories. A temporary PATH shim outside the checkout changed only that pinned container's --user argument to 0:0; it did not grant host-root authority, change file permissions or remove a guard. Both actual browser runs below used this mapping. The helper is included below so this setup adjustment is repeatable.

    Verified assertion boundaries and observed results

    The historical c696f995c citations still identify the two reported tests at lines 305 and 502. At the inspected SHA their current boundaries are:

    1. (test, packages/ui-react/tests/browser/hygiene-review.layout.tsx:381-402): dark 1280, check-failed must observe data-hygiene-state === "check_failed" after Apply, then retain the logical identity and offer no file-open action. Its original poll is at line 386.
    2. (test, packages/ui-react/tests/browser/hygiene-review.layout.tsx:579-592): after Snooze the first poll must observe no [data-hygiene-id] element; after the explicit disconnect, reads.reviewReads must remain equal to readsAtDisconnect. Its original first poll is at line 584.

    Installed Vitest confirms a 1,000 ms default timeout / 50 ms interval, with no override in either target (createExpectPoll, node_modules/vitest/dist/chunks/test.DNmyFkvJ.js:3711-3720). The later selection refresh still registers 250 ms timers and cancels on cleanup (const selecting, packages/ui-react/src/components/activity/hygiene-review.tsx:175-189). This is source context, not measured attribution.

    Run Full file / exit Vitest / launcher elapsed Sampled load-1 range Dark-1280 check-failed case Disconnect-cancellation case
    Ambient, no added CPU workers 102/102 passed; exit 0 117.55s / 122.428 s 5.012–10.368 passed, 599 ms passed, 1325 ms
    Four parallel CPU workers 102/102 passed; exit 0 125.21s / 133.109 s 10.946–14.681 passed, 651 ms passed, 1352 ms

    Receipt SHA-256 (raw local logs/JSON, without publishing unscreened logs):

    ambient.log  05a8529aecaf865c5e28d900fe6f49691cf816dff1416a9f5754305b1126314d
    ambient.proof-cases.json  1300f79ee8516f825f67d1c0cf5e5b3c30727b54b594ae154ec163a35663bea7
    ambient.resources.jsonl  20a684cb8c6de344fe140b7bc1db946b88d42b5d4e7792178b94a25fb457af78
    load4.log  3cca4ee05eecb4f90fb9abb8089493d50d06ea7ba546532fce321bf8c59e8189
    load4.proof-cases.json  81532fe3467b85a43b3935ba4cb147a4c943762688c0ab60435eac2a8a634801
    load4.resources.jsonl  339d5ef93aea34ec5b87f287a8fe1887e5177ec46bdf1960826cddf0c4582a35
    

    The case receipts independently enumerate exactly the selected file and all 102 collected/executed cases, with no skipped cases, module errors or unhandled errors. The durations above are whole-case durations, not elapsed poll durations. Load is the host's sampled one-minute average, not a measurement of fixture response latency.

    Repeatable commands and finite load conditions

    From a clean isolated checkout of the inspected SHA (Linux; the pinned image must be available):

    audit=$(mktemp -d /tmp/brain-kit-2855.XXXXXX)
    export REPRO_2855_OUT="$audit"
    (umask 022; bun install --frozen-lockfile --backend=copyfile --cache-dir "$audit/install-cache")
    bun run build

    For this rootless permission condition only, install the same narrow mapping helper (omit it on a rootful setup where the stock mapping already works):

    mkdir "$audit/bin"
    cat > "$audit/bin/docker" <<'PY'
    #!/usr/bin/python3
    import os, sys
    args = sys.argv[1:]
    image = 'mcr.microsoft.com/playwright@sha256:eff16c30e6f3f4af0a03fa4b706120d5e9b0891c344a27d64559aff5900a4a27'
    if args and args[0] == 'run' and image in args and '--user' in args:
        i = args.index('--user') + 1
        assert args[i] == str(os.getuid())+':'+str(os.getgid())
        args[i] = '0:0'
    os.execv('/usr/bin/docker', ['docker', *args])
    PY
    chmod +x "$audit/bin/docker"
    export PATH="$audit/bin:$PATH"

    This self-contained replay runs the same full-file command and bounds the CPU workers to its lifetime; it samples load every two seconds and preserves each case report before the next invocation overwrites it:

    cat > "$audit/replay.py" <<'PY'
    import json, os, pathlib, subprocess, sys, threading, time
    out = pathlib.Path(os.environ['REPRO_2855_OUT'])
    name, workers = sys.argv[1], int(sys.argv[2])
    stop = threading.Event()
    started = time.time()
    loaders = []
    def sample():
        with (out / (name+'.load.jsonl')).open('w') as f:
            while not stop.is_set():
                f.write(json.dumps({'elapsed': time.time()-started,
                                    'load': os.getloadavg()})+'\n')
                f.flush()
                stop.wait(2)
    try:
        for _ in range(workers):
            loaders.append(subprocess.Popen([sys.executable, '-c', 'while True: pass'],
                           stdin=subprocess.DEVNULL, stdout=subprocess.DEVNULL,
                           stderr=subprocess.DEVNULL))
        sampler = threading.Thread(target=sample, daemon=True)
        sampler.start()
        command = ['node', 'scripts/visual.mjs', '--project=ui-react-layout',
                   '--filter=hygiene-review.layout', '--proof-report']
        with (out / (name+'.log')).open('w') as log:
            result = subprocess.run(command, stdout=log, stderr=subprocess.STDOUT)
    finally:
        stop.set()
        for process in loaders: process.terminate()
        for process in loaders: process.wait()
        if 'sampler' in locals(): sampler.join()
    report = pathlib.Path('tmp/proof-cases.json')
    if report.exists():
        (out / (name+'.proof-cases.json')).write_bytes(report.read_bytes())
    print(json.dumps({'exit': result.returncode, 'elapsed': time.time()-started}))
    sys.exit(result.returncode)
    PY
    python3 "$audit/replay.py" ambient 0
    node scripts/host-admission.mjs run --label 'issue 2855 bounded parallel CPU load' -- \
      python3 "$audit/replay.py" load4 4

    The actual sampler additionally saved host CPU/memory/IO pressure and allowed CPUs; the replay above retains the minimal load conditions. Admission and workspace leases were left enabled; no concurrency limit was raised. There were two real complete-file invocations, with no retries hidden inside either result and no test-name filtering. The second used four ordinary CPU-bound Python processes alongside the real browser/server workload, stopped and reaped afterward. Ambient host activity was uncontrolled.

    Limits and next evidence needed

    Neither original failure was observed: there is no new expected 'applying' to be 'check_failed' timeout and no failed post-Snooze toBeNull() receipt. Matching a load-average range on a different resource envelope does not recreate the historical scheduler or establish that a 1,000 ms round trip is safe. No same-failure request/response/stream/DOM-commit timeline or elapsed failing poll was captured. The current fixture also includes later owner-binding and focus work; these controls do not retroactively establish what happened on the historical tree.

    Next step: on a natural recurrence, preserve the failed complete-file receipt and add passive, fixture-ID-correlated observations of decision dispatch and Action version, server operation/response completion, stream receive, DOM state commit, poll start/end and teardown. For the disconnect case, also record the terminal Snooze transition, active/no-Action read, first scheduled read and disconnect. Attribute each target separately. Do not lengthen deadlines, inject artificial delayed replies, treat a held-order experiment as the original failure, or select a correction from passing reruns. This is an offline browser/server-fixture gap; a live model-provider call is not required for this path.

    Leave needs: repro present and agent-ready absent; preserve all other labels, milestone 0.45.0, native parent, open state and assignments. No implementation, commit, push, PR, closure or assignment change was made. Tracked checkout remains clean.

  5. schlessera commented on Nov 8, 2026

    @schlessera
    OwnerAuthor

    Another instance, in hosted candidate proof for #3719 (CI run 42485190945, job 128745788828, layout (1)). The checkout was ba663398099012d3effc5a5fcdf0e2eb6d3c1d65, with parents main 344d2dd47 and head 45667ba8c, on a 4-CPU runner.

    • an Actions-limit set-aside clears the details with the card (packages/ui-react/tests/browser/hygiene-review.layout.tsx:918) failed expected null not to be null / Matcher did not succeed in time. That is the default-timeout expect.poll for [data-hygiene-limit] after set({ fillActions: true }). 807 of 808 cases passed.
    • test: finish the real-time wait census with a second re-census and its slices (#3332) #3719 does not change hygiene-review.layout.tsx. It changes hygiene-browser-server.ts only in the holdPlans/releasePlans/foreignPreview paths, and this case uses none of them. fillActions is unchanged.
    • Locally in the pinned image (node scripts/visual.mjs --project=ui-react-layout --filter=hygiene-review) on the same head, the file ran three times. The failing case passed all three runs. In one run a different case, transient selection refresh retries an unavailable REST read and stops at server completion, failed instead (101/102). The other two runs passed 102/102.

    So this is the same class as above: default-timeout polls in this file run out under load, and the case that fails changes from run to run.

  6. changed the title [-]ui-react: two hygiene layout scenes' default polls time out under host load[/-] [+]ui-react: hygiene-review layout default-timeout polls time out under host load[/+] on Nov 9, 2026
  7. schlessera commented on Nov 10, 2026

    @schlessera
    OwnerAuthor

    2026-11-10 triage at main 3aadc8df5: removed a duplicate 2026-11-08 recurrence section from the body. Both sections described candidate run 42485190945. The current line navigation still holds; this file is unchanged since #3671.

    Recurrence check on main: no new occurrence. 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. None fails a hygiene-review.layout.tsx case. For completeness, the earlier main failure in run 40933258405 (2026-10-29, light: changed, gone, offline, failed and refused replies show no detail rows) is an immediate focus-target equality, expected <body> to be <h3>. It is not a default-timeout expect.poll, so I have not folded it into this class. 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.

  8. schlessera commented on Nov 10, 2026

    @schlessera
    OwnerAuthor

    2026-11-10, test-health audit th-20261110115220-5ecaed at main a26e2546f. Not reproduced.

    What ran: bun scripts/test-health.ts measure on hygiene-review.layout.tsx, hygiene-media-flow.layout.tsx, hygiene-media.layout.tsx and hygiene-actions-limit.layout.tsx, --runs 2 --together. That is the stock node scripts/visual.mjs --project=ui-react-layout path in the pinned image, on a 32-CPU host at load average about 3.5, with no added load. Each file ran twice alone and twice with the other three. All eight file runs and both combined runs passed. hygiene-review.layout.tsx had a median of 183 s. No --stress run was made.

    So this adds a control and no attribution. needs: repro stays.

    A lead for whoever captures the next failure, not a cause: the an Actions-limit set-aside clears the details with the card poll (test, packages/ui-react/tests/browser/hygiene-review.layout.tsx:914-921, poll at :918) starts its default 1 s deadline as soon as set({ fillActions: true }) returns. The sibling file waits for the retirement to reach the browser before it starts the same presentation deadline, with the comment "Filling commits on the server before the browser drains the Action burst" (fill, packages/ui-react/tests/browser/hygiene-actions-limit.layout.tsx:106-118). If the hosted failure was this burst still draining when the deadline ran out, a timeline will show the retirement arriving after the poll began. This lead covers that case only, not the other three.

  9. removed this from the 0.45.0 milestone on Nov 11, 2026
  10. schlessera commented on Nov 13, 2026

    @schlessera
    OwnerAuthor

    Both hosted failures are one case, and it has a known cause with a known fix (2026-11-13).

    1. One case, one line. The file has failed on hosted runners twice, both times in an Actions-limit set-aside clears the details with the card at hygiene-review.layout.tsx:918, with expected null not to be null / Matcher did not succeed in time:

    • 2026-11-08, PR candidate run 42485190945, already recorded here.
    • 2026-11-11, main run 42928738203, layout (1) at 60d7967f1, not recorded here until now. The case failed 4.7 s in.

    I read the failed-step log of every failed product job on main from 2026-10-28 to 2026-11-13 (84 jobs across 300 runs). This file fails in two of them: the 2026-11-11 one above, and run 40933258405 on 2026-10-29, which is the focus failure this issue already sets aside. The other three cases listed here have only ever failed locally.

    2. Cause: the unfixed sibling of #1866. #2002 fixed this race in the other file on 2026-10-16. Its description: "The shared fill helper previously started its presentation deadline when the server command returned, while the browser still had the 60-Action burst to consume." The case here still has that shape:

    await set({ fillActions: true });
    await expect.poll(() => host!.querySelector("[data-hygiene-limit]")).not.toBeNull(); // default 1,000 ms

    (hygiene-review.layout.tsx:914-921.) The fixed helper waits for the retirement to reach the browser's inbox first (fill, hygiene-actions-limit.layout.tsx:106-118).

    3. Measurement. Main 631bbae2c, a 4-CPU Ubuntu 24.04 VM. I gave the two polls an explicit 20 s bound and timed from set() returning to [data-hygiene-limit] being in the DOM:

    Condition Runs Min Median Max Over 1,000 ms
    Idle 5 1,229 ms 1,407 ms 1,595 ms all
    3 busy loops on 4 CPUs 25 1,442 ms 1,877 ms 3,212 ms all

    The panel never arrived inside the 1,000 ms budget, not even on an idle machine.

    4. Why it still usually passes. This part is my inference, not a measurement. The unchanged case passed 2 of 2 idle on the same VM. Vitest's poll runs its timers in the page, so while the page is busy rendering the burst, the poll's own deadline is delayed along with it and the next sample finds the panel. The poll only expires when the delay is on the delivery side while the page sits idle, which is what a loaded runner produces now and then. That would explain two hosted failures in a few hundred runs.

    What I did not get. The hosted signature itself. On this VM the unchanged case failed 4 of 30 under load, and 5 of the 30 measurement runs gave no timing, all as whole-test 15 s timeouts: the scene takes about 10 s to start here, far slower than on a hosted runner, so that is this environment and not the poll.

    5. Fix. Apply #2002's change to this case: after set({ fillActions: true }), wait for the retired Action to reach dropped in the browser's inbox, then poll for the panel. A failing-first receipt needs the same controlled delivery delay #2002 used.

    Scope. I narrowed this issue to the Actions-limit case and removed needs: repro. The other three cases stay recorded in the body as local-only sightings with no hosted failure.

  11. removed
    needs: repro
    on Nov 13, 2026
  12. changed the title [-]ui-react: hygiene-review layout default-timeout polls time out under host load[/-] [+]ui-react: the hygiene-review Actions-limit set-aside case polls the limit panel before the retirement reaches the browser[/+] on Nov 13, 2026
  13. added
    agent-ready
    on Nov 14, 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

    agent-readyarea: ui-reactpriority: p2type: test

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions