Skip to content

test: browser profile and claude-code agents tests time out at the 5 s default under load #436

Closed

Description

@ElbertePlinio

Two CLI tests timed out at vitest's 5000 ms default during a local full coverage run at load average about 18. That run was the full suite for the #424 branch, with no change to these files. Both files pass alone (41 tests).

  • packages/cli/test/browser-session.test.ts:150, "reports unsafe profiles while listing healthy profiles in text and JSON", spawns the built CLI twice with the default timeout.
  • packages/cli/test/agents.test.ts:692, "surfaces unrelated claude mcp add failures", spawns it once with the default timeout.

#249 sized multi-spawn CLI tests by spawn count. The browser profile test was not part of that audit. A single spawn passing 5 s needs heavy load, so the agents case may only need the same sizing if it repeats.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions