Skip to content

lru-cache fails on Node.js 22 #1222

Open

Description

@MikeMcC399

Situation

Running citgm lru-cache fails:

  • on Node.js 22 for macos, windows & ubuntu
Item Status
docs page https://isaacs.github.io/node-lru-cache/
npm package https://www.npmjs.com/package/lru-cache
npm status active
last published 11.5.3 Sep 19, 2026
weekly downloads 652,744,103
repo location https://github.com/isaacs/node-lru-cache
repo last update to default branch Sep 19, 2026
repo status active
repo CI status runs in Node.js 24 & 25
lookup release / HEAD release
lookup - skip aix
lookup - flaky win32
lookup maintainer 1 isaacs

Repo CI https://github.com/isaacs/node-lru-cache/blob/main/.github/workflows/ci.yml runs in Node.js 24 & 25

Steps to reproduce

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

Module to test: lru-cache
CITGM repository to checkout: nodejs/citgm
CITGM GitHub ref to checkout: main

Result

Fails on Node.js 22 all OS
Fails on Node.js 22, 24 & 26 for Windows

Node.js npm macos ubuntu windows
22.23.4 10.9.9 FAIL FAIL FAIL
24.22.1 11.19.1 PASS PASS FAIL
26.12.1 11.20.0 PASS PASS FAIL

win32 is already skipped in lookup.json. No action needed for Windows

References

citgm/lib/lookup.json

Lines 257 to 264 in 98ba854

"lru-cache": {
"envVar": { "TAP_TIMEOUT": "300" },
"prefix": "v",
"maintainers": "isaacs",
"flaky": ["win32"],
"skip": "aix",
"comment": "Marked as flaky on win32 due to this issue https://github.com/nodejs/citgm/issues/930"
},

Suggestion

Activity

  1. MikeMcC399 commented on Nov 6, 2026

    @MikeMcC399
    ContributorAuthor

    See #1228

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