Repository navigation
Implement native event-driven waiting for V2 - #769
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 support for native_event_wait and handles SubscriptionLoss as a completion reason in the multi-agent wait tool. Specifically, it adds a native_event_wait parameter to the wait agent tool parameters, allowing invocations to remain pending across internal lease expiries. It also introduces SubscriptionLoss to represent when an event subscription is lost before a terminal state is reached, ensuring robust lifecycle handling. Corresponding tests and capability merging logic have been updated to support these features. I have no feedback to provide as there are no review comments.
* feat: extend V2 waits to event-driven runtime ceiling * style: format V2 wait regression * fix: keep V1 wait timeout contract unchanged * style: avoid duplicate V2 wait import * feat(core): opt into native event wait lease rearming * style(core): format native wait capability predicate * style: apply hosted formatter fixes * fix: allow zero-timeout native event waits * fix native wait zero-timeout lease polling * chore: fix wait handler formatting and argument comments * fix: format lease timer test calls * fix: match hosted rustfmt lease timer layout * test(core): cover positive native wait lease renewal * test(core): observe native wait lease renewals * test(core): bound native lease observation * test(core): make lease observer sendable * test(core): pass shared session to lease helper * test(core): repair native wait fixture lint * style(core): align native wait formatting * style(core): satisfy hosted rustfmt
Summary
Validation
This fresh successor preserves the earlier event-wait candidates while providing a formatter-clean candidate for hosted validation.