Repository navigation
feat(core): expose runtime root start notifications - #102
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. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 33 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@codex review |
|
Codex Review: Didn't find any major issues. Breezy! 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
Applications can now track unfinished user-submitted roots from one
Runtime.onFiberStartcallback, including tasks submitted throughrunwhose callers never receive a Fiber. Pair the hook with passiveFiber.onExitand a Dart collection:Notification runs after initial evaluation, before the entry point returns. Completed or rejected work, children and internal service construction are excluded.
Runtime.createretains the same hook for subsequent user roots. The callback runs in its configuration Zone; its exceptions do not change execution, cleanup or failure responsibility.Related issues
Closes #55
Validation
dart pub getdart format --output=none --set-exit-if-changed .dart analyze --fatal-infosdart test— 1,384 tests passed.Thirteen focused tests cover all execution entry points, cleanup lifetime, rejected and completed executions, service construction, child exclusion, callback Zones, failure routing, cancellation and reentrant submissions. Concurrency ordering uses explicit completion gates.