Repository navigation
refactor(core): store task locals in context - #99
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. |
|
@codex review |
|
Caution Review failedThe pull request is closed. Finishing Touches
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: Didn't find any major issues. Another round soon, please! 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
Store TaskLocal overrides under private typed keys in the execution Context. Reuse service reads and local Context provision, removing the separate locals map, evaluator instructions, restoration frames, and environment capture arguments. Request partitioning now compares the unified bindings once.
The public API is unchanged:
Default reads do not create bindings. Explicit null and explicit default overrides retain their identity and isolation; child executions, finalizers, and shared acquisitions keep their captured environment.
Related issues
Closes #67
Validation
dart pub getdart format --output=none --set-exit-if-changed .dart analyze --fatal-infosdart test— 1,351 tests passed