Skip to content

Test: find the cause of the warm-arm compact-call failure under coverage #317

Open

Description

@ivory-code

During the 0.5.2 release gate, pnpm run coverage failed once in test/agent-repository-arms.test.mjs ("optional config is offline harness-only…") at the warm-arm assertion that expects one compact qamap_qa call. Isolated reruns, a full diagnostic rerun, repeated runs and parallel-contention runs did not reproduce it. The cause is unknown.

Mitigation in 0.5.2: coverage runs with --test-concurrency=2, and the assertion now prints diagnostics (command failures, timeouts, truncated responses and calls by tool).

Done when: the cause is found from a captured failure's diagnostics, or the failure is reproduced on demand. Remove the concurrency bound only with that evidence.

Reproduction follow-up (2026-11-19)

  • On 15f1fcb22dececa3f289217155411222dd7ac9a9 with Node 24.22.1, the focused coverage test passed in six attempts. Two of those attempts ran concurrently in separate processes.
  • The nearest public revision before the mitigation, 5398373f51145f400fb2b474bcfce9d620b6c60c, passed the focused check and all 833 tests under full coverage with Node 22.14.0. The original failing worktree and failure log were unavailable.
  • The existing mitigation stays in place. The issue remains open under its original completion criteria.

Focused replay on current main after pnpm build:

node --test --test-concurrency=2 --experimental-test-coverage \
  --test-coverage-include='dist/**/*.js' \
  --test-name-pattern='optional config is offline harness-only' \
  test/agent-repository-arms.test.mjs

0.5.4 candidate status (2026-11-23)

The release preparation PR #340 retains the existing coverage worker limit and failure diagnostics. The issue is open under its original completion criteria while the intermittent failure remains unexplained.

The focused coverage replay from this issue passed on integration snapshot 6548d6d (#339) with Node 24.22.1 (1 test, 0 failures). The historical failure remains unreproduced.

Activity

  1. self-assigned this
    on Oct 13, 2026
  2. added
    type: test
    on Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: agenttype: test

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions