Skip to content

ava fails on Node.js >=24 #1169

Description

@MikeMcC399

Situation

Running citgm ava passes only on Node.js 22 with macos & ubuntu and fails everything else.

Item Status
npm package https://www.npmjs.com/package/ava
npm status active
last published 8.0.1 May 17, 2026
weekly downloads 550,332
repo location https://github.com/avajs/ava
repo last update to default branch May 17, 2026
repo status quiet
repo CI status runs in current Node.js versions
lookup - skip "ppc", "win32", "x86", "rhel", "aix", "ia32"
lookup maintainer 1 sindresorhus
lookup maintainer 2 novemberborn

Cloning the repo and running local tests using Ubuntu 26.04.1 LTS and running under Node.js 22, 24 & 26 confirm the compatibility issues for Node.js 24 & 26.

Steps to reproduce

Run https://github.com/nodejs/citgm/actions/workflows/test-module.yml

Module to test: ava
CITGM repository to checkout: nodejs/citgm
CITGM GitHub ref to checkout: main

Result

Fails most current variants:

Node.js npm macos ubuntu windows
22.23.3 10.9.9 PASS PASS FAIL
24.21.0 11.19.0 FAIL FAIL FAIL
26.10.0 11.19.1 FAIL FAIL FAIL

References

citgm/lib/lookup.json

Lines 51 to 56 in 4d3d256

"ava": {
"prefix": "v",
"skip": ["ppc", "win32", "x86", "rhel", "aix", "ia32"],
"maintainers": ["sindresorhus", "novemberborn"],
"timeout": 600000
},

cc: @sindresorhus @novemberborn

Activity

  1. MikeMcC399 commented on Oct 5, 2026

    @MikeMcC399
    ContributorAuthor

    Suggestion

    • Fix the Node.js 24 & 26 compatibility issues in https://github.com/avajs/ava OR
    • Add a skip >=24 to citgm lookup to block testing on incompatible Node.js release lines (retain current skips)
  2. MikeMcC399 commented on Oct 8, 2026

    @MikeMcC399
    ContributorAuthor

    CI workflow is https://github.com/avajs/ava/blob/main/.github/workflows/ci.yml

    https://github.com/avajs/ava/actions/runs/26000541390 last tested on May 17, 2026.
    Logs are no longer available.
    Current Node.js 26.x at that time was Node.js 26.1.0

    Node.js citgm ava result
    26.1.0 pass
    26.4.0 pass
    26.5.0 fail
    26.11.1 fail

    A test regression appears with Node.js 26.5.0, released 2026-07-08.

    nodejs/node#64329 (comment) noted multiple regressions in CITGM with the Node.js 26.5.0 release, including ava-v8.0.0.

  3. MikeMcC399 commented on Oct 8, 2026

    @MikeMcC399
    ContributorAuthor

    This appears to be an issue with the snapshots saved in the test-tap/reporters/tap.edgecases.v*.log of https://github.com/avajs/ava which refer to line numbers that have changed within the Node.js release line updates, for instance between Node.js 26.4.0 and Node.js 26.5.0.

    This could be fixed by just re-recording the snapshots so they correspond to the latest Node.js releases for each supported release line. That would however make the test fail on earlier releases of the same release line.

    cc: @sindresorhus @novemberborn

  4. novemberborn commented on Oct 8, 2026

    @novemberborn
    Contributor

    That's now fixed in main but there's an unrelated CI failure which stops me from releasing.

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