Skip to content

bug: Prolonged test suite exceeding CLI default timeout of 5 minutes displaying false positives #979

Closed

Description

@Dnhem

Node.js version

18.20.2

NPM version

10.5.0

@checkly/cli version

4.9.1

Steps to reproduce

npx checkly test --timeout=1 --reporter=github

What is expected?

  • Test suite exceeding CLI default timeout of 5 minutes should not display failed test result(s) on GitHub MD report
  • Timeout should be flexible/increased to allow test suite to finish executing instead of displaying false positive on GitHub MD report

What is actually happening?

Misalignment - GitHub MD displays false positives while Test Sessions are displaying passed results

image

Any additional comments?

No response

Activity

  1. sorccu commented on Nov 12, 2024

    @sorccu
    Member

    Thanks for the report, I'll look into this as soon as possible.

  2. everzel commented on Nov 26, 2024

    @everzel

    @sorccu Hi, any updates?

  3. sorccu commented on Oct 26, 2026

    @sorccu
    Member

    Thanks for the report, and sorry it sat for so long.

    This has been addressed in a few steps since CLI version 4.9.1:

    • The timeout is longer and per check. --timeout now applies to each check separately rather than to the whole run. It defaults to 600 seconds (1200 for Playwright checks), restarts when a check starts running and on each retry, and no longer counts time a check spends queued before it starts. A long test suite whose individual checks finish in time no longer hits the timeout.
    • Reports explain the mismatch. When the CLI does stop waiting for a check, the output lists it under "Execution Errors" and says the test session may show a different status for it.
    • Timed-out checks are no longer shown as failures. With fix(reporters): report CLI-side timeouts as timed out, not failed [RED-1276] [ship] #1582, a check the CLI stopped waiting for is reported as timed out: ⏱️ Timed out in the GitHub markdown, ⏱ and an "N timed out" count in the list and ci output, T in the dot reporter, and "result": "Timed out" in the json report. The run still exits with code 1, because the CLI never received a result for that check.

    The first two are in current releases. The last one will close this issue when #1582 merges and will ship in the next release. If you still need more time for slow checks, raise --timeout.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions