Skip to content

code-mode: preserve dropped observation output#29288

Merged
cconger merged 1 commit into
mainfrom
cconger/code-mode-runtime-compact-03e2-observation-delivery
Jun 21, 2026
Merged

code-mode: preserve dropped observation output#29288
cconger merged 1 commit into
mainfrom
cconger/code-mode-runtime-compact-03e2-observation-delivery

Conversation

@cconger

@cconger cconger commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Restore yielded output when an observation receiver disappears before delivery.
  • Preserve pending-frontier output and tool IDs across failed delivery.
  • Add dropped-observer coverage for yield and pending observations.

Why

Canceling a wait must not consume output or a pending frontier that the caller never received.

Impact

A later observation can recover undelivered incremental output without duplication.

Validation

  • Stack-tip validation: just test -p codex-code-mode -p codex-code-mode-protocol (70 passed).
  • Parent branch: cconger/code-mode-runtime-compact-03e-shutdown-hierarchy.

@cconger
cconger force-pushed the cconger/code-mode-runtime-compact-03e2-observation-delivery branch from f2cf22e to 78a5993 Compare June 21, 2026 06:24
@cconger
cconger force-pushed the cconger/code-mode-runtime-compact-03e-shutdown-hierarchy branch from 0118f65 to 442d204 Compare June 21, 2026 06:24
@cconger
cconger force-pushed the cconger/code-mode-runtime-compact-03e-shutdown-hierarchy branch from 442d204 to ebc9240 Compare June 21, 2026 19:08
@cconger
cconger force-pushed the cconger/code-mode-runtime-compact-03e2-observation-delivery branch from 78a5993 to aeac9d7 Compare June 21, 2026 19:24
Base automatically changed from cconger/code-mode-runtime-compact-03e-shutdown-hierarchy to main June 21, 2026 20:15
@cconger
cconger force-pushed the cconger/code-mode-runtime-compact-03e2-observation-delivery branch from aeac9d7 to 01fa5b8 Compare June 21, 2026 20:18
@cconger
cconger marked this pull request as ready for review June 21, 2026 20:20
@cconger cconger closed this Jun 21, 2026
@cconger cconger reopened this Jun 21, 2026
@cconger
cconger merged commit 3b605b9 into main Jun 21, 2026
32 checks passed
@cconger
cconger deleted the cconger/code-mode-runtime-compact-03e2-observation-delivery branch June 21, 2026 20:53
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants