Repository navigation
Remove the import caches and their clearing - #5174
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. |
|
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
|
Merging this PR will degrade performance by 16.61%2 warnings
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! |
59503f1 to
b412bac
Compare
37e4ccc to
5b4aa96
Compare
Breaking Change AnalysisResult: Breaking changes detected Reasoning: The PR mostly removes the internal imports cache. DataModel.imports and field imports are now computed at each read, and DataModel.clear_imports_cache becomes a deprecated no-op that the parser and GenerationStore never call. The legacy fallback that called clear_imports_cache on objects without invalidate_render_caches was removed, and the tests that guaranteed that legacy custom-model hook contract were deleted. This affects Python API users with custom model subclasses or duck-typed models, so it is flagged as an API change. Separately, _enum_narrowed_by_part_consts now takes a const_support flag and skips narrowing for dialects without const (draft-04, OpenAPI 3.0). That changes the generated types for such schemas when allOf mixes an enum ref with a const part, so it is flagged as a code generation change. The remaining changes are left out because they are internal or additive: private pass declarations and memo table entries, can_retain_cache parameters removed from private helpers, a new defaulted unique field on NameRequested, fact-finality check internals, doc wording and test fixtures. Content for Release NotesCode Generation Changes
API/CLI Changes
This analysis was produced by the release draft workflow |
Summary by CodeRabbit