Skip to content

ui-server: Claude dictation scope fixture sees three calls at its first finite pause #2925

Closed as not planned

Description

@schlessera

Context

Found while validating #2879 at head 693decb725c531381c6086f7ac050a7a4de1a46a. In the full ui-server suite, the Claude dictation variant registered by for (const { adapter, voice, overshoot } of cases) (packages/ui-server/tests/ws-scope-caps.test.ts:24-127) failed SCOPE_ADAPTER_PAUSES_WITH_EXACT_FINITE_CEILING at line 127. It expected cap/count 2 and finite grant 4; the actual receipt was cap 2, count 3, overshoot 1, newCap 4, frozen and paused. The failure took 6471 ms.

Earlier matched isolated runs passed this file on both base 541b8d98328a760290ac6dd4a7f065af76153408 and head. Subsequent #2880 validation reproduced the same Claude count-3/overshoot-1 assertion on that unchanged base with bun run test ./packages/ui-server/tests/turn-egress.test.ts ./packages/ui-server/tests/ws-scope-caps.test.ts ./packages/ui-server/tests/private-index-cache.test.ts: 67 pass, 1 fail across three files (136.13 s). The failing Claude case took 6391.45 ms. All private-index and egress cases passed in that invocation. This establishes another intermittent base observation; the cause and a controlled delivery/freeze reproduction remain unestablished. The related Pi scheduling repair is #2656 and explicitly excluded the Claude variant.

Scope

Attribute the Claude fixture's third call and arrange a controlled delivery/freeze schedule that demonstrates the failure. Preserve the exact two-call finite-grant scenario and separate legitimate overshoot behavior. Record whether fixture progress ordering or production observation is responsible before choosing the repair.

Out of scope

Changing production caps/ceilings, weakening the exact-count assertion to accept either branch, changing the Pi gate, or extending native freeze windows to conceal scheduling.

Acceptance criteria

  • Reproduce and explain count 3 at the first observed pause with explicit fixture/host checkpoints.
  • Preserve exact cap/count 2 and grant 4 for the intended positive case, real heartbeat growth/freeze, observation-held refusal, grant authority/idempotence, second-hit Stop-only, and native Stop.
  • Keep the Pi and voice controls intact.
  • Show a causal failing-first and restored mutation without unrelated CPU stress or retries for green; join all owned children, holds and streams on failure too.

Verification

bun run test packages/ui-server produced the observation. bun run test packages/ui-server/tests/turn-egress.test.ts packages/ui-server/tests/ws-scope-caps.test.ts passed the scope cases on both recorded revisions. A controlled reproduction is still needed; the full-suite failure remains unresolved.

Contract impact

None expected; scope policy is unchanged.

2026-10-25: added the independent #2880 base receipt; the earlier statement that no base overshoot was reproduced is superseded.

2026-10-25 triage at main dcd3b336dbade5e29e8a131eeeb5a0d9cffe60ff: Sorted this complete source-bound attribution report as wanted unscheduled p2 work. Retain needs: repro and all original failures, bounded controls, deadlines and ownership/authority assertions; passing reruns do not establish a cause or repair. Existing parent/standalone scope and release commitments are preserved.

Later controlled evidence (2026-10-25)

The later complete ui-server run on unchanged PR #2920 head 693decb725c531381c6086f7ac050a7a4de1a46a passed 4,002 tests / 0 failures / 0 errors, including ws-scope-caps 5/5, through the coordinator’s four-slot wrapper. The earlier first-pause overshoot did not recur and no source, guard or deadline changed for the probe. This does not identify the delivery/freeze ordering or establish a correction; the existing exact-count and overshoot distinctions remain binding.

2026-10-25 triage at main c670449d3bf1b0639e50ce554d728961f4313add: Folded the later controlled results and their exact coverage limits into the current specification. Retain needs: repro and the historical failed receipts; a passing probe is not a correction or a substitute for failed candidate proof.

Recurrence check and loaded control — 2026-11-03

Main CI recurrence check (2026-11-03): in the window 2026-10-26 18:00 UTC to 2026-11-03 08:00 UTC, main CI ran 116 times; 97 runs were green and the failed-job logs of the other 19 contain no failure of this case or of SCOPE_ADAPTER_PAUSES_WITH_EXACT_FINITE_CEILING. Main CI selects affected suites, so this loosely bounds hosted recurrence; it is not a flake rate, a reproduction or a repair. The ws-scope-caps failures in main run 41570686958 (2026-11-03, e04768a3f) are a different signature: receipts with dimension: "free_space_floor" from a runner low on disk, which #3379 addresses. They are not a count-3 recurrence.

Loaded local control at main 3d3516a02, Bun 1.4.2, offline frozen install in an isolated worktree, unchanged source: bun run test ./packages/ui-server/tests/ws-scope-caps.test.ts once unloaded (5/5, 8.9 s), then 20 times beside 96 owned busy-loop processes on a 32-CPU host (load average about 100). All 20 runs passed 5/5, the slowest in 32.1 s. Imposed CPU load did not reproduce count 3. The acceptance criteria exclude CPU stress as a repair path anyway, so this only bounds the trigger: plain CPU oversubscription is not enough. The controlled delivery/freeze schedule is still the missing evidence.

Triage 2026-11-03: added main-CI recurrence check and 20-run loaded non-reproduction; needs: repro and p2 unchanged.

Activity

  1. added
    type: fix
    area: ui-server
    needs: repro
    on Oct 25, 2026
  2. added this to the 0.45.0 milestone on Oct 25, 2026
  3. added
    priority: p2
    on Oct 25, 2026
  4. schlessera commented on Oct 25, 2026

    @schlessera
    OwnerAuthor

    2026-10-25 triage at main dcd3b336dbade5e29e8a131eeeb5a0d9cffe60ff: Sorted this complete source-bound attribution report as wanted unscheduled p2 work. Retain needs: repro and all original failures, bounded controls, deadlines and ownership/authority assertions; passing reruns do not establish a cause or repair. Existing parent/standalone scope and release commitments are preserved.

  5. schlessera commented on Oct 25, 2026

    @schlessera
    OwnerAuthor

    Capped requalification at unchanged PR #2920 head 693decb725c531381c6086f7ac050a7a4de1a46a completed: the complete ui-server suite passed 4002 tests, 0 failures, 0 errors, including ws-scope-caps.test.ts 5/5. The command ran through the coordinator's four-slot wrapper. The earlier first-pause overshoot did not recur, and no source, guard or deadline changed for this requalification. This controlled pass does not establish a product cause for the earlier observation.

  6. schlessera commented on Oct 25, 2026

    @schlessera
    OwnerAuthor

    2026-10-25 triage at main c670449d3bf1b0639e50ce554d728961f4313add: Folded the later controlled results and their exact coverage limits into the current specification. Retain needs: repro and the historical failed receipts; a passing probe is not a correction or a substitute for failed candidate proof.

  7. schlessera commented on Nov 3, 2026

    @schlessera
    OwnerAuthor

    Decision (maintainer, 2026-11-03): closing as not reproducible. No main CI failure carries this signature since 2026-10-26, and bounded loaded local runs on main 3d3516a02 passed (details in the 2026-11-03 body update). Reopen on recurrence, with the failing run link and host load recorded.

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-serverneeds: repropriority: p2type: fix

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions