Skip to content

multer fails in Ubuntu / Node.js 26.x in GitHub Actions #1165

Description

@MikeMcC399

Module multer fails in Ubuntu / Node.js 26.x when manually tested in https://github.com/nodejs/citgm/actions/workflows/test-module.yml

image

...

error:                     | 166 passing (10s)
error:                     | 1 failing
error:                     |
error:                     | 1) disk storage flush cleanup on aborted uploads
error:                     | should defer the abort unlink until the flush descriptor is closed:
error:                     |
error:                     | Uncaught AssertionError [ERR_ASSERTION]: _removeFile callback never fired (cleanup hung)
error:                     | + expected - actual
error:                     |
error:                     | -false
error:                     | +true
error:                     |
error:                     | at Timeout._onTimeout (test/abort-flush-fd-race.js:108:16)
error:                     | at listOnTimeout (node:internal/timers:685:17)
error:                     | at process.processTimers (node:internal/timers:618:7)
error: done                | The smoke test has failed.

cc: @LinusU @UlisesGascon

Originally posted by @MikeMcC399 in #1096 (comment)

Activity

  1. MikeMcC399 commented on Oct 5, 2026

    @MikeMcC399
    ContributorAuthor

    On Ubuntu 26.04.1 LTS with Node.js 26.10.0 tested locally:

    npm install citgm@10.0.3 -g
    citgm multer

    succeeds with:

    $ citgm multer
    info: starting            | multer
    info: lookup              | multer
    info: lookup-found        | multer
    info: multer lookup-replace| https://github.com/expressjs/multer/archive/35979e5afbb814bdb4b750ce028b125eb84c53af.tar.gz
    info: multer npm:         | Downloading project: https://github.com/expressjs/multer/archive/35979e5afbb814bdb4b750ce028b125eb84c53af.tar.gz
    info: multer npm:         | Project downloaded 35979e5afbb814bdb4b750ce028b125eb84c53af.tar.gz
    info: multer npm:         | npm install started
    info: multer npm:         | npm install successfully completed
    info: multer npm:         | test suite started
    info: passing module(s)   |
    info: module name:        | multer
    info: version:            | 2.4.0
    info: done                | The smoke test has passed.
    info: duration            | test duration: 28717ms

    So the root cause of the failure in GitHub Actions is currently unclear. It appears to be a timing bug somewhere.

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