Skip to content

Drop the expected-path arguments of the parser and dynamic model tests - #7272

Merged
Koudai Aono (koxudaxi) merged 3 commits into
mainfrom
drop-expected-paths-b7
Nov 21, 2026
Merged

Koudai Aono (koxudaxi) merged 3 commits into
mainfrom
drop-expected-paths-b7

Conversation

@koxudaxi

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

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Tests
    • Updated expected-output snapshots and fixture references across generated models and parser tests.
    • Test output checks now use shared snapshot helpers and suffix-based assertions in place of many fixed expected-file comparisons.
    • Refreshed OpenAPI, JSON Schema, GraphQL, XML Schema, JSON, and YAML test references.

@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-21T07:34:18.231832Z 8a3ce6f 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

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

This change updates test assertions and reference manifests across dynamic-model, CLI, and parser tests. It replaces many explicit expected-file comparisons with named or suffix-based snapshots, revises fixture paths, and adjusts fixture aliases. The described test inputs and generation calls remain in place.

Changes: Test Snapshot and Fixture Updates

Layer / File(s) Summary
Dynamic-model snapshots
tests/main/test_dynamic_models.py, tests/main/test_dynamic_models.refs
Dynamic-model tests replace many expected-file paths with named or inline snapshots. The reference manifest points to renamed and reorganized fixtures.
Main and shared parser output checks
tests/main/test_main_json.py, tests/main/test_main_json.refs, tests/main/test_main_yaml.py, tests/main/test_main_yaml.refs, tests/generated_import_closure_allowlist.py, tests/parser/test_backend_capabilities.py, tests/parser/test_backend_capabilities.refs, tests/parser/test_builtin_formatter_contract.py, tests/parser/test_builtin_formatter_contract.refs
JSON and YAML tests remove file-content callbacks and update fixture paths. Backend and formatter tests use shared output assertions, and related parser fixture references are updated.
GraphQL, JSON Schema, and XML Schema snapshots
tests/parser/test_graphql.py, tests/parser/test_graphql.refs, tests/parser/test_jsonschema.py, tests/parser/test_jsonschema.refs, tests/parser/test_xmlschema.py, tests/parser/test_xmlschema.refs
Parser tests replace fixed expected-file comparisons with suffix-based or named snapshots. Their reference manifests point to renamed or reorganized fixtures.
OpenAPI parser and scope snapshots
tests/parser/test_openapi.py, tests/parser/test_openapi.refs, tests/parser/test_openapi_scope.py, tests/parser/test_openapi_scope.refs
OpenAPI parser and scope tests replace many expected-file comparisons with suffix, named-snapshot, and directory-content checks. The reference manifests point to parser-local fixtures and updated aliases.

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

Change: Other

Merge Risk: Minimal · previous review 8a3ce

This change renames test fixtures and simplifies test assertions with no production code changes. No merge-blocking risk was identified, though the tests were not run in this review.

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 "Drop the expected-path arguments of the parser and dynamic model tests" matches the main change. The raw summary shows that the parser and dynamic-model tests remove expected-file path argu…
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 "Drop the expected-path arguments of the parser and dynamic model tests" matches the main change. The raw summary shows that the parser and dynamic-model tests remove expected-file path arguments from calls such as assert_output and assert_dynamic_models, and switch to suffix-based or named snapshot assertions. The title is specific and the scope matches the changed test files. The PR objectives describe the same change.

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 ff6a249 and 8a3ce6f.

Files ignored due to path filters: 58

  • docs/data/migration/unreleased/uuid-version-formats.toml is excluded by none and included by none
  • tests/data/expected/dynamic_models/circular_reference.json is excluded by !tests/data/**/*.json and included by none
  • tests/data/expected/main/dynamic_models/allof_inheritance.json is excluded by !tests/data/**/*.json and included by none
  • tests/data/expected/main/dynamic_models/allow_leading_underscore_class_name.json is excluded by !tests/data/**/*.json and included by none
  • tests/data/expected/main/dynamic_models/build_module_edges_ignores_unresolvable_relative_imports.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/dynamic_models/cache_distinguishes_schema_order[cache_defs_model_order-defs].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/dynamic_models/cache_distinguishes_schema_order[cache_field_order-field].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/dynamic_models/cache_distinguishes_schema_order[cache_nested_field_order-nested].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/dynamic_models/cache_distinguishes_schema_order[cache_openapi_components_order-openapi].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/dynamic_models/cache_hits_do_not_reorder_fifo_eviction.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/dynamic_models/circular_reference.json is excluded by !tests/data/**/*.json and included by none
  • tests/data/expected/main/dynamic_models/enum_model.json is excluded by !tests/data/**/*.json and included by none
  • tests/data/expected/main/dynamic_models/force_optional_discriminator_literals.json is excluded by !tests/data/**/*.json and included by none
  • tests/data/expected/main/dynamic_models/generated_code_matches_expected.validated.json is excluded by !tests/data/**/*.json and included by none
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[aliases-ModuleSplitMode.Single-None-0].runtime.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[aliases-None-None-0].runtime.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/dynamic_models/imported_model_classes_are_not_returned.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/dynamic_models/leading_underscore_class_name_default_unchanged.json is excluded by !tests/data/**/*.json and included by none
  • tests/data/expected/main/dynamic_models/module_name_of_importable_module[importable].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/dynamic_models/module_name_of_importable_module[missing-package].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/dynamic_models/multi_module_output.model_order.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/dynamic_models/multi_module_output.validated.json is excluded by !tests/data/**/*.json and included by none
  • tests/data/expected/main/dynamic_models/multi_module_relative_parent_import.relative_parent_import.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/dynamic_models/multi_module_relative_parent_import.relative_parent_import_payload.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/dynamic_models/multi_module_restores_preexisting_modules_after_execution_failure.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/dynamic_models/multiple_aliases_required_field.json is excluded by !tests/data/**/*.json and included by none
  • tests/data/expected/main/dynamic_models/nested_models.json is excluded by !tests/data/**/*.json and included by none
  • tests/data/expected/main/dynamic_models/numeric_constraints.json is excluded by !tests/data/**/*.json and included by none
  • tests/data/expected/main/dynamic_models/openapi_auto_detection.json is excluded by !tests/data/**/*.json and included by none
  • tests/data/expected/main/dynamic_models/optional_literal_discriminator_tags.json is excluded by !tests/data/**/*.json and included by none
  • tests/data/expected/main/dynamic_models/ordinary_type_alias_extraction_is_unchanged.type_alias.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/dynamic_models/private_root_model_aliases[False].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/dynamic_models/private_root_model_aliases[True].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/dynamic_models/root_model_alias_assignments_ignore_nested_and_attribute_targets[False].runtime.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/dynamic_models/root_model_alias_assignments_ignore_nested_and_attribute_targets[True].runtime.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/dynamic_models/simple_model.json is excluded by !tests/data/**/*.json and included by none
  • tests/data/expected/main/dynamic_models/simple_model.optional.json is excluded by !tests/data/**/*.json and included by none
  • tests/data/expected/main/dynamic_models/string_constraints.json is excluded by !tests/data/**/*.json and included by none
  • tests/data/expected/parser/backend_capabilities/output_owned_parser_capabilities.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/parser/builtin_formatter_contract/generated_formatter_matches_full_formatter_corpus.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/parser/builtin_formatter_contract/generated_formatter_parser_config_contract.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/parser/jsonschema/builtin_formatter_falls_back_for_custom_class_name_generator.snapshot is excluded by none and included by none
  • tests/data/expected/parser/jsonschema/builtin_formatter_falls_back_for_custom_resolve_reference_action.snapshot is excluded by none and included by none
  • tests/data/expected/parser/jsonschema/generated_formatter_mode_only_enabled_for_builtin.snapshot is excluded by none and included by none
  • tests/data/expected/parser/jsonschema/parse_nested_array.snapshot is excluded by none and included by none
  • tests/data/expected/parser/jsonschema/schema_runtime_validation_copy_replans_unique_items_paths.snapshot is excluded by none and included by none
  • tests/data/expected/parser/jsonschema/schema_validator_adds_all_of_missing_required_field.snapshot is excluded by none and included by none
  • tests/data/expected/parser/jsonschema/schema_validator_unique_items_array_capability_branches.snapshot is excluded by none and included by none
  • tests/data/expected/parser/jsonschema/schema_validator_unique_items_branch_coverage.snapshot is excluded by none and included by none
  • tests/data/expected/parser/jsonschema/schema_validator_unique_items_executable_paths_cover_all_data_type_branches.snapshot is excluded by none and included by none
  • tests/data/expected/parser/jsonschema/schema_validator_unique_items_paths_cover_composed_input_shapes.snapshot is excluded by none and included by none
  • tests/data/expected/parser/jsonschema/traverse_schema_objects_falls_back_for_parser_subclass_children.snapshot is excluded by none and included by none
  • tests/data/expected/parser/jsonschema/traverse_schema_objects_handles_conditional_schemas_without_child_fields.snapshot is excluded by none and included by none
  • tests/data/expected/parser/jsonschema/traverse_schema_objects_keeps_explicit_empty_child_fields_on_regular_path.snapshot is excluded by none and included by none
  • tests/data/expected/parser/jsonschema/traverse_schema_objects_preserves_builtin_callback_order.snapshot is excluded by none and included by none
  • tests/data/expected/parser/openapi_scope/api_empty_inventory[False-AllExportsScope.Children-False].state.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/parser/openapi_scope/api_empty_inventory[True-AllExportsScope.Children-False].existing_output.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/parser/openapi_scope/api_empty_inventory[True-AllExportsScope.Children-False].state.txt is excluded by !tests/data/**/*.txt and included by none
Files selected for processing: 186

  • tests/data/expected/main/dynamic_models/generated_code_matches_expected.code.py
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[aliases-ModuleSplitMode.Single-None-0].modules/__init__.py
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[aliases-ModuleSplitMode.Single-None-0].modules/a_text.py
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[aliases-ModuleSplitMode.Single-None-0].modules/alias_models.py
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[aliases-ModuleSplitMode.Single-None-0].modules/color.py
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[aliases-ModuleSplitMode.Single-None-0].modules/items.py
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[aliases-ModuleSplitMode.Single-None-0].modules/maybe_number.py
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[aliases-ModuleSplitMode.Single-None-0].modules/plain_object.py
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[aliases-ModuleSplitMode.Single-None-0].modules/twin_number.py
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[aliases-ModuleSplitMode.Single-None-0].modules/z_number.py
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[aliases-None-None-0].code.py
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[classes-ModuleSplitMode.Single-None-0].modules/__init__.py
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[classes-ModuleSplitMode.Single-None-0].modules/a_text.py
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[classes-ModuleSplitMode.Single-None-0].modules/alias_models.py
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[classes-ModuleSplitMode.Single-None-0].modules/color.py
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[classes-ModuleSplitMode.Single-None-0].modules/items.py
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[classes-ModuleSplitMode.Single-None-0].modules/maybe_number.py
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[classes-ModuleSplitMode.Single-None-0].modules/plain_object.py
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[classes-ModuleSplitMode.Single-None-0].modules/twin_number.py
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[classes-ModuleSplitMode.Single-None-0].modules/z_number.py
  • tests/data/expected/main/dynamic_models/generated_root_model_aliases[classes-None-None-0].code.py
  • tests/data/expected/main/dynamic_models/multi_module_relative_parent_import.cli_modules/__init__.py
  • tests/data/expected/main/dynamic_models/multi_module_relative_parent_import.cli_modules/left/__init__.py
  • tests/data/expected/main/dynamic_models/multi_module_relative_parent_import.cli_modules/left/shared.py
  • tests/data/expected/main/dynamic_models/multi_module_relative_parent_import.cli_modules/model.py
  • tests/data/expected/main/dynamic_models/multi_module_relative_parent_import.cli_modules/right/__init__.py
  • tests/data/expected/main/dynamic_models/multi_module_relative_parent_import.cli_modules/right/deep/__init__.py
  • tests/data/expected/main/dynamic_models/multi_module_relative_parent_import.cli_modules/right/deep/consumer.py
  • tests/data/expected/main/dynamic_models/multi_module_relative_parent_import.cli_modules/right/shared.py
  • tests/data/expected/main/dynamic_models/multi_module_relative_parent_import.modules/__init__.py
  • tests/data/expected/main/dynamic_models/multi_module_relative_parent_import.modules/left/__init__.py
  • tests/data/expected/main/dynamic_models/multi_module_relative_parent_import.modules/left/shared.py
  • tests/data/expected/main/dynamic_models/multi_module_relative_parent_import.modules/model.py
  • tests/data/expected/main/dynamic_models/multi_module_relative_parent_import.modules/right/__init__.py
  • tests/data/expected/main/dynamic_models/multi_module_relative_parent_import.modules/right/deep/__init__.py
  • tests/data/expected/main/dynamic_models/multi_module_relative_parent_import.modules/right/deep/consumer.py
  • tests/data/expected/main/dynamic_models/multi_module_relative_parent_import.modules/right/shared.py
  • tests/data/expected/main/dynamic_models/multiple_aliases_required_field_code_output.py
  • tests/data/expected/main/dynamic_models/ordinary_type_alias_extraction_is_unchanged.type_alias_code.py
  • tests/data/expected/main/dynamic_models/root_model_alias_assignments_ignore_nested_and_attribute_targets[False].code.py
  • tests/data/expected/main/dynamic_models/root_model_alias_cli_output_is_unchanged[False-aliases].py
  • tests/data/expected/main/dynamic_models/root_model_alias_cli_output_is_unchanged[False-classes].py
  • tests/data/expected/main/dynamic_models/root_model_alias_cli_output_is_unchanged[True-aliases]/__init__.py
  • tests/data/expected/main/dynamic_models/root_model_alias_cli_output_is_unchanged[True-aliases]/a_text.py
  • tests/data/expected/main/dynamic_models/root_model_alias_cli_output_is_unchanged[True-aliases]/alias_models.py
  • tests/data/expected/main/dynamic_models/root_model_alias_cli_output_is_unchanged[True-aliases]/color.py
  • tests/data/expected/main/dynamic_models/root_model_alias_cli_output_is_unchanged[True-aliases]/items.py
  • tests/data/expected/main/dynamic_models/root_model_alias_cli_output_is_unchanged[True-aliases]/maybe_number.py
  • tests/data/expected/main/dynamic_models/root_model_alias_cli_output_is_unchanged[True-aliases]/plain_object.py
  • tests/data/expected/main/dynamic_models/root_model_alias_cli_output_is_unchanged[True-aliases]/twin_number.py
  • tests/data/expected/main/dynamic_models/root_model_alias_cli_output_is_unchanged[True-aliases]/z_number.py
  • tests/data/expected/main/dynamic_models/root_model_alias_cli_output_is_unchanged[True-classes]/__init__.py
  • tests/data/expected/main/dynamic_models/root_model_alias_cli_output_is_unchanged[True-classes]/a_text.py
  • tests/data/expected/main/dynamic_models/root_model_alias_cli_output_is_unchanged[True-classes]/alias_models.py
  • tests/data/expected/main/dynamic_models/root_model_alias_cli_output_is_unchanged[True-classes]/color.py
  • tests/data/expected/main/dynamic_models/root_model_alias_cli_output_is_unchanged[True-classes]/items.py
  • tests/data/expected/main/dynamic_models/root_model_alias_cli_output_is_unchanged[True-classes]/maybe_number.py
  • tests/data/expected/main/dynamic_models/root_model_alias_cli_output_is_unchanged[True-classes]/plain_object.py
  • tests/data/expected/main/dynamic_models/root_model_alias_cli_output_is_unchanged[True-classes]/twin_number.py
  • tests/data/expected/main/dynamic_models/root_model_alias_cli_output_is_unchanged[True-classes]/z_number.py
  • tests/data/expected/main/main_json/collapse_reuse_model.py
  • tests/data/expected/main/main_yaml/main_yaml.py
  • tests/data/expected/parser/graphql/generate_config_path_collection_options_parse.py
  • tests/data/expected/parser/graphql/parser_config_path_collection_options_parse.py
  • tests/data/expected/parser/jsonschema/parser_template_data_reuse[False-api].allow.py
  • tests/data/expected/parser/jsonschema/parser_template_data_reuse[False-api].forbid.py
  • tests/data/expected/parser/jsonschema/schema_validator_root_alias_uses_output_model_capability[dataclass].runtime_validation_non_pydantic_root_alias.py
  • tests/data/expected/parser/openapi/parser_array_called_fields_with_one_of_items.py
  • tests/data/expected/parser/openapi/parser_parse[False-True-None].py
  • tests/data/expected/parser/openapi/parser_parse[True-False-None].py
  • tests/data/expected/parser/openapi/parser_parse[True-True-None].py
  • tests/data/expected/parser/openapi/parser_parse[True-True-custom_module.Base].py
  • tests/data/expected/parser/openapi/parser_parse_additional_properties[False-True-None].py
  • tests/data/expected/parser/openapi/parser_parse_additional_properties[True-False-None].py
  • tests/data/expected/parser/openapi/parser_parse_additional_properties[True-True-None].py
  • tests/data/expected/parser/openapi/parser_parse_additional_properties[True-True-custom_module.Base].py
  • tests/data/expected/parser/openapi/parser_parse_alias/__init__.py
  • tests/data/expected/parser/openapi/parser_parse_alias/collection_s.py
  • tests/data/expected/parser/openapi/parser_parse_alias/fo_o/__init__.py
  • tests/data/expected/parser/openapi/parser_parse_alias/fo_o/ba_r.py
  • tests/data/expected/parser/openapi/parser_parse_alias/model_s.py
  • tests/data/expected/parser/openapi/parser_parse_alias/wo_o/__init__.py
  • tests/data/expected/parser/openapi/parser_parse_alias/wo_o/bo_o.py
  • tests/data/expected/parser/openapi/parser_parse_allof.py
  • tests/data/expected/parser/openapi/parser_parse_allof_ref.py
  • tests/data/expected/parser/openapi/parser_parse_allof_required_fields.py
  • tests/data/expected/parser/openapi/parser_parse_any.py
  • tests/data/expected/parser/openapi/parser_parse_anyof_required.py
  • tests/data/expected/parser/openapi/parser_parse_array_enum.py
  • tests/data/expected/parser/openapi/parser_parse_duplicate_model_with_simplify.py
  • tests/data/expected/parser/openapi/parser_parse_duplicate_models.py
  • tests/data/expected/parser/openapi/parser_parse_enum_models.py
  • tests/data/expected/parser/openapi/parser_parse_invalid_dotted_without_imports/SaveTrifectaV2.py
  • tests/data/expected/parser/openapi/parser_parse_invalid_dotted_without_imports/__init__.py
  • tests/data/expected/parser/openapi/parser_parse_modular_pydantic_v2_ruff_keeps_runtime_imports/__init__.py
  • tests/data/expected/parser/openapi/parser_parse_modular_pydantic_v2_ruff_keeps_runtime_imports/_internal.py
  • tests/data/expected/parser/openapi/parser_parse_modular_pydantic_v2_ruff_keeps_runtime_imports/bar.py
  • tests/data/expected/parser/openapi/parser_parse_modular_pydantic_v2_ruff_keeps_runtime_imports/collections.py
  • tests/data/expected/parser/openapi/parser_parse_modular_pydantic_v2_ruff_keeps_runtime_imports/foo/__init__.py
  • tests/data/expected/parser/openapi/parser_parse_modular_pydantic_v2_ruff_keeps_runtime_imports/foo/bar.py
  • tests/data/expected/parser/openapi/parser_parse_modular_pydantic_v2_ruff_keeps_runtime_imports/models.py
  • tests/data/expected/parser/openapi/parser_parse_modular_pydantic_v2_ruff_keeps_runtime_imports/nested/__init__.py
  • tests/data/expected/parser/openapi/parser_parse_modular_pydantic_v2_ruff_keeps_runtime_imports/nested/foo.py
  • tests/data/expected/parser/openapi/parser_parse_modular_pydantic_v2_ruff_keeps_runtime_imports/woo/__init__.py
  • tests/data/expected/parser/openapi/parser_parse_modular_pydantic_v2_ruff_keeps_runtime_imports/woo/boo.py
  • tests/data/expected/parser/openapi/parser_parse_nested_anyof.py
  • tests/data/expected/parser/openapi/parser_parse_oneof.py
  • tests/data/expected/parser/openapi/parser_parse_remote_ref.py
  • tests/data/expected/parser/openapi/parser_parse_required_null.py
  • tests/data/expected/parser/openapi/parser_parse_resolved_models.py
  • tests/data/expected/parser/openapi/parser_responses_with_tag.py
  • tests/data/expected/parser/openapi/parser_responses_without_content.py
  • tests/data/expected/parser/openapi/parser_with_include_path_parameters.py
  • tests/data/expected/parser/openapi/parser_with_query_parameters.py
  • tests/data/expected/parser/openapi_scope/api_callback_cycle_and_root_filter[False-scopes0].py
  • tests/data/expected/parser/openapi_scope/api_callback_cycle_and_root_filter[True-scopes1].py
  • tests/data/expected/parser/openapi_scope/api_case_sensitive_declarations[header-identity].py
  • tests/data/expected/parser/openapi_scope/api_case_sensitive_declarations[method-case].py
  • tests/data/expected/parser/openapi_scope/api_declarations[scopes0].py
  • tests/data/expected/parser/openapi_scope/api_discriminator_canonical_parent.py
  • tests/data/expected/parser/openapi_scope/api_external_document_also_collected_as_root/__init__.py
  • tests/data/expected/parser/openapi_scope/api_external_document_also_collected_as_root/external.py
  • tests/data/expected/parser/openapi_scope/api_external_root_and_reserved_definitions.py
  • tests/data/expected/parser/openapi_scope/api_facade_backends[DataModelType.DataclassesDataclass].py
  • tests/data/expected/parser/openapi_scope/api_facade_backends[DataModelType.MsgspecStruct].py
  • tests/data/expected/parser/openapi_scope/api_facade_backends[DataModelType.PydanticV2Dataclass].py
  • tests/data/expected/parser/openapi_scope/api_facade_backends[DataModelType.TypingTypedDict].py
  • tests/data/expected/parser/openapi_scope/api_info_version_without_models.py
  • tests/data/expected/parser/openapi_scope/api_local_roots_and_named_ids[anchors].py
  • tests/data/expected/parser/openapi_scope/api_local_roots_and_named_ids[local-roots].py
  • tests/data/expected/parser/openapi_scope/api_media_applicability[30].py
  • tests/data/expected/parser/openapi_scope/api_media_applicability[32].py
  • tests/data/expected/parser/openapi_scope/api_native_types_and_ref_siblings[DataModelType.DataclassesDataclass].py
  • tests/data/expected/parser/openapi_scope/api_native_types_and_ref_siblings[DataModelType.MsgspecStruct].py
  • tests/data/expected/parser/openapi_scope/api_native_types_and_ref_siblings[DataModelType.PydanticV2BaseModel].py
  • tests/data/expected/parser/openapi_scope/api_native_types_and_ref_siblings[DataModelType.PydanticV2Dataclass].py
  • tests/data/expected/parser/openapi_scope/api_native_types_and_ref_siblings[DataModelType.TypingTypedDict].py
  • tests/data/expected/parser/openapi_scope/api_nonempty_dot_modules[AllExportsScope.Children]/__init__.py
  • tests/data/expected/parser/openapi_scope/api_nonempty_dot_modules[AllExportsScope.Children]/alpha.py
  • tests/data/expected/parser/openapi_scope/api_nonempty_dot_modules[AllExportsScope.Children]/beta.py
  • tests/data/expected/parser/openapi_scope/api_nonempty_dot_modules[None]/__init__.py
  • tests/data/expected/parser/openapi_scope/api_nonempty_dot_modules[None]/alpha.py
  • tests/data/expected/parser/openapi_scope/api_nonempty_dot_modules[None]/beta.py
  • tests/data/expected/parser/openapi_scope/api_openapi_32_declarations[items-object].py
  • tests/data/expected/parser/openapi_scope/api_openapi_32_declarations[items-primitive].py
  • tests/data/expected/parser/openapi_scope/api_openapi_32_declarations[methods-32].py
  • tests/data/expected/parser/openapi_scope/api_pointer_spellings.py
  • tests/data/expected/parser/openapi_scope/api_reference_leaf_extension.declarations.py
  • tests/data/expected/parser/openapi_scope/api_repeated_source_declarations/__init__.py
  • tests/data/expected/parser/openapi_scope/api_repeated_source_declarations/declarations.py
  • tests/data/expected/parser/openapi_scope/api_response_headers[False].py
  • tests/data/expected/parser/openapi_scope/api_root_dialects_affect_generated_models[directory]/__init__.py
  • tests/data/expected/parser/openapi_scope/api_root_dialects_affect_generated_models[directory]/a.py
  • tests/data/expected/parser/openapi_scope/api_root_dialects_affect_generated_models[directory]/b.py
  • tests/data/expected/parser/openapi_scope/api_root_dialects_affect_generated_models[explicit]/__init__.py
  • tests/data/expected/parser/openapi_scope/api_root_dialects_affect_generated_models[explicit]/a.py
  • tests/data/expected/parser/openapi_scope/api_root_dialects_affect_generated_models[explicit]/b.py
  • tests/data/expected/parser/openapi_scope/api_root_dialects_affect_generated_models[first]/__init__.py
  • tests/data/expected/parser/openapi_scope/api_root_dialects_affect_generated_models[first]/a.py
  • tests/data/expected/parser/openapi_scope/api_root_dialects_affect_generated_models[first]/b.py
  • tests/data/expected/parser/openapi_scope/api_root_dialects_affect_generated_models[reversed]/__init__.py
  • tests/data/expected/parser/openapi_scope/api_root_dialects_affect_generated_models[reversed]/a.py
  • tests/data/expected/parser/openapi_scope/api_root_dialects_affect_generated_models[reversed]/b.py
  • tests/data/expected/parser/xmlschema/parser_config_none_renders_non_finite_enum.py
  • tests/data/expected/parser/xmlschema/parser_config_none_resolves_non_finite_enum_default.py
  • tests/generated_import_closure_allowlist.py
  • tests/main/test_dynamic_models.py
  • tests/main/test_dynamic_models.refs
  • tests/main/test_main_json.py
  • tests/main/test_main_json.refs
  • tests/main/test_main_yaml.py
  • tests/main/test_main_yaml.refs
  • tests/parser/test_backend_capabilities.py
  • tests/parser/test_backend_capabilities.refs
  • tests/parser/test_builtin_formatter_contract.py
  • tests/parser/test_builtin_formatter_contract.refs
  • tests/parser/test_graphql.py
  • tests/parser/test_graphql.refs
  • tests/parser/test_jsonschema.py
  • tests/parser/test_jsonschema.refs
  • tests/parser/test_openapi.py
  • tests/parser/test_openapi.refs
  • tests/parser/test_openapi_scope.py
  • tests/parser/test_openapi_scope.refs
  • tests/parser/test_xmlschema.py
  • tests/parser/test_xmlschema.refs
Files with no reviewable changes: 1

  • tests/parser/test_builtin_formatter_contract.py

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

@github-actions

Copy link
Copy Markdown
Contributor

@codspeed

codspeed Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Merging this PR will degrade performance by 23.6%

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 regressed benchmarks
⏩ 98 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
❌ test_perf_load_pyproject_config[mapping-None] 178.2 µs 276.1 µs -35.44%
❌ test_perf_load_pyproject_config[config-multiple] 188.6 µs 289.7 µs -34.91%
❌ test_perf_load_pyproject_config[config-None] 177.4 µs 270.8 µs -34.48%
❌ test_perf_load_pyproject_config[mapping-multiple] 191.9 µs 289.4 µs -33.7%
❌ test_perf_client_calls[async] 35.1 ms 48.9 ms -28.22%
❌ test_perf_client_calls[sync] 31.9 ms 44.4 ms -28.13%
❌ test_perf_pattern_properties_adapter_reuse 2.9 ms 4 ms -27.74%
❌ test_perf_mapped_reference_users 653.3 ms 895.1 ms -27.01%
❌ test_perf_recommend_options_full_kubernetes_style 18.5 s 25.3 s -26.85%
❌ test_perf_all_options_enabled 5 s 6.7 s -26.38%
❌ test_perf_scalar_root_collapsed_builtin 192.1 ms 260.4 ms -26.25%
❌ test_perf_unique_items_schema_validators 317.7 ms 428.6 ms -25.86%
❌ test_perf_large_models_pydantic_v2 3 s 4 s -25.75%
❌ test_perf_deep_nested 4.2 s 5.7 s -25.42%
❌ test_perf_unique_items_collapsed_builtin 249.8 ms 333.5 ms -25.12%
❌ test_perf_local_reference_file_resolution 118.8 ms 158.4 ms -24.98%
❌ test_perf_false_reference_validation 295.8 ms 393 ms -24.72%
❌ test_perf_extreme_large_schema 12.6 s 16.6 s -24.49%
❌ test_perf_kubernetes_style_pydantic_v2 2.2 s 2.9 s -24.21%
❌ test_perf_inherited_required_fields[required-derived-first] 712.2 ms 938.7 ms -24.13%
... ... ... ... ...

ℹ️ 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-paths-b7 (e9ab3ea) with main (27dc42e)

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 1a2b747 into main Nov 21, 2026
117 of 118 checks passed
@koxudaxi
Koudai Aono (koxudaxi) deleted the drop-expected-paths-b7 branch November 21, 2026 08:09
@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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant