Skip to content

Drop the expected-path arguments of the CLI, API and parser leftovers - #7247

Merged
Koudai Aono (koxudaxi) merged 3 commits into
mainfrom
drop-expected-path-arguments-11
Nov 20, 2026
Merged

Koudai Aono (koxudaxi) merged 3 commits into
mainfrom
drop-expected-path-arguments-11

Conversation

@koxudaxi

@koxudaxi Koudai Aono (koxudaxi) commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Tests
    • Updated test expectations and output snapshots across API generation, FastAPI, Avro, Protocol Buffers, GraphQL, HTTP, and CLI coverage.
    • Removed several stored Avro expected-output examples and adjusted snapshot references.
    • Some checks now validate command output directly rather than comparing it with stored files.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 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-20T15:01:25.439237Z 7a65b85 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 20, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The pull request updates test assertions and expected-output references across API-generation, Avro, Protocol Buffers, GraphQL, HTTP, and main CLI suites. It also removes several Avro generated fixtures. It does not show runtime implementation changes.

Changes: Test snapshot and assertion updates

Layer / File(s) Summary
Client CLI test expectations
tests/api_generation/test_client_cli.py, tests/api_generation/test_client_cli.refs
Several tests now compare inline or named output instead of loading expected files. Snapshot references point to API-generation snapshots.
FastAPI and target-generation expectations
tests/api_generation/test_fastapi_cli.py, tests/api_generation/test_fastapi_cli.refs, tests/api_generation/test_generate_targets.py, tests/api_generation/test_generate_targets.refs, tests/assert_helper_allowlists.py
FastAPI and target-generation tests remove or change expected-file comparisons. Their snapshot references use API-generation paths, and the command-output allowlist drops one fixture entry.
Avro fixtures and snapshots
tests/main/avro/test_main_avro.py, tests/main/avro/test_main_avro.refs, tests/data/expected/main/avro/py310/*
Avro tests remove generated-file comparisons, and snapshot references move to consolidated fixtures. Several generated fixture files are deleted.
Protocol Buffers expectations
tests/main/protobuf/test_main_protobuf.py, tests/main/protobuf/test_main_protobuf.refs
Tests remove expected-file comparisons while retaining other checks. Snapshot references point to renamed or relocated fixtures.
GraphQL and HTTP snapshots
tests/parser/test_graphql.py, tests/parser/test_graphql.refs, tests/test_http.py, tests/test_http.refs
GraphQL tests remove expected-file arguments. The HTTP test reference changes to a test-specific snapshot.
Main CLI generation and configuration expectations
tests/test_main_kr.py, tests/test_main_kr.refs
Tests update expected-output arguments and documentation fixture paths across generation, configuration, profiles, and code-generation options. Snapshot references include test-specific entries.
Main CLI output, jobs, and validation expectations
tests/test_main_kr.py, tests/test_main_kr.refs
Tests change comparisons for batch, jobs, JSON output, validation, and profiles. Snapshot references use test-specific paths for these cases.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Other

Merge Risk: Minimal · previous review 7a65b

This PR only reorganizes test assertions and expected-output snapshots. It does not change runtime behavior. No actionable merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the change: removing expected-path arguments from the CLI, API, and parser test leftovers. The changeset removes expected-output fixture arguments from CLI, FastAPI/client CLI, GraphQL…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the change: removing expected-path arguments from the CLI, API, and parser test leftovers. The changeset removes expected-output fixture arguments from CLI, FastAPI/client CLI, GraphQL, protobuf, Avro, and HTTP tests, and deletes the matching generated fixtures. The title is specific and matches the PR objectives. It uses the term 'leftovers', which is slightly informal, but the main change is clear.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 61c53ca and 7a65b85.

Files ignored due to path filters: 49

  • docs/data/migration/unreleased/drop-expected-path-arguments-11.toml is excluded by none and included by none
  • tests/data/expected/api_generation/client_cli/jobs[differing-models].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/client_cli/json_file_documents[absolute].documents.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/client_cli/json_file_documents[absolute].notice.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/client_cli/leftover_files.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/client_cli/leftover_files_jobs.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/client_cli/member_types[options].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/client_cli/pyproject_paths.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/client_cli/pyproject_protocols_file.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/client_cli/shadowed_module.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/fastapi_cli/config_values[loaded].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/fastapi_cli/conflicts[diff].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/fastapi_cli/implementation_stubs.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/fastapi_cli/implied_notice_stdin.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/fastapi_cli/include_paths.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/fastapi_cli/input_diff_model_name_map_warnings.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/fastapi_cli/jobs[differing-models].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/fastapi_cli/jobs_json.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/fastapi_cli/jobs_json_paths.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/fastapi_cli/leftover_files.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/fastapi_cli/model_and_form_dependencies.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/fastapi_cli/nested_models_example.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/fastapi_cli/removed_options[dependency-format].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/fastapi_cli/shared_models_jobs.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/fastapi_cli/shared_parent_jobs[existing-stub].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/fastapi_cli/shared_parent_jobs[other-document].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/fastapi_cli/shared_parent_jobs[other-tags].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/api_generation/fastapi_cli/shared_parent_later_job.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/http/cli_diff_locks_old_and_new_remote_closures_without_committing_on_difference.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/protobuf/main_protobuf/convert_protobuf_schema_data_preserves_yaml_safe_non_finite_defaults.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/protobuf/main_protobuf/native_referenced_standard_types[nullvalue].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/generate_pyproject_config_helper_uses_default_formatter.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/output_format_json_check_missing_output_file.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/output_format_json_check_output_directory_differences.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/output_format_json_check_output_file_difference.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/output_format_json_check_text_reports_output_file_difference.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/output_format_json_generation_mapping_payload.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/output_format_json_generation_output_directory.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/output_format_json_generation_output_file.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/output_format_json_json_ready_values.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/output_format_json_normalizes_multiple_generation_output_paths.generation_output_path_normalized.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/output_format_json_normalizes_multiple_generation_output_paths.generation_stdout_path_normalized.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/output_format_json_rejects_watch.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/pyproject_jobs_abort_runtime_errors_without_publishing[output_format1-stale generated output_n].stale_metadata.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/pyproject_jobs_abort_runtime_errors_without_publishing[output_format1-stale generated output_n].stale_output.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/pyproject_jobs_json_is_one_ordered_payload.json_generation.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/pyproject_jobs_json_is_one_ordered_payload.ordered_outputs.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/pyproject_jobs_json_reports_check_results.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/pyproject_jobs_staging_failure_keeps_primary_error_when_anchor_cleanup_fails.txt is excluded by !tests/data/**/*.txt and included by none
Files selected for processing: 169

  • tests/api_generation/test_client_cli.py
  • tests/api_generation/test_client_cli.refs
  • tests/api_generation/test_fastapi_cli.py
  • tests/api_generation/test_fastapi_cli.refs
  • tests/api_generation/test_generate_targets.py
  • tests/api_generation/test_generate_targets.refs
  • tests/assert_helper_allowlists.py
  • tests/data/expected/api_generation/fastapi_cli/model_dependencies[additional-imports].py
  • tests/data/expected/api_generation/fastapi_cli/model_dependencies[additional-modules].py
  • tests/data/expected/api_generation/fastapi_cli/model_dependencies[formats].py
  • tests/data/expected/api_generation/fastapi_cli/model_dependencies[header-text].py
  • tests/data/expected/api_generation/fastapi_cli/model_dependencies[type-aliases].py
  • tests/data/expected/main/avro/main_avro/constructs.py
  • tests/data/expected/main/avro/main_avro/[email protected]
  • tests/data/expected/main/avro/main_avro/decimal_defaults_unused_by_typed_dict.py
  • tests/data/expected/main/avro/main_avro/duration_default_controls.py
  • tests/data/expected/main/avro/main_avro/duration_defaults_unused_by_typed_dict.py
  • tests/data/expected/main/avro/main_avro/fixed_reference_default.py
  • tests/data/expected/main/avro/main_avro/namespace_collisions.py
  • tests/data/expected/main/avro/main_avro/[email protected]
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[array].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[array]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[boolean_full].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[boolean_full]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[bytes_full].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[bytes_full]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[double_full].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[double_full]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[enum].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[enum]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[extra_attributes].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[extra_attributes]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[fixed].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[fixed]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[float_full].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[float_full]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[int_full].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[int_full]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[interop].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[interop]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[long_full].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[long_full]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[map].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[map]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[namespace_enum].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[namespace_enum]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[namespace_fixed].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[namespace_fixed]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[namespace_fullname].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[namespace_fullname]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[namespace_null_enum].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[namespace_null_enum]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[namespace_null_fixed].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[namespace_null_fixed]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[namespace_null_record].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[namespace_null_record]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[namespace_recursive].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[namespace_recursive]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[namespace_simple].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[namespace_simple]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[null_full].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[null_full]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[record].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[record]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[record_fields_with_defaults].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[record_fields_with_defaults]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[record_no_fields].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[record_no_fields]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[recursive_record].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[recursive_record]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[string_full].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[string_full]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[union].py
  • tests/data/expected/main/avro/main_avro/official_c_schema_pass_corpus[union]@python3.14.py
  • tests/data/expected/main/avro/main_avro/official_spec_long_list.py
  • tests/data/expected/main/avro/main_avro/[email protected]
  • tests/data/expected/main/avro/main_avro/output_model_types[dataclass].py
  • tests/data/expected/main/avro/main_avro/output_model_types[msgspec].py
  • tests/data/expected/main/avro/main_avro/output_model_types[pydantic-v2].py
  • tests/data/expected/main/avro/main_avro/output_model_types[typed-dict].py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[name_suffix_collision.avsc-True].py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[name_suffix_collision.avsc-True]@python3.14.py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[namespace_null_collision.avsc-True].py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[namespace_null_collision.avsc-True]@python3.14.py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[root_array.avsc-True].py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[root_array.avsc-True]@python3.14.py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[root_enum.avsc-True].py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[root_enum.avsc-True]@python3.14.py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[root_fixed.avsc-True].py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[root_fixed.avsc-True]@python3.14.py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[root_fixed_uuid.avsc-True].py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[root_fixed_uuid.avsc-True]@python3.14.py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[root_map.avsc-False].py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[root_map.avsc-False]@python3.14.py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[root_string.avsc-False].py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[root_string.avsc-False]@python3.14.py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[root_type_object.avsc-False].py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[root_type_object.avsc-False]@python3.14.py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[root_type_union.avsc-True].py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[root_type_union.avsc-True]@python3.14.py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[root_union_named.avsc-False].py
  • tests/data/expected/main/avro/main_avro/schema_declaration_forms[root_union_named.avsc-False]@python3.14.py
  • tests/data/expected/main/avro/main_avro/single_value_enum_as_const_keeps_converted_enums.py
  • tests/data/expected/main/avro/main_avro/[email protected]
  • tests/data/expected/main/avro/main_avro/temporal_default_controls.py
  • tests/data/expected/main/avro/main_avro/temporal_defaults_unused_by_typed_dict.py
  • tests/data/expected/main/avro/py310/official_schema_pass/enum.py
  • tests/data/expected/main/avro/py310/official_schema_pass/interop.py
  • tests/data/expected/main/avro/py310/official_schema_pass/namespace_enum.py
  • tests/data/expected/main/avro/py310/official_schema_pass/namespace_null_enum.py
  • tests/data/expected/main/avro/py310/schema_declaration_forms/root_enum.py
  • tests/data/expected/main/avro/py310/schema_declaration_forms/root_union_named.py
  • tests/data/expected/main/avro/py310/spec_matrix.py
  • tests/data/expected/main/protobuf/main_protobuf/complex_proto3.py
  • tests/data/expected/main/protobuf/main_protobuf/custom_template_non_finite_raw.py
  • tests/data/expected/main/protobuf/main_protobuf/edition_2023_schema_version.py
  • tests/data/expected/main/protobuf/main_protobuf/generate_api_protobuf.py
  • tests/data/expected/main/protobuf/main_protobuf/generate_api_protobuf_from_path_list.py
  • tests/data/expected/main/protobuf/main_protobuf/generate_api_protobuf_strict_schema_version_warning.py
  • tests/data/expected/main/protobuf/main_protobuf/infer_input_file_type.py
  • tests/data/expected/main/protobuf/main_protobuf/output_model_types[dataclass].py
  • tests/data/expected/main/protobuf/main_protobuf/output_model_types[msgspec].py
  • tests/data/expected/main/protobuf/main_protobuf/output_model_types[pydantic-v2].py
  • tests/data/expected/main/protobuf/main_protobuf/output_model_types[typed-dict].py
  • tests/data/expected/main/protobuf/main_protobuf/spec_proto2.py
  • tests/data/expected/main/protobuf/main_protobuf/spec_proto3.py
  • tests/data/expected/main/protobuf/main_protobuf/well_known_wrappers.py
  • tests/data/expected/main_kr/allof_with_description_generates_class_not_alias.py
  • tests/data/expected/main_kr/custom_file_header.py
  • tests/data/expected/main_kr/custom_formatters_kwargs_inline_json_option.py
  • tests/data/expected/main_kr/encoding_option.py
  • tests/data/expected/main_kr/ignore_pyproject_cli_doc.py
  • tests/data/expected/main_kr/include_path_parameters.py
  • tests/data/expected/main_kr/main_docstring_special_chars.py
  • tests/data/expected/main_kr/main_use_field_description.py
  • tests/data/expected/main_kr/main_use_field_description_example.py
  • tests/data/expected/main_kr/main_use_field_description_example_dataclass.py
  • tests/data/expected/main_kr/main_use_field_description_example_multiple.py
  • tests/data/expected/main_kr/main_use_field_description_with_example.py
  • tests/data/expected/main_kr/main_use_inline_field_description.py
  • tests/data/expected/main_kr/main_use_inline_field_description_example_only.py
  • tests/data/expected/main_kr/main_use_inline_field_description_with_example.py
  • tests/data/expected/main_kr/main_use_schema_description.py
  • tests/data/expected/main_kr/no_alias.py
  • tests/data/expected/main_kr/no_alias_without_option.py
  • tests/data/expected/main_kr/profile_extends_chain.py
  • tests/data/expected/main_kr/profile_extends_single_parent.py
  • tests/data/expected/main_kr/profile_overrides_base_config_shallow_merge.py
  • tests/data/expected/main_kr/pyproject_with_profile.py
  • tests/data/expected/main_kr/pyproject_with_tool_section.py
  • tests/data/expected/main_kr/target_pydantic_version.py
  • tests/data/expected/main_kr/use_decimal_for_multiple_of.py
  • tests/data/expected/main_kr/use_non_positive_negative_number_constrained_types.py
  • tests/data/expected/main_kr/use_non_positive_negative_number_constrained_types_with_use_annotated.py
  • tests/data/expected/main_kr/use_pendulum.py
  • tests/data/expected/main_kr/use_serialization_alias.py
  • tests/data/expected/parser/graphql/field_enum.py
  • tests/data/expected/parser/graphql/union_aliased_bug.py
  • tests/data/expected/parser/graphql/union_commented.py
  • tests/main/avro/test_main_avro.py
  • tests/main/avro/test_main_avro.refs
  • tests/main/protobuf/test_main_protobuf.py
  • tests/main/protobuf/test_main_protobuf.refs
  • tests/parser/test_graphql.py
  • tests/parser/test_graphql.refs
  • tests/test_http.py
  • tests/test_http.refs
  • tests/test_main_kr.py
  • tests/test_main_kr.refs
Files with no reviewable changes: 12

  • tests/api_generation/test_generate_targets.py
  • tests/assert_helper_allowlists.py
  • tests/data/expected/main/avro/py310/official_schema_pass/enum.py
  • tests/data/expected/main/avro/py310/official_schema_pass/interop.py
  • tests/data/expected/main/avro/py310/official_schema_pass/namespace_enum.py
  • tests/data/expected/main/avro/py310/official_schema_pass/namespace_null_enum.py
  • tests/data/expected/main/avro/py310/schema_declaration_forms/root_enum.py
  • tests/data/expected/main/avro/py310/schema_declaration_forms/root_union_named.py
  • tests/data/expected/main/avro/py310/spec_matrix.py
  • tests/main/protobuf/test_main_protobuf.py
  • tests/parser/test_graphql.py
  • tests/test_http.py

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review.

@github-actions

Copy link
Copy Markdown
Contributor

@codspeed

codspeed Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Merging this PR will degrade performance by 30.75%

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

⚠️ 52 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

❌ 52 regressed benchmarks
✅ 1 untouched benchmark
⏩ 98 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
❌ test_perf_client_calls[sync] 24.8 ms 44.2 ms -43.86%
❌ test_perf_load_pyproject_config[mapping-None] 163.2 µs 280.3 µs -41.77%
❌ test_perf_client_calls[async] 28.5 ms 48.8 ms -41.54%
❌ test_perf_load_pyproject_config[config-None] 165.4 µs 276.8 µs -40.24%
❌ test_perf_load_pyproject_config[mapping-multiple] 176.8 µs 294 µs -39.85%
❌ test_perf_load_pyproject_config[config-multiple] 178.3 µs 295.6 µs -39.68%
❌ test_perf_simple_msgspec_unset_field_rendering 373.8 ms 605.9 ms -38.3%
❌ test_perf_scalar_root_collapsed_builtin 167.3 ms 265.7 ms -37.02%
❌ test_perf_large_models_typed_dict[total-false-requiredness] 929.8 ms 1,439.1 ms -35.39%
❌ test_perf_unique_items_collapsed_builtin 219.8 ms 337.3 ms -34.83%
❌ test_perf_local_reference_file_resolution 107.4 ms 164.2 ms -34.62%
❌ test_perf_pydantic_field_name_resolution 1.8 ms 2.8 ms -34.34%
❌ test_perf_graphql_style_pydantic_v2 622 ms 938 ms -33.69%
❌ test_perf_false_reference_validation 283 ms 425.8 ms -33.55%
❌ test_perf_large_models_dataclass_builtin 1.2 s 1.7 s -33.52%
❌ test_perf_inherited_required_fields[partial-derived-first] 1.1 s 1.7 s -33.36%
❌ test_perf_target_render[fastapi-large] 7.4 s 11.1 s -33.19%
❌ test_perf_mapped_reference_users 637.1 ms 943.4 ms -32.47%
❌ test_perf_unique_items_schema_validators 291.8 ms 430.5 ms -32.22%
❌ test_perf_aws_style_openapi_pydantic_v2 1.6 s 2.4 s -32.19%
... ... ... ... ...

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

Tip

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


Comparing drop-expected-path-arguments-11 (9c1522c) with main (61c53ca)

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 20, 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 6ebde7e into main Nov 20, 2026
117 of 118 checks passed
@koxudaxi
Koudai Aono (koxudaxi) deleted the drop-expected-path-arguments-11 branch November 20, 2026 16:50
@github-actions

Copy link
Copy Markdown
Contributor

Breaking Change Analysis

Result: No breaking changes detected

Reasoning: The PR only touches the test harness. It renames stored expected-output files for the Avro, protobuf, GraphQL, HTTP, main_kr and client and FastAPI CLI tests to names derived from the tests, deletes seven duplicate Python 3.10 Avro stored outputs that matched the Python 3.11 ones, removes explicit expected_file, assert_func and path arguments from test calls, updates the refs index files and one test allowlist entry, and adds a migration note in the harness category. No library source, template, CLI option, Python API, error handling or Python version support changes. The behaviour diff gate lists only both-fail cells and no accepted or violation cells, so default generated output does not change compared with release 0.99.0.


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