Repository navigation
Skip unread Pydantic floor work and the lockfile path resolution - #6740
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Codex Review Summary: ✅ CompletedThis 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. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Merging this PR will degrade performance by 47.69%2 warnings
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
Breaking Change AnalysisResult: No breaking changes detected Reasoning: The PR is an internal performance refactor that keeps behaviour the same. In init.py the remote lock resolution now calls a new private helper, active_remote_lock_plan in _lock_plan.py. It returns None when neither update_lock nor locked is set and no lockfile exists at the lexical path, and otherwise returns the same plan as remote_lock_plan, so the lockfile and the active check give the same results as before. The literal path computation was moved into a private _literal_lockfile helper with the same expression. In the pydantic_v2 DataModelField pattern check, the bytes-only check now runs first so the method can return early, which gives the same boolean result. In record_pydantic_floor, Pydantic constructs are now collected only when a target Pydantic version is set, and they were only used in that case before, so the recorded floor and refused fields are unchanged. No public CLI options, Python API names, templates, defaults or error handling changed. The behaviour diff gate lists only both-fail cells, with no accepted or violation cells, so default generated output is identical to release 0.94.0. This analysis was produced by the release draft workflow |
|
🎉 Released in 0.95.0 This PR is now available in the latest release. See the release notes for details. |
Summary by CodeRabbit