Skip to content

Cover config model force rebuild#3553

Merged
koxudaxi merged 2 commits into
mainfrom
tests/config-force-rebuild
Jul 3, 2026
Merged

Cover config model force rebuild#3553
koxudaxi merged 2 commits into
mainfrom
tests/config-force-rebuild

Conversation

@koxudaxi

@koxudaxi koxudaxi commented Jul 2, 2026

Copy link
Copy Markdown
Owner

No description provided.

@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@koxudaxi, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 7 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b7373ff3-52b1-46ef-a2ce-a161eab477b2

📥 Commits

Reviewing files that changed from the base of the PR and between 33476e6 and 4e6d78a.

📒 Files selected for processing (1)
  • tests/main/test_public_api_signature_baseline.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch tests/config-force-rebuild

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Comment thread tests/main/test_public_api_signature_baseline.py Fixed
@codspeed-hq

codspeed-hq Bot commented Jul 2, 2026

Copy link
Copy Markdown

Merging this PR will degrade performance by 36.73%

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

❌ 11 regressed benchmarks
⏩ 98 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
WallTime test_perf_all_options_enabled 3.5 s 5.7 s -38.14%
WallTime test_perf_openapi_large 1.9 s 3.1 s -37.52%
WallTime test_perf_large_models_pydantic_v2 2.3 s 3.7 s -37.47%
WallTime test_perf_deep_nested 3.4 s 5.4 s -37.19%
WallTime test_perf_aws_style_openapi_pydantic_v2 1.2 s 2 s -37.08%
WallTime test_perf_multiple_files_input 2.3 s 3.6 s -36.82%
WallTime test_perf_duplicate_names 677.7 ms 1,065.5 ms -36.39%
WallTime test_perf_complex_refs 1.3 s 2 s -36.39%
WallTime test_perf_graphql_style_pydantic_v2 517.7 ms 813.2 ms -36.33%
WallTime test_perf_kubernetes_style_pydantic_v2 1.7 s 2.6 s -35.5%
WallTime test_perf_stripe_style_pydantic_v2 1.3 s 2 s -35.08%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing tests/config-force-rebuild (4e6d78a) with main (2c525b3)

Open in CodSpeed

Footnotes

  1. 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.

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

📚 Docs Preview: https://pr-3553.datamodel-code-generator.pages.dev

@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (33476e6) to head (4e6d78a).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #3553   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          161       161           
  Lines        34363     34391   +28     
  Branches      4011      4012    +1     
=========================================
+ Hits         34363     34391   +28     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@koxudaxi koxudaxi marked this pull request as ready for review July 2, 2026 17:09
@koxudaxi koxudaxi merged commit 2fb1cca into main Jul 3, 2026
61 of 62 checks passed
@koxudaxi koxudaxi deleted the tests/config-force-rebuild branch July 3, 2026 05:25
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Breaking Change Analysis

Result: No breaking changes detected

Reasoning: The PR only adds a single new test function (test_config_models_force_rebuild_after_defer_build) to tests/main/test_public_api_signature_baseline.py. There are no changes to source code, the public API, CLI options, Jinja2 templates, generated code output, default behavior, Python version support, or error handling. The deleted-lines file is empty, confirming nothing was removed. Test-only additions do not affect users of the package, so there are no breaking changes.


This analysis was performed by Claude Code Action

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

🎉 Released in 0.68.0

This PR is now available in the latest release. See the release notes for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants