Repository navigation
Fix native waits for actionable child-result mailbox events - #880
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
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.
Summary
Why
Child completion messages carry
origin=Resultwithout 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
rustfmtapplied with the repository configurationgit diff --check