You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Eligible resumable Action fails to launch without actionable diagnostics #404
An opted-in resumable Project Action cannot start through MCP, and the error provides no actionable diagnosis.
Observed sequence:
list_project_actions returns Prepare Dependencies (lc-prepare-dependencies) with resumeEligible: true and disabledReason: null.
run_project_action_and_resume returns Failed to launch Action "Prepare Dependencies". without a run identity or continuation result.
A fresh list still reports the Action eligible. One bounded retry returns the same error.
The underlying cause is unknown. No successful preparation or validation is established by these calls.
In apps/server/src/actionResume/ActionResume.ts, launchActionUnlocked captures the launch failure, finishes without delivery, deletes the terminal history, and returns only the generic launch_failed message. Preserve a useful diagnostic and expose a sanitized actionable reason so agents can distinguish terminal launch, persistence, and command-write failures. Add focused failure-path coverage; do not bypass resumable Actions to work around this.
Root cause confirmed in both failed launch traces: TerminalHistoryError wraps FileSystem.access failing with ENAMETOOLONG while reading a new Action terminal history file.
TerminalManager.historyPath embeds the base64url-encoded thread ID and terminal ID in one filename. App-owned delegated thread IDs can already be long; adding the Action UUID exceeds a filesystem component limit before the terminal opens or the preparation command runs. The separate profile filename adds another suffix.
Use bounded collision-resistant filenames for retained terminal data, with focused coverage for long delegated IDs and their profile files. Action launch should also preserve a sanitized useful cause rather than return only launch_failed.
The immediate task can continue through the existing managed Action on its parent thread, which has a shorter ID and the same checkout. This does not require direct installer execution or a runtime restart.
Reproduced again while repairing a packaged-server update. The Action remains eligible, but launch fails in terminal.persistHistoryProfile with ENAMETOOLONG before the preparation command starts. The delegated thread ID plus Action UUID still produces an oversized filename, including the .log.profile.json suffix.
This is the existing bounded-filename bug, not a dependency-install failure. The original update repair remains separate; no terminal-history change is included in its PR.
Activity
lastobelus commentedon Oct 14, 2026
Root cause confirmed in both failed launch traces:
TerminalHistoryErrorwrapsFileSystem.accessfailing withENAMETOOLONGwhile reading a new Action terminal history file.TerminalManager.historyPathembeds the base64url-encoded thread ID and terminal ID in one filename. App-owned delegated thread IDs can already be long; adding the Action UUID exceeds a filesystem component limit before the terminal opens or the preparation command runs. The separate profile filename adds another suffix.Use bounded collision-resistant filenames for retained terminal data, with focused coverage for long delegated IDs and their profile files. Action launch should also preserve a sanitized useful cause rather than return only
launch_failed.The immediate task can continue through the existing managed Action on its parent thread, which has a shorter ID and the same checkout. This does not require direct installer execution or a runtime restart.
lastobelus commentedon Oct 22, 2026
Reproduced again while repairing a packaged-server update. The Action remains eligible, but launch fails in
terminal.persistHistoryProfilewithENAMETOOLONGbefore the preparation command starts. The delegated thread ID plus Action UUID still produces an oversized filename, including the.log.profile.jsonsuffix.This is the existing bounded-filename bug, not a dependency-install failure. The original update repair remains separate; no terminal-history change is included in its PR.