Fix allOf multi-ref to preserve inheritance with property overrides#2838
Fix allOf multi-ref to preserve inheritance with property overrides#2838
Conversation
📝 WalkthroughWalkthroughThis change fixes a regression in Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested labels
Poem
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
🧰 Additional context used🧬 Code graph analysis (2)tests/data/expected/main/jsonschema/all_of_multi_ref_with_property_override.py (1)
tests/main/jsonschema/test_main_jsonschema.py (3)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (10)
🔇 Additional comments (3)
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 |
CodSpeed Performance ReportMerging #2838 will degrade performance by 17.2%Comparing
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | WallTime | test_perf_aws_style_openapi_pydantic_v2 |
1.7 s | 2 s | -15.12% |
| ❌ | WallTime | test_perf_duplicate_names |
865.8 ms | 1,020.5 ms | -15.15% |
| ❌ | WallTime | test_perf_kubernetes_style_pydantic_v2 |
2.3 s | 2.7 s | -16.25% |
| ❌ | WallTime | test_perf_complex_refs |
1.8 s | 2.1 s | -16.22% |
| ❌ | WallTime | test_perf_all_options_enabled |
5.8 s | 6.7 s | -13.31% |
| ❌ | WallTime | test_perf_large_models_pydantic_v2 |
3.1 s | 3.8 s | -17.2% |
| ❌ | WallTime | test_perf_deep_nested |
5.3 s | 6.3 s | -14.67% |
| ❌ | WallTime | test_perf_graphql_style_pydantic_v2 |
720 ms | 842.5 ms | -14.53% |
| ❌ | WallTime | test_perf_openapi_large |
2.5 s | 3 s | -15.95% |
| ❌ | WallTime | test_perf_stripe_style_pydantic_v2 |
1.8 s | 2.1 s | -14.63% |
| ❌ | WallTime | test_perf_multiple_files_input |
3.2 s | 3.8 s | -15.37% |
Footnotes
-
98 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2838 +/- ##
==========================================
- Coverage 99.52% 99.51% -0.01%
==========================================
Files 90 90
Lines 14092 14245 +153
Branches 1674 1695 +21
==========================================
+ Hits 14025 14176 +151
- Misses 36 37 +1
- Partials 31 32 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Breaking Change AnalysisResult: Breaking changes detected Reasoning: This PR modifies the Content for Release NotesCode Generation Changes
This analysis was performed by Claude Code Action |
|
🎉 Released in 0.51.0 This PR is now available in the latest release. See the release notes for details. |
Fixes: #2645
Summary by CodeRabbit
Bug Fixes
Tests
✏️ Tip: You can customize this high-level summary in your review settings.