Skip to content

Restore --timeout as compile-only; add --execution-timeout (#2247) - #2256

Merged
rafal-hawrylak merged 1 commit into
mainfrom
restore-timeout-compile-only
Aug 25, 2026
Merged

Restore --timeout as compile-only; add --execution-timeout (#2247)#2256
rafal-hawrylak merged 1 commit into
mainfrom
restore-timeout-compile-only

Conversation

@rafal-hawrylak

Copy link
Copy Markdown
Collaborator

Fixes #2247. PR #2211 (JiT integration) silently changed --timeout from compile-only to a whole-run wall-clock deadline, causing existing runs to exit 1 with no output after the previously-effective compile duration.

  • Restore --timeout to compile-only (matches 3.0.63 semantics and describe text).
  • Add --execution-timeout (off by default) for the whole-run deadline.
  • On TIMED_OUT/CANCELLED, print a top-level reason line so exit 1 is no longer silent; propagate the cancel reason to per-action SKIPPED lines.
  • When --timeout is passed without --execution-timeout, print an advisory notice pointing at the new flag (JSON output unaffected).

Fixes #2247. PR #2211 (JiT integration) silently changed --timeout from
compile-only to a whole-run wall-clock deadline, causing existing runs to
exit 1 with no output after the previously-effective compile duration.

- Restore --timeout to compile-only (matches 3.0.63 semantics and describe text).
- Add --execution-timeout (off by default) for the whole-run deadline.
- On TIMED_OUT/CANCELLED, print a top-level reason line so exit 1 is no
  longer silent; propagate the cancel reason to per-action SKIPPED lines.
- When --timeout is passed without --execution-timeout, print an advisory
  notice pointing at the new flag (JSON output unaffected).
@rafal-hawrylak
rafal-hawrylak merged commit 9f0174c into main Aug 25, 2026
11 checks passed
@rafal-hawrylak
rafal-hawrylak deleted the restore-timeout-compile-only branch August 25, 2026 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--timeout semantics silently changed from "compile-only" to "whole command", breaking existing runs without any error output (3.0.63 → 3.0.64)

2 participants