Skip to content

Claude intercept headless parity test returns management 404 instead of success #7416

Closed

Description

@lidge-jun

Client or integration

Other

Area

CLI

Summary

The unrelated CLI headless parity test for Claude intercept start fails with a management 404 while validating #7414. The account-pool patch does not change this test or the Claude intercept handler. No scope expansion to repair it is included.

Reproduction

Run bun test tests/cli/cli-headless-parity.test.ts with the repository's Bun 1.4.3 runner and isolated test homes. The first changed-mode run also reproduced it.

Version

#7414 at e2ab0d7; base eb4bf96

Operating system

macOS arm64

Logs or error output

Claude intercept start uses the management POST and preserves refusal exit status, tests/cli/cli-headless-parity.test.ts:1812: expected exit 0, received 4. Error: Management request failed (404).

Screenshots and supporting files

#7414
First changed-mode run: 35,244 pass / 43 skip / 8 fail; six failures belonged to a then-changing local regression slice and are not final-head evidence. This CLI failure is tracked independently.

Checks

  • I searched existing issues and documentation.
  • I removed secrets, tokens, account details, request credentials, and personal data.

Follow-up: the two-file focused run completed with this CLI case PASS; 171 pass / 4 timeout failures overall, all four in update-job.test.ts. Treat the CLI 404 as order/load-sensitive until isolated; a deterministic standalone failure is not established.

Activity

  1. added
    bug
    on Oct 19, 2026
  2. github-actions commented on Oct 19, 2026

    @github-actions
    Contributor

    Automated translation bookkeeping — detected language: English.

  3. added
    cli
    on Oct 19, 2026
  4. Ingwannu commented on Oct 20, 2026

    @Ingwannu
    Owner

    Checked against trusted dev 12025981e5a304cdb6b1b54f525ba8554f623977. The follow-up changes the disposition: the CLI case passed subsequently, so the initial management 404 is an unresolved order/load-sensitive harness failure, not a proven deterministic routing defect or a clean baseline. Preserve the initial failing receipt and add ordered two-file/standalone receipts with the same fake management route table and awaited cleanup. Do not broaden #7414 or label the whole earlier run green; this remains separate from #7417.

  5. lidge-jun commented on Oct 22, 2026

    @lidge-jun
    OwnerAuthor

    Fixed on dev by #7468 (944647100c), which shipped in 2.91.0: the fake management runtime in cli-headless-parity.test.ts now binds loopback explicitly, so another process can no longer take its requests on the same port. Closing manually because GitHub only auto-closes from main; reopen if it recurs on current dev.

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

    bugcli

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions