Repository navigation
test(core): verify managed native asynchronous waiting - #64
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. |
|
Caution Review failedThe pull request is closed. Walkthrough
Merge Risk:
|
|
@codex review |
|
Codex Review: Didn't find any major issues. 👍 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Define managed native waiting through the existing
Runtime.start,Fiber.join, andforkInAPIs. A short-lived waiter can cancel while the explicitly owned operation keeps its resource lease and late-failure supervision. The existing execution model already supports this contract; no additional wrapper or runtime behavior is needed.Add a concrete HTTP lease example and clarify that host
Future.timeoutdoes not cancel or relinquish observation ofRuntime.run. A genuinely cancellable native adapter must acknowledge stopping throughfromCallbackcleanup before resources can be released.Related issues
Closes #13
Validation
dart analyze --fatal-infos, repository formatting,git diff --check, and static analysis of the extracted HTTP Dartdoc example pass.Summary by CodeRabbit