Skip to content

fix(core): allow build commands beyond ten minutes - #379

Merged
lg2m merged 3 commits into
mainfrom
feat/durable-command-deadlines
Oct 21, 2026
Merged

lg2m merged 3 commits into
mainfrom
feat/durable-command-deadlines

Conversation

@lg2m

@lg2m lg2m commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Builds could not request more than 600 seconds, even when the enclosing task had more time. Shell and exec now accept positive deadlines that fit the monotonic clock; the 120-second default, run budget and cancellation still apply. Malformed-input and schema-identity fixtures reflect that contract. This is the first slice of the durable execution stack; it does not add background execution, restart recovery or OS containment.

Verified the new regression failed before the fix, then passed 54 focused command/deadline tests, the malformed-envelope regression and both schema-identity tests. A native process survives 601 seconds of controlled clock advancement, and the session deadline still cancels and drains a command with a longer deadline. The real CLI smoke scenario exercises shell and exec with 1800-second deadlines. Formatting, repository lint and Clippy pass. Broad tests run in CI; native macOS/Windows execution has not been tested locally.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T21:33:29.007120Z 43dce06 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fcaf61dd44

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/qq-core/src/tools/shell.rs Resolved
@lg2m

lg2m commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@lg2m lg2m added the ci:full label Oct 20, 2026
@lg2m
lg2m added this pull request to stack #386 October 21, 2026 01:34
@lg2m
lg2m merged commit f6ba925 into main Oct 21, 2026
11 of 12 checks passed
@lg2m
lg2m deleted the feat/durable-command-deadlines branch October 21, 2026 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant