Repository navigation
Build module import plans and the name table beside today's imports - #5166
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
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.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3b2fce7af3
ℹ️ 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 (@codex) review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "Codex (@codex) address that feedback".
Merging this PR will degrade performance by 11.99%1 warning
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
3b2fce7 to
37f87b5
Compare
Breaking Change AnalysisResult: No breaking changes detected Reasoning: The PR is an internal refactor of import planning. Resolver calls to add and delete_names now go through new ModuleImportLedger methods add_name and release_names, which log the event and forward the same arguments. One call in __change_imported_model_name drops unique=True, which keeps behavior if ModelResolver.add still defaults unique to True, though the diff does not show that signature. The path logic of register_reference_import was split into a new helper, reference_import_target, while its signature and outputs stay the same. The generic base class import module is computed by a new helper that repeats the old inline code. The new import-plan types and the __plan_module_imports step run only when the DATAMODEL_CODE_GENERATOR_CHECK_MODULE_IMPORTS check is on, and nothing is written from the plan, so generated code does not change. That check is an internal test tool and now adds plan comparisons and extra report lines. No CLI options, public API, defaults, templates, Python version support or user-facing error handling changed. This analysis was produced by the release draft workflow |
Summary by CodeRabbit