Skip to content

Test native wait renewal continuity - #798

Merged
GraciousGazelles merged 5 commits into
mainfrom
validation/w13775-native-wait-runtime-proof-20260907
Sep 7, 2026
Merged

GraciousGazelles merged 5 commits into
mainfrom
validation/w13775-native-wait-runtime-proof-20260907

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Summary

  • add a call-correlated TRACE marker for native wait lease renewals
  • add a real-runtime test proving existing native wait renewals cause no intermediate provider request
  • cover native lease rearming, terminal wake behavior, subscription-loss classification, and zero-timeout timer behavior

Validation

  • rust-ci-full run 34064430016
  • exact validated head: 92001d4e1371d985af14998ab4bfd4c1fca8a864
  • Linux x86_64 full CI: all jobs passed
  • Nextest aggregate: 13,904 tests passed and 25 ignored tests skipped
  • The hosted workflow retained aggregate results only; no individual passing-test artifacts were available, so the native-wait execution conclusion is aggregate-derived rather than a per-test PASS claim.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 6, 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-06T23:27:21.336780Z 92001d4 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 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.

@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Sep 7, 2026
Merged via the queue into main with commit 61fd698 Sep 7, 2026
90 checks passed
@GraciousGazelles
GraciousGazelles deleted the validation/w13775-native-wait-runtime-proof-20260907 branch September 7, 2026 06:11
sedna-release-publisher Bot pushed a commit that referenced this pull request Sep 15, 2026
* 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
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