Repository navigation
Test native wait renewal continuity - #798
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 tracing logs for native wait lease renewals by passing the call_id to the wait handler, and adds a corresponding integration test to verify that native wait rearms without intermediate provider requests. The review feedback highlights three key improvements for the test: avoiding the use of internal APIs from external crates (tracing_test::internal::MockWriter), preventing memory leaks caused by Box::leak by implementing a custom thread-safe writer, and replacing a busy-wait tokio::task::yield_now() loop with a short sleep to avoid high CPU consumption and potential test flakiness.
* test(core): prove native wait rearm stays in one turn * test(core): keep native wait trace capture on one runtime * style(core): format native wait runtime proof * test(core): repair native wait proof compilation * test(core): repair native wait trace capture
Summary
Validation
92001d4e1371d985af14998ab4bfd4c1fca8a864