On the ephemeral host-mode runner eph-pve3-112, NEEDRESTART_MODE=a (added in #68 to stop the interactive prompt) made needrestart restart act-runner.service itself during the "Install Node.js 22" apt step. That killed PR #76's build-linux job (run 5217, signal: terminated); a rerun passed.
Change
In build-app.yml and build-app-preview.yml, at the workflow level and in every sudo env … apt-get:
NEEDRESTART_SUSPEND=1 skips needrestart entirely.
NEEDRESTART_MODE=l (list only) replaces a. It's a fallback that never prompts and never restarts anything, in case a runner's needrestart ignores SUSPEND.
No other workflow runs apt.
Testing
Both files parse as YAML, and no NEEDRESTART_MODE=a is left.
This PR's own preview run exercises the apt steps. One green run doesn't prove much, because it depends on which runner picks up the job.
On the ephemeral host-mode runner `eph-pve3-112`, `NEEDRESTART_MODE=a` (added in #68 to stop the interactive prompt) made needrestart **restart `act-runner.service` itself** during the "Install Node.js 22" apt step. That killed PR #76's build-linux job (run 5217, `signal: terminated`); a rerun passed.
## Change
In `build-app.yml` and `build-app-preview.yml`, at the workflow level and in every `sudo env … apt-get`:
- `NEEDRESTART_SUSPEND=1` skips needrestart entirely.
- `NEEDRESTART_MODE=l` (list only) replaces `a`. It's a fallback that never prompts and never restarts anything, in case a runner's needrestart ignores SUSPEND.
No other workflow runs apt.
## Testing
- Both files parse as YAML, and no `NEEDRESTART_MODE=a` is left.
- This PR's own preview run exercises the apt steps. One green run doesn't prove much, because it depends on which runner picks up the job.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
On a host-mode ephemeral runner (eph-pve3-112), NEEDRESTART_MODE=a made
needrestart restart act-runner.service during an apt-get install, which
killed the build-linux job (PR #76, run 5217). Skip needrestart entirely
with NEEDRESTART_SUSPEND=1, and fall back to list-only mode (l), which
never prompts and never restarts anything.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jknapp
merged commit cb9e51f08d into main2026-11-14 03:39:15 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
On the ephemeral host-mode runner
eph-pve3-112,NEEDRESTART_MODE=a(added in #68 to stop the interactive prompt) made needrestart restartact-runner.serviceitself during the "Install Node.js 22" apt step. That killed PR #76's build-linux job (run 5217,signal: terminated); a rerun passed.Change
In
build-app.ymlandbuild-app-preview.yml, at the workflow level and in everysudo env … apt-get:NEEDRESTART_SUSPEND=1skips needrestart entirely.NEEDRESTART_MODE=l(list only) replacesa. It's a fallback that never prompts and never restarts anything, in case a runner's needrestart ignores SUSPEND.No other workflow runs apt.
Testing
NEEDRESTART_MODE=ais left.🤖 Generated with Claude Code