Order unified exec lifecycle events reliably - #34713
Merged
copyberry[bot] merged 1 commit intoJul 22, 2026
Merged
Conversation
## What changed - Treat output-task closure as the signal that trailing output is complete, drain any remaining chunks before publishing command completion, and retain the grace period as a fallback. - Wait for deferred network-denial classification before emitting the final command result. - Serialize `write_stdin` interaction and completion events so an interaction that exits a process is published first, and avoid pruning processes while their terminal events are being finalized. ## Testing - Add coverage for late output, missing output-close signals, late network denials, interaction/completion ordering, cross-platform aggregated output, and pruning during finalization. GitOrigin-RevId: 46a118552bb1a4658b78aa5a5ca76eb8c5fba571
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/46a118552bb1a4658b78aa5a5ca76eb8c5fba571
branch
from
July 22, 2026 09:29
49b65e8 to
9fc715c
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/46a118552bb1a4658b78aa5a5ca76eb8c5fba571
branch
July 22, 2026 09:30
nextdumpling
temporarily deployed
to
issue-triage
July 22, 2026 09:35 — with
GitHub Actions
Inactive
nextdumpling
temporarily deployed
to
issue-triage
July 22, 2026 09:35 — with
GitHub Actions
Inactive
nextdumpling
temporarily deployed
to
issue-triage
July 22, 2026 09:35 — with
GitHub Actions
Inactive
nextdumpling
temporarily deployed
to
issue-triage
July 22, 2026 09:37 — with
GitHub Actions
Inactive
TeaShaman-cyber
temporarily deployed
to
issue-triage
July 22, 2026 09:59 — with
GitHub Actions
Inactive
TeaShaman-cyber
temporarily deployed
to
issue-triage
July 22, 2026 09:59 — with
GitHub Actions
Inactive
TeaShaman-cyber
temporarily deployed
to
issue-triage
July 22, 2026 09:59 — with
GitHub Actions
Inactive
PachiElCreador
temporarily deployed
to
issue-triage
July 22, 2026 10:04 — with
GitHub Actions
Inactive
PachiElCreador
temporarily deployed
to
issue-triage
July 22, 2026 10:04 — with
GitHub Actions
Inactive
PachiElCreador
temporarily deployed
to
issue-triage
July 22, 2026 10:04 — with
GitHub Actions
Inactive
wolfalphacloud
temporarily deployed
to
issue-triage
July 22, 2026 10:32 — with
GitHub Actions
Inactive
wolfalphacloud
temporarily deployed
to
issue-triage
July 22, 2026 10:32 — with
GitHub Actions
Inactive
wolfalphacloud
temporarily deployed
to
issue-triage
July 22, 2026 10:32 — with
GitHub Actions
Inactive
wolfalphacloud
temporarily deployed
to
issue-triage
July 22, 2026 10:33 — with
GitHub Actions
Inactive
sunshine-canva
temporarily deployed
to
issue-triage
July 22, 2026 10:47 — with
GitHub Actions
Inactive
sunshine-canva
temporarily deployed
to
issue-triage
July 22, 2026 10:47 — with
GitHub Actions
Inactive
sunshine-canva
temporarily deployed
to
issue-triage
July 22, 2026 10:47 — with
GitHub Actions
Inactive
sunshine-canva
temporarily deployed
to
issue-triage
July 22, 2026 10:48 — with
GitHub Actions
Inactive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Order unified exec lifecycle events reliably
What changed
write_stdininteraction and completion events so an interaction that exits a process is published first, and avoid pruning processes while their terminal events are being finalized.Testing