Skip to content

Fix native waits for actionable child-result mailbox events - #880

Merged
GraciousGazelles merged 2 commits into
mainfrom
fix/w14069-native-mailbox-wake
Sep 21, 2026
Merged

GraciousGazelles merged 2 commits into
mainfrom
fix/w14069-native-mailbox-wake

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Summary

  • treat plaintext child-result mailbox entries as actionable for exact-target native waits
  • retain ordinary queue-only progress as durable without waking the wait
  • keep encrypted and unavailable payloads out of successful actionable wake classification
  • add focused input-queue coverage for result wake and encrypted/unavailable non-wake behavior

Why

Child completion messages carry origin=Result without requesting a new turn. The native exact-target wait observed mailbox activity but did not classify that completion as actionable, so it re-armed and the result surfaced only after a later wake.

Validation

  • rustfmt applied with the repository configuration
  • git diff --check
  • hosted focused tests and standard CI are required for acceptance

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 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
🔒 Security Review ✅ Completed 2026-09-20T23:20:53.305365Z 23bdf5f PR opened
ℹ️ 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.

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request introduces the has_actionable_wait_mailbox_items method to the InputQueue to allow the system to treat plaintext result messages as actionable. The reviewer identified a regression in the implementation where the new plaintext and non-empty content checks were incorrectly applied to all messages, including those that already have trigger_turn set to true. A code suggestion was provided to ensure these restrictions only apply to Result messages that do not explicitly request a turn trigger.

@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Sep 21, 2026
Merged via the queue into main with commit 67502da Sep 21, 2026
110 checks passed
@GraciousGazelles
GraciousGazelles deleted the fix/w14069-native-mailbox-wake branch September 21, 2026 01:01
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.

1 participant