A hung npm ci in CI times out and retries instead of holding a runner for hours #358
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lantea-one/ninlil#358
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
On 2026-11-06 two jobs hung in
npm cion asgard: task 8304 (run 1287, Test .NET) from 15:36 and task 8349 (run 1289, Build Binary macos-amd64) from 16:06. Both were in the "Build the Admin Console" step (.forgejo/scripts/build-admin-console.sh).http cache ... (cache hit)), then the deprecation warnings, then nothing.epoll_waitwith no CPU and no sockets for 55 and 85 minutes, until the owner cancelled the runs by hand. The develop push run forbc56d8ccwaited behind them.npm ciruns overlapped and share one cache (/cache/npm, mounted by.forgejo/scripts/in-container.sh). That may be the trigger, but it is not proven..forgejo/workflows/setstimeout-minutes, and nothing limitsnpm ci, so a hang lasts until the runner's default job timeout.What changes
npm ciin CI (.forgejo/scripts/build-admin-console.shand theInstall Dependenciesstep in.forgejo/workflows/pipeline.yml) runs under a time limit, with one retry after a timeout. Use a shared helper rather than two copies, and make suretimeoutexists in theninlil-builder-nodeimage.timeout-minutesset comfortably above its normal duration (read the recent run times).npm cia private copy of the cache or by setting--prefer-offline. Only do this if it is cheap and keeps cache hits.Acceptance
.forgejo/workflows/*.ymlhastimeout-minutes.Ghost referenced this issue2026-11-06 17:27:52 -05:00
Ghost referenced this issue2026-11-06 21:29:02 -05:00