Skip to content

feat(runtime): run Linux Auto tasks in isolated workspaces - #421

Merged
lg2m merged 42 commits into
feat/task-plan-bindingsfrom
feat/auto-session-execution
Oct 23, 2026
Merged

lg2m merged 42 commits into
feat/task-plan-bindingsfrom
feat/auto-session-execution

Conversation

@lg2m

@lg2m lg2m commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

Linux Auto sessions execute in detached task files through the durable command worker. Configuration stays bound to the source directory; tools use the admitted task directory. Publication rechecks current policy and conflicts, and recovery retains original command evidence and workspace fences.

Recovered-command waiters and headless idle drains react to shutdown and runtime failure. A new admission-race fix also keeps an observer attached when command registration occurs during its initial journal read, rather than incorrectly returning unavailable. Commands are not replayed and unresolved worker custody remains fenced.

Verified at e58aad74: the admission regression fails before the fix and passes afterward. The affected check passed formatting, lint, strict Clippy and all 2,489 tests (14 skipped). All current-head CI jobs passed, including Linux checks/smoke, native macOS/Windows workers, Windows teardown and wasm. Codex reviewed this exact head with no findings; no unresolved review threads remain.

This activates Linux Auto where the native backend qualifies. Scoped shell egress/credentials, stock-host/toolchain qualification and complete unattended-task verification remain unfinished. The macOS detached-descendant custody finding remains in #422; Windows containment findings remain in #425. Existing native-worker tests do not qualify those Auto backends.

Stacked on #420. macOS and Windows inherit these shared runtime fixes.

@lg2m lg2m added the ci:full label Oct 22, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 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-23T20:20:42.264777Z e58aad7 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

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@lg2m
lg2m force-pushed the feat/auto-session-execution branch from 64a65c4 to e37d7e1 Compare October 22, 2026 15:40
@lg2m
lg2m added this pull request to stack #430 October 22, 2026 17:02
@lg2m

lg2m commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@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: e37d7e1363

ℹ️ 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".

@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: 383da96101

ℹ️ 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".

@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: 48d237b943

ℹ️ 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".

@lg2m

lg2m commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: c52e79ade2

ℹ️ 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".

@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: 9bb74908de

ℹ️ 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".

@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: 0075e6b87a

ℹ️ 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/command_owner.rs Resolved
@lg2m

lg2m commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@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: 62db4797b2

ℹ️ 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".

@lg2m

lg2m commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: eb52e7b24b

ℹ️ 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".

@lg2m

lg2m commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@lg2m
lg2m force-pushed the feat/auto-session-execution branch from c7439ca to f9d2668 Compare October 23, 2026 06:33
@lg2m

lg2m commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Final review requested for rebased head f9d2668. CI 39912188673 passed, including Linux checks/smoke, native macOS and Windows ownership, Windows teardown and wasm.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: f9d26689aa

ℹ️ 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".

@lg2m

lg2m commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Please review the new shared runtime fix at e96da01. Recovered-command waiters now recheck durable state on shutdown and failure as well as settlement notifications. This addresses a hosted timeout where shutdown stopped observation after its database commit but before the settlement wake.

The new controlled regression failed before the fix and passes afterward, covering shutdown and runtime failure with unavailable, pending and replaced workers. All 13 focused recovery tests passed on this shared base. Twenty parallel suite repetitions (260 test executions) and the required affected gate (2,492 tests plus fmt/lint/strict Clippy) passed on the Windows descendant tree, which remained byte-for-byte identical through the restack. Hosted checks for this new head are pending.

The macOS containment escape in #422 and Windows containment failures in #425 remain separate open blockers; this request is for the shared-base PR.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: e96da01e9a

ℹ️ 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".

@lg2m

lg2m commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Final review requested for head 6f31428. Your previous clean review covered e96da01. The follow-up fixes the same missing lifecycle wake in close_when_idle, so headless drains return unavailable on external shutdown or failure instead of waiting forever for a settlement.

Both regressions failed before their fixes and pass afterward. All 15 focused lifecycle/recovery tests and the normal headless drain fixture passed; the required affected check on this exact head passed 2,488 tests, fmt, lint and strict Clippy. The new test is appended without moving existing legacy sleep anchors. Hosted checks are pending.

Please review #421 as the shared Linux/runtime base. The separately documented macOS Auto containment defect (#422) and Windows Auto defects (#425) remain unresolved and are not being presented as qualified.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: 6f31428039

ℹ️ 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".

@lg2m
lg2m merged commit 2cc92cd into main Oct 23, 2026
10 checks passed
@lg2m
lg2m deleted the feat/auto-session-execution branch October 23, 2026 21:37
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