Skip to content

test: align v2 parser baselines before v1 output removal#3032

Merged
koxudaxi merged 2 commits intomainfrom
split/pr2c-v2-test-baseline
Mar 7, 2026
Merged

test: align v2 parser baselines before v1 output removal#3032
koxudaxi merged 2 commits intomainfrom
split/pr2c-v2-test-baseline

Conversation

@koxudaxi
Copy link
Copy Markdown
Owner

@koxudaxi koxudaxi commented Mar 6, 2026

Summary

  • move parser and integration golden updates needed for the v2 baseline into a separate prep PR
  • keep public v1 output support intact in this PR so behavior changes stay isolated
  • preserve diff coverage at 100% before the v1 output removal PR

Testing

  • tox run -e 3.13-parallel
  • .tox/3.13-parallel/bin/diff-cover --compare-branch origin/main .tox/coverage.3.13-parallel.xml

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 6, 2026

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Mar 6, 2026

Merging this PR will not alter performance

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

✅ 11 untouched benchmarks
⏩ 98 skipped benchmarks1


Comparing split/pr2c-v2-test-baseline (fa7c74b) with main (03200be)

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.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 6, 2026

Important

Review skipped

Too many files!

This PR contains 300 files, which is 150 over the limit of 150.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: e5107b57-2329-4edd-b705-0583a74da376

📥 Commits

Reviewing files that changed from the base of the PR and between 03200be and fa7c74b.

📒 Files selected for processing (300)
  • src/datamodel_code_generator/config.py
  • src/datamodel_code_generator/parser/base.py
  • tests/data/expected/main/class_decorators_pydantic_BaseModel.py
  • tests/data/expected/main/graphql/additional_imports.py
  • tests/data/expected/main/graphql/annotated_use_default_kwarg.py
  • tests/data/expected/main/graphql/casing.py
  • tests/data/expected/main/graphql/custom_formatters.py
  • tests/data/expected/main/graphql/custom_scalar_types.py
  • tests/data/expected/main/graphql/default_values_required_use_default.py
  • tests/data/expected/main/graphql/different_types_of_fields.py
  • tests/data/expected/main/graphql/enum_literals_all.py
  • tests/data/expected/main/graphql/enum_literals_one.py
  • tests/data/expected/main/graphql/enums.py
  • tests/data/expected/main/graphql/enums_ignore_enum_constraints.py
  • tests/data/expected/main/graphql/enums_no_specialized.py
  • tests/data/expected/main/graphql/enums_specialized.py
  • tests/data/expected/main/graphql/enums_using_subclass.py
  • tests/data/expected/main/graphql/field_aliases.py
  • tests/data/expected/main/graphql/no_typename.py
  • tests/data/expected/main/graphql/simple_star_wars.py
  • tests/data/expected/main/graphql/simple_star_wars_class_name_prefix.py
  • tests/data/expected/main/graphql/simple_star_wars_extra_fields_allow.py
  • tests/data/expected/main/graphql/split_graphql_schemas.py
  • tests/data/expected/main/graphql/type_alias.py
  • tests/data/expected/main/graphql/union.py
  • tests/data/expected/main/graphql/use_standard_collections.py
  • tests/data/expected/main/graphql/use_union_operator.py
  • tests/data/expected/main/json/general.py
  • tests/data/expected/main/json/json_collapse_reuse_model.py
  • tests/data/expected/main/json/json_reuse_model.py
  • tests/data/expected/main/json/space_and_special_characters.py
  • tests/data/expected/main/jsonschema/additional_properties_false_pydantic_v1.py
  • tests/data/expected/main/jsonschema/additional_properties_true_pydantic_v1.py
  • tests/data/expected/main/jsonschema/alias_import_alias/date_schema.py
  • tests/data/expected/main/jsonschema/all_of_any_of/direct.py
  • tests/data/expected/main/jsonschema/all_of_any_of/reference.py
  • tests/data/expected/main/jsonschema/all_of_any_of_base_class_ref.py
  • tests/data/expected/main/jsonschema/all_of_one_of/direct.py
  • tests/data/expected/main/jsonschema/all_of_one_of/reference.py
  • tests/data/expected/main/jsonschema/all_of_ref_self.py
  • tests/data/expected/main/jsonschema/all_of_use_default.py
  • tests/data/expected/main/jsonschema/allof_root_model_constraints.py
  • tests/data/expected/main/jsonschema/allof_root_model_constraints_merge.py
  • tests/data/expected/main/jsonschema/array_field_constraints.py
  • tests/data/expected/main/jsonschema/array_in_additional_properties.py
  • tests/data/expected/main/jsonschema/base_class_map.py
  • tests/data/expected/main/jsonschema/base_class_map_empty_list.py
  • tests/data/expected/main/jsonschema/base_class_map_list.py
  • tests/data/expected/main/jsonschema/circular_ref_external_relative_keywords.py
  • tests/data/expected/main/jsonschema/circular_ref_indirect.py
  • tests/data/expected/main/jsonschema/circular_ref_ref_with_schema_keywords.py
  • tests/data/expected/main/jsonschema/circular_ref_root_with_type.py
  • tests/data/expected/main/jsonschema/circular_ref_with_schema_keywords.py
  • tests/data/expected/main/jsonschema/circular_reference.py
  • tests/data/expected/main/jsonschema/combine_one_of_object.py
  • tests/data/expected/main/jsonschema/combined_array.py
  • tests/data/expected/main/jsonschema/complex_any_of.py
  • tests/data/expected/main/jsonschema/complex_one_of.py
  • tests/data/expected/main/jsonschema/duplicate_name/bar.py
  • tests/data/expected/main/jsonschema/duplicate_name/foo.py
  • tests/data/expected/main/jsonschema/dynamic_ref.py
  • tests/data/expected/main/jsonschema/dynamic_ref_in_defs.py
  • tests/data/expected/main/jsonschema/enum_specialized.py
  • tests/data/expected/main/jsonschema/enum_specialized_disable.py
  • tests/data/expected/main/jsonschema/external_definitions.py
  • tests/data/expected/main/jsonschema/external_files_in_directory.py
  • tests/data/expected/main/jsonschema/forwarding_reference/commons.py
  • tests/data/expected/main/jsonschema/forwarding_reference/forwarding.py
  • tests/data/expected/main/jsonschema/forwarding_reference/schema.py
  • tests/data/expected/main/jsonschema/has_default_value.py
  • tests/data/expected/main/jsonschema/hostname_field_constraints_pydantic_v1.py
  • tests/data/expected/main/jsonschema/hostname_field_constraints_strict_pydantic_v1.py
  • tests/data/expected/main/jsonschema/hostname_strict_field_constraints.py
  • tests/data/expected/main/jsonschema/ids/URI.py
  • tests/data/expected/main/jsonschema/ids/id.py
  • tests/data/expected/main/jsonschema/ids/name.py
  • tests/data/expected/main/jsonschema/ids/sameAs.py
  • tests/data/expected/main/jsonschema/ids/type.py
  • tests/data/expected/main/jsonschema/inheritance_forward_ref.py
  • tests/data/expected/main/jsonschema/inheritance_forward_ref_keep_model_order.py
  • tests/data/expected/main/jsonschema/json_pointer.py
  • tests/data/expected/main/jsonschema/json_pointer_array.py
  • tests/data/expected/main/jsonschema/json_reuse_enum.py
  • tests/data/expected/main/jsonschema/json_reuse_enum_default_member.py
  • tests/data/expected/main/jsonschema/jsonschema_allof_enum_no_external_ref.py
  • tests/data/expected/main/jsonschema/jsonschema_allof_enum_ref.py
  • tests/data/expected/main/jsonschema/jsonschema_collapse_root_models_name_strategy_direct_refs.py
  • tests/data/expected/main/jsonschema/jsonschema_collapse_root_models_name_strategy_multiple_wrappers.py
  • tests/data/expected/main/jsonschema/jsonschema_default_values_allof.py
  • tests/data/expected/main/jsonschema/jsonschema_default_values_override.py
  • tests/data/expected/main/jsonschema/jsonschema_multiple_types_with_object.py
  • tests/data/expected/main/jsonschema/module_split_single/model.py
  • tests/data/expected/main/jsonschema/multiple_files_json_pointer/file_a.py
  • tests/data/expected/main/jsonschema/multiple_files_json_pointer/file_b.py
  • tests/data/expected/main/jsonschema/multiple_files_json_pointer/file_c.py
  • tests/data/expected/main/jsonschema/multiple_files_self_ref/base_test.py
  • tests/data/expected/main/jsonschema/multiple_files_self_ref_single.py
  • tests/data/expected/main/jsonschema/nested_directory/_internal.py
  • tests/data/expected/main/jsonschema/nested_directory/definitions/food.py
  • tests/data/expected/main/jsonschema/nested_directory/definitions/friends.py
  • tests/data/expected/main/jsonschema/nested_json_pointer.py
  • tests/data/expected/main/jsonschema/nullable_any_of.py
  • tests/data/expected/main/jsonschema/nullable_any_of_use_union_operator.py
  • tests/data/expected/main/jsonschema/nullable_object.py
  • tests/data/expected/main/jsonschema/object_has_one_of.py
  • tests/data/expected/main/jsonschema/oneof_const_enum_literal.py
  • tests/data/expected/main/jsonschema/oneof_const_enum_nullable.py
  • tests/data/expected/main/jsonschema/oneof_const_enum_type_list.py
  • tests/data/expected/main/jsonschema/oneof_const_mixed_with_ref.py
  • tests/data/expected/main/jsonschema/oneof_const_with_properties.py
  • tests/data/expected/main/jsonschema/pattern.py
  • tests/data/expected/main/jsonschema/pattern_properties.py
  • tests/data/expected/main/jsonschema/pattern_properties_by_reference.py
  • tests/data/expected/main/jsonschema/pattern_properties_field_constraints.py
  • tests/data/expected/main/jsonschema/recursive_ref.py
  • tests/data/expected/main/jsonschema/recursive_ref_in_defs.py
  • tests/data/expected/main/jsonschema/recursive_ref_no_anchor.py
  • tests/data/expected/main/jsonschema/ref_type_has_null.py
  • tests/data/expected/main/jsonschema/reuse_scope_tree_self_ref/schema_a.py
  • tests/data/expected/main/jsonschema/reuse_scope_tree_self_ref/shared.py
  • tests/data/expected/main/jsonschema/root_id.py
  • tests/data/expected/main/jsonschema/root_id_absolute_url.py
  • tests/data/expected/main/jsonschema/root_in_enum.py
  • tests/data/expected/main/jsonschema/root_one_of/union.py
  • tests/data/expected/main/jsonschema/same_name_objects.py
  • tests/data/expected/main/jsonschema/self_reference.py
  • tests/data/expected/main/jsonschema/similar_nested_array.py
  • tests/data/expected/main/jsonschema/special_enum.py
  • tests/data/expected/main/jsonschema/special_enum_empty_enum_field_name.py
  • tests/data/expected/main/jsonschema/special_enum_special_field_name_prefix.py
  • tests/data/expected/main/jsonschema/special_enum_special_field_name_prefix_keep_private.py
  • tests/data/expected/main/jsonschema/stdin_oneof_ref.py
  • tests/data/expected/main/jsonschema/strict_types.py
  • tests/data/expected/main/jsonschema/strict_types_all.py
  • tests/data/expected/main/jsonschema/strict_types_all_field_constraints.py
  • tests/data/expected/main/jsonschema/strict_types_with_constraints.py
  • tests/data/expected/main/jsonschema/string_dict.py
  • tests/data/expected/main/jsonschema/subclass_enum.py
  • tests/data/expected/main/jsonschema/titles.py
  • tests/data/expected/main/jsonschema/titles_use_title_as_name.py
  • tests/data/expected/main/jsonschema/type_alias.py
  • tests/data/expected/main/jsonschema/type_alias_with_field_description.py
  • tests/data/expected/main/jsonschema/unevaluated_properties.py
  • tests/data/expected/main/jsonschema/unevaluated_properties_multiple_types.py
  • tests/data/expected/main/jsonschema/unevaluated_properties_pydantic_v1.py
  • tests/data/expected/main/jsonschema/unevaluated_properties_true.py
  • tests/data/expected/main/jsonschema/unevaluated_properties_true_pydantic_v1.py
  • tests/data/expected/main/jsonschema/use_union_operator/_internal.py
  • tests/data/expected/main/jsonschema/use_union_operator/definitions/food.py
  • tests/data/expected/main/jsonschema/use_union_operator/definitions/friends.py
  • tests/data/expected/main/jsonschema/without_titles_use_title_as_name.py
  • tests/data/expected/main/openapi/additional_properties.py
  • tests/data/expected/main/openapi/allof_enum_ref.py
  • tests/data/expected/main/openapi/allof_required.py
  • tests/data/expected/main/openapi/allof_with_required_inherited_complex_allof.py
  • tests/data/expected/main/openapi/allof_with_required_inherited_comprehensive.py
  • tests/data/expected/main/openapi/allof_with_required_inherited_coverage.py
  • tests/data/expected/main/openapi/base_class.py
  • tests/data/expected/main/openapi/body_and_parameters/general.py
  • tests/data/expected/main/openapi/body_and_parameters/only_paths.py
  • tests/data/expected/main/openapi/body_and_parameters/remote_ref.py
  • tests/data/expected/main/openapi/circular_imports_class_conflict/_internal.py
  • tests/data/expected/main/openapi/circular_imports_different_prefixes/_internal.py
  • tests/data/expected/main/openapi/circular_imports_mixed_prefixes/_internal.py
  • tests/data/expected/main/openapi/circular_imports_small_cycle/_internal.py
  • tests/data/expected/main/openapi/circular_imports_stripe_like/_internal.py
  • tests/data/expected/main/openapi/circular_imports_with_inheritance/_internal.py
  • tests/data/expected/main/openapi/collapse_root_models.py
  • tests/data/expected/main/openapi/collapse_root_models_field_constraints.py
  • tests/data/expected/main/openapi/complex_reference.py
  • tests/data/expected/main/openapi/custom_file_header.py
  • tests/data/expected/main/openapi/custom_file_header_comments_only.py
  • tests/data/expected/main/openapi/custom_file_header_empty.py
  • tests/data/expected/main/openapi/custom_file_header_invalid_syntax.py
  • tests/data/expected/main/openapi/custom_file_header_no_future.py
  • tests/data/expected/main/openapi/custom_file_header_with_docstring.py
  • tests/data/expected/main/openapi/custom_file_header_with_docstring_and_import.py
  • tests/data/expected/main/openapi/custom_file_header_with_import.py
  • tests/data/expected/main/openapi/custom_template_dir.py
  • tests/data/expected/main/openapi/custom_template_dir_include_override.py
  • tests/data/expected/main/openapi/custom_template_dir_old_style.py
  • tests/data/expected/main/openapi/default_object/Another.py
  • tests/data/expected/main/openapi/default_object/Nested.py
  • tests/data/expected/main/openapi/default_object/__init__.py
  • tests/data/expected/main/openapi/default_values_parameters_use_default.py
  • tests/data/expected/main/openapi/disable_appending_item_suffix.py
  • tests/data/expected/main/openapi/disable_timestamp.py
  • tests/data/expected/main/openapi/discriminator/general.py
  • tests/data/expected/main/openapi/discriminator/in_array.py
  • tests/data/expected/main/openapi/discriminator/in_array_collapse_root_models.py
  • tests/data/expected/main/openapi/discriminator/without_mapping.py
  • tests/data/expected/main/openapi/empty_dict_default.py
  • tests/data/expected/main/openapi/enable_command_header.py
  • tests/data/expected/main/openapi/enable_version_header.py
  • tests/data/expected/main/openapi/enum_models/all.py
  • tests/data/expected/main/openapi/enum_models/as_literal.py
  • tests/data/expected/main/openapi/enum_models/one.py
  • tests/data/expected/main/openapi/enum_models/one_literal_as_default.py
  • tests/data/expected/main/openapi/external_ref_mapping.py
  • tests/data/expected/main/openapi/external_ref_mapping_nested.py
  • tests/data/expected/main/openapi/force_optional.py
  • tests/data/expected/main/openapi/general.py
  • tests/data/expected/main/openapi/http_refs.py
  • tests/data/expected/main/openapi/max_items_enum.py
  • tests/data/expected/main/openapi/modular/_internal.py
  • tests/data/expected/main/openapi/modular/bar.py
  • tests/data/expected/main/openapi/modular/collections.py
  • tests/data/expected/main/openapi/modular_all_exports_children/_internal.py
  • tests/data/expected/main/openapi/modular_all_exports_children/bar.py
  • tests/data/expected/main/openapi/modular_all_exports_children/collections.py
  • tests/data/expected/main/openapi/modular_all_exports_children_docstring/_internal.py
  • tests/data/expected/main/openapi/modular_all_exports_children_docstring/bar.py
  • tests/data/expected/main/openapi/modular_all_exports_children_docstring/collections.py
  • tests/data/expected/main/openapi/modular_all_exports_recursive/_internal.py
  • tests/data/expected/main/openapi/modular_all_exports_recursive/bar.py
  • tests/data/expected/main/openapi/modular_all_exports_recursive/collections.py
  • tests/data/expected/main/openapi/modular_all_exports_recursive_full_prefix/_internal.py
  • tests/data/expected/main/openapi/modular_all_exports_recursive_full_prefix/bar.py
  • tests/data/expected/main/openapi/modular_all_exports_recursive_full_prefix/collections.py
  • tests/data/expected/main/openapi/modular_custom_class_name/_internal.py
  • tests/data/expected/main/openapi/modular_custom_class_name/bar.py
  • tests/data/expected/main/openapi/modular_custom_class_name/collections.py
  • tests/data/expected/main/openapi/modular_reuse_model/_internal.py
  • tests/data/expected/main/openapi/modular_reuse_model/bar.py
  • tests/data/expected/main/openapi/modular_reuse_model/collections.py
  • tests/data/expected/main/openapi/multiple_required_any_of.py
  • tests/data/expected/main/openapi/no_file.py
  • tests/data/expected/main/openapi/null_only_enum.py
  • tests/data/expected/main/openapi/nullable.py
  • tests/data/expected/main/openapi/nullable_strict_nullable.py
  • tests/data/expected/main/openapi/nullable_strict_nullable_use_union_operator.py
  • tests/data/expected/main/openapi/oas_response_reference.py
  • tests/data/expected/main/openapi/openapi_include_paths/pets_only.py
  • tests/data/expected/main/openapi/openapi_non_operations_and_security.py
  • tests/data/expected/main/openapi/paths_ref_with_external_schema.py
  • tests/data/expected/main/openapi/pyproject.py
  • tests/data/expected/main/openapi/pyproject_not_found.py
  • tests/data/expected/main/openapi/recursive_ref_discriminator.py
  • tests/data/expected/main/openapi/reference_to_object_properties.py
  • tests/data/expected/main/openapi/same_name_objects.py
  • tests/data/expected/main/openapi/target_python_version.py
  • tests/data/expected/main/openapi/target_python_version_313_has_future_annotations.py
  • tests/data/expected/main/openapi/target_python_version_314_no_future_annotations.py
  • tests/data/expected/main/openapi/type_alias.py
  • tests/data/expected/main/openapi/type_alias_cross_module_collision_a.py
  • tests/data/expected/main/openapi/type_alias_cross_module_collision_b.py
  • tests/data/expected/main/openapi/type_alias_forward_ref_multiple.py
  • tests/data/expected/main/openapi/type_alias_mutual_recursive.py
  • tests/data/expected/main/openapi/type_alias_recursive.py
  • tests/data/expected/main/openapi/type_alias_recursive_py311.py
  • tests/data/expected/main/openapi/union_default_object.py
  • tests/data/expected/main/openapi/use_default.py
  • tests/data/expected/main/openapi/use_default_kwarg.py
  • tests/data/expected/main/openapi/use_generic_container_types/_internal.py
  • tests/data/expected/main/openapi/use_generic_container_types/bar.py
  • tests/data/expected/main/openapi/use_generic_container_types/collections.py
  • tests/data/expected/main/openapi/use_generic_container_types_standard_collections/_internal.py
  • tests/data/expected/main/openapi/use_generic_container_types_standard_collections/bar.py
  • tests/data/expected/main/openapi/use_generic_container_types_standard_collections/collections.py
  • tests/data/expected/main/openapi/use_operation_id_as_name.py
  • tests/data/expected/main/openapi/use_standard_collections/_internal.py
  • tests/data/expected/main/openapi/use_standard_collections/bar.py
  • tests/data/expected/main/openapi/use_standard_collections/collections.py
  • tests/data/expected/main/openapi/with_field_constraints.py
  • tests/data/expected/main/openapi/with_snake_case_field.py
  • tests/data/expected/main/openapi/with_strip_default_none.py
  • tests/data/expected/main/space_and_special_characters_dict.py
  • tests/data/expected/main/space_and_special_characters_dict_default_v2.py
  • tests/data/expected/main/type_overrides_external_lib.py
  • tests/data/expected/main/type_overrides_model_level.py
  • tests/data/expected/main/type_overrides_nested_types.py
  • tests/data/expected/main/type_overrides_scoped.py
  • tests/data/expected/main/yaml.py
  • tests/data/expected/main_kr/main/output.py
  • tests/data/expected/main_kr/main_base_class/output.py
  • tests/data/expected/main_kr/main_custom_template_dir/output.py
  • tests/data/expected/main_kr/main_modular/_internal.py
  • tests/data/expected/main_kr/main_modular/bar.py
  • tests/data/expected/main_kr/main_modular/collections.py
  • tests/data/expected/main_kr/main_no_file/output.py
  • tests/data/expected/main_kr/main_use_field_description/output.py
  • tests/data/expected/main_kr/main_use_field_description_example/output.py
  • tests/data/expected/main_kr/main_use_field_description_example_dataclass/output.py
  • tests/data/expected/main_kr/main_use_field_description_with_example/output.py
  • tests/data/expected/main_kr/main_use_inline_field_description/output.py
  • tests/data/expected/main_kr/main_use_inline_field_description_example_only/output.py
  • tests/data/expected/main_kr/main_use_inline_field_description_with_example/output.py
  • tests/data/expected/main_kr/main_use_schema_description/output.py
  • tests/data/expected/main_kr/pyproject/output.py
  • tests/data/expected/main_kr/pyproject/output.strictstr.py
  • tests/data/expected/main_kr/target_python_version/output.py
  • tests/data/expected/main_kr/use_pendulum/output.py
  • tests/data/expected/parser/graphql/field-default-enum.py
  • tests/data/expected/parser/graphql/no_typename.py
  • tests/data/expected/parser/graphql/union-aliased-bug.py
  • tests/data/expected/parser/graphql/union-commented.py
  • tests/data/expected/parser/graphql/union_with_prefix.py
  • tests/data/expected/parser/openapi/openapi_parser_parse/format.py
  • tests/data/expected/parser/openapi/openapi_parser_parse/with_import.py
  • tests/data/expected/parser/openapi/openapi_parser_parse/with_import_format.py

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch split/pr2c-v2-test-baseline

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 and usage tips.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (03200be) to head (fa7c74b).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #3032   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           95        95           
  Lines        18174     18095   -79     
  Branches      2098      2094    -4     
=========================================
- Hits         18174     18095   -79     
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 Sentry.
📢 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 March 6, 2026 17:58
@koxudaxi koxudaxi merged commit cd3569b into main Mar 7, 2026
38 checks passed
@koxudaxi koxudaxi deleted the split/pr2c-v2-test-baseline branch March 7, 2026 03:19
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 7, 2026

Breaking Change Analysis

Result: No breaking changes detected

Reasoning: PR #3032 is a test baseline alignment PR that does NOT introduce breaking changes. The key changes are: (1) ParserConfig defaults changed from v1 to v2 model types - but ParserConfig is internal API (not in __all__ exports) and is overridden by GenerateConfig.output_model_type when using the public API; (2) Parser code removes v1 model type checks internally; (3) Test baselines updated to v2 output format; (4) V1-specific tests added with explicit --output-model-type pydantic.BaseModel. The actual breaking change (defaulting to Pydantic v2 output) was introduced in the previous PR #3029 which changed GenerateConfig.output_model_type default from PydanticBaseModel to PydanticV2BaseModel. This PR merely aligns internal defaults with that already-changed public default. Users can still generate v1 output by explicitly specifying --output-model-type pydantic.BaseModel. No changes were made to the public generate() function, CLI arguments, or production templates.


This analysis was performed by Claude Code Action

@github-actions
Copy link
Copy Markdown
Contributor

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