Skip to content

Drop the expected paths of the client render tests - #7283

Merged
Koudai Aono (koxudaxi) merged 1 commit into
mainfrom
drop-expected-paths-b8a
Nov 21, 2026
Merged

Koudai Aono (koxudaxi) merged 1 commit into
mainfrom
drop-expected-paths-b8a

Conversation

@koxudaxi

Copy link
Copy Markdown
Member

No description provided.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T10:33:26.533300Z 6d252f1 PR opened
ℹ️ About Codex in GitHub

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

@coderabbitai

coderabbitai Bot commented Nov 21, 2026

Copy link
Copy Markdown

Walkthrough

Warning

Review details and warnings were omitted to fit the comment limit.

@github-actions

Copy link
Copy Markdown
Contributor

@codspeed

codspeed Bot commented Nov 21, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 43.97%

2 warnings

⚠️ Walltime results may be unreliable

Some benchmarks used the Walltime instrument outside CodSpeed Macro Runners, which can make the results inconsistent.

Learn more about Macro Runners

See affected benchmarks

⚠️ 53 benchmarks with a significant change ran on different hardware

Their base and head results were measured on machines with a different CPU, core count or memory, so the changes might not come from the code. Run base and head on the same runner type.

Learn more about Macro Runners

See affected benchmarks

⚡ 53 improved benchmarks
⏩ 98 skipped benchmarks1

Performance Changes

Benchmark BASE HEAD Efficiency
⚡ test_perf_unique_items_nested_model_validation 2.5 ms 1.5 ms +65.55%
⚡ test_perf_multiple_files_input 3.3 s 2.1 s +61.7%
⚡ test_perf_load_yaml_openapi_large 27.3 ms 17.3 ms +57.84%
⚡ test_perf_complex_refs 1.6 s 1.1 s +54.42%
⚡ test_perf_unique_items_runtime_scalar_validation 2.3 ms 1.5 ms +54.23%
⚡ test_perf_empty_pydantic_v2_field_render_plans 38.4 ms 25 ms +53.72%
⚡ test_perf_openapi_large 2.5 s 1.6 s +53.57%
⚡ test_perf_inherited_required_fields[required-base-first] 617 ms 404.3 ms +52.59%
⚡ test_perf_simple_pydantic_v2_field_construction 8.9 ms 5.8 ms +52.49%
⚡ test_perf_duplicate_names 770.4 ms 508.6 ms +51.47%
⚡ test_perf_openapi_large_pydantic_v2_builtin 1,168.5 ms 774.5 ms +50.87%
⚡ test_perf_inherited_required_fields[required-derived-first] 659.6 ms 437.4 ms +50.79%
⚡ test_perf_large_models_pydantic_v2_builtin_double_quotes 1,238.8 ms 824.5 ms +50.25%
⚡ test_perf_graphql_style_pydantic_v2 642.1 ms 429.5 ms +49.5%
⚡ test_perf_target_render[client-small] 32.3 ms 21.6 ms +49.36%
⚡ test_perf_aws_style_openapi_pydantic_v2 1.7 s 1.1 s +48.72%
⚡ test_perf_all_options_enabled 4.6 s 3.1 s +48.4%
⚡ test_perf_pydantic_field_name_resolution 2 ms 1.3 ms +48.4%
⚡ test_perf_deep_nested 3.9 s 2.6 s +48.23%
⚡ test_perf_mapped_reference_users 623.5 ms 421.6 ms +47.89%
... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing drop-expected-paths-b8a (6d252f1) with main (bedb1c1)

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

@codecov

codecov Bot commented Nov 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@koxudaxi
Koudai Aono (koxudaxi) merged commit 6c0eb90 into main Nov 21, 2026
117 checks passed
@koxudaxi
Koudai Aono (koxudaxi) deleted the drop-expected-paths-b8a branch November 21, 2026 10:53
@github-actions

Copy link
Copy Markdown
Contributor

Breaking Change Analysis

Result: No breaking changes detected

Reasoning: This PR only reorganises tests and does not touch library source. It changes the docs build script scripts/build_docs_examples.py so one example points at a new expected-output path. It refactors test_client_render in tests/api_generation/test_client_generation.py to use named snapshot outputs over a fixed BACKENDS tuple instead of explicit expected paths. It moves around 900 expected-output fixtures from tests/data/expected/main/generation_platform/client to tests/data/expected/api_generation/client_generation, and updates the .refs snapshot index files to match. The deleted lines are only the old test assertion and the old docs path. No CLI options, Python API names, templates, defaults, error handling or Python version support change. The behaviour diff gate lists only both-fail cells, with no accepted or violation cells, so default generated output is unchanged.


This analysis was produced by the release draft workflow

@github-actions

Copy link
Copy Markdown
Contributor

🎉 Released in 0.100.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.

1 participant