Repository navigation
Move the L5 preparation and simple processing passes into their own modules - #5207
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. |
Merging this PR will not alter performance1 warning
Comparing Footnotes
|
b03f9f3 to
2411ce4
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Breaking Change AnalysisResult: No breaking changes detected Reasoning: This PR is an internal refactor. It moves the L5 module passes, which were private name-mangled Parser methods such as replace_unique_list_to_set, extract_inherited_enum, set_default_enum_member, sort_models, change_field_name, type_const_narrowed_values, set_one_literal_on_default, rename_fields_hiding_types, apply_field_type_overrides, type_dict_keys_by_root_types and apply_base_class_type_overrides. It also moves their underscore-prefixed helpers out of parser/base.py and into a new parser/_passes/modules.py module and into parser/_passes/_shared.py. The function bodies are carried over almost unchanged: self becomes a parser parameter typed by a ModulesHost Protocol. The pipeline table in parser/base.py now calls the new functions in the same order. _DERIVED_FROM_KEY moves to _passes/_keys.py, and jsonschema.py imports it from there. The other changes are docs, an allowlist, an architecture-check script and test updates. No CLI options, Python API parameters, templates, defaults or Python version support change, and nothing in the diff changes generated output or error handling. The only removed names without an underscore are internal type aliases for keep-model-order sorting in parser/base.py, such as ModelName and ModelDeps. They are not part of the documented public API, so this PR is not a user-facing breaking change. This analysis was produced by the release draft workflow |
Summary by CodeRabbit