Skip to content

Drop the inferred expected-path arguments of the JSON Schema tests - #7267

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

Koudai Aono (koxudaxi) merged 2 commits into
mainfrom
drop-expected-paths-b1

Conversation

@koxudaxi

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

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Tests
    • Updated JSON Schema test fixtures and expected outputs to use the reorganized reference locations.
    • Documentation example checks now use the corresponding JSON Schema fixture.
    • These changes affect test and example validation; application behavior is unchanged.

@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-21T04:07:45.371892Z deb6226 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

The pull request updates JSON Schema fixture and expected-output references to the main_jsonschema directory. It also removes explicit assert_file_content callbacks from many test calls.

Changes: JSON Schema fixture and assertion updates

Layer / File(s) Summary
Update fixture and expected-output paths
tests/main/jsonschema/test_main_jsonschema.refs, tests/main/jsonschema/test_main_jsonschema.py, scripts/build_docs_examples.py
The reference manifest and selected golden-output paths now point to fixtures under main_jsonschema. The model-reuse documentation example uses the fixture at expected/main_jsonschema/main_json_reuse_enum.py.
Use default test assertions
tests/main/jsonschema/test_main_jsonschema.py
Many run_main_and_assert calls no longer pass assert_file_content explicitly and use the helper’s default assertion behavior.

Estimated code review effort: 2 (Simple) | ~12 minutes

Change: Other

Merge Risk: Minimal · previous review deb62

This is a test-only reorganization of JSON Schema fixtures plus a docs example path update. It does not change production behavior, so merge risk is minimal.

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 main change: the expected-path arguments that the JSON Schema tests inferred are dropped. The objectives state the same intent, removing expected-path arguments from the alias-chec…
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 main change: the expected-path arguments that the JSON Schema tests inferred are dropped. The objectives state the same intent, removing expected-path arguments from the alias-checked JSON Schema tests. The raw summary confirms the test file removes explicit assert_func arguments and the references file updates fixture paths to main_jsonschema. The title is specific and matches the changeset. Minor point: the summary describes removal of assert_func arguments, while the title speaks of expected-path arguments; the objectives use the same expected-path wording, so the title stays aligned with the stated intent.

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 f4216c7 and deb6226.

Files selected for processing: 250

  • scripts/build_docs_examples.py
  • tests/data/expected/main/jsonschema/main_jsonschema/all_of_use_default.py
  • tests/data/expected/main/jsonschema/main_jsonschema/allof_array_enum_items_in_sets.py
  • tests/data/expected/main/jsonschema/main_jsonschema/allof_enum_no_external_ref.py
  • tests/data/expected/main/jsonschema/main_jsonschema/allof_enum_ref.py
  • tests/data/expected/main/jsonschema/main_jsonschema/allof_inherited_required_use_default.py
  • tests/data/expected/main/jsonschema/main_jsonschema/allof_mapping_every_part_null.py
  • tests/data/expected/main/jsonschema/main_jsonschema/allof_mapping_ref_sibling_type.py
  • tests/data/expected/main/jsonschema/main_jsonschema/allof_required_use_default.py
  • tests/data/expected/main/jsonschema/main_jsonschema/allof_unevaluated_closed_member[pydantic_v2.BaseModel-extra_forbidden].py
  • tests/data/expected/main/jsonschema/main_jsonschema/allof_unevaluated_closed_member[pydantic_v2.dataclass-unexpected_keyword_argument].py
  • tests/data/expected/main/jsonschema/main_jsonschema/allof_unevaluated_closed_member[typing.TypedDict-extra_forbidden].py
  • tests/data/expected/main/jsonschema/main_jsonschema/collapse_root_models_atomic_replace.py
  • tests/data/expected/main/jsonschema/main_jsonschema/collapse_root_models_empty_union.py
  • tests/data/expected/main/jsonschema/main_jsonschema/collapse_root_models_item_count_alias_reuse[collapse-reuse-models].py
  • tests/data/expected/main/jsonschema/main_jsonschema/collapse_root_models_item_count_alias_reuse[reuse-model].py
  • tests/data/expected/main/jsonschema/main_jsonschema/collapse_root_models_item_count_aliases[pydantic_v2.BaseModel].py
  • tests/data/expected/main/jsonschema/main_jsonschema/collapse_root_models_item_count_aliases[pydantic_v2.dataclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/collapse_root_models_item_count_aliases[request-response].py
  • tests/data/expected/main/jsonschema/main_jsonschema/collapse_root_models_nested_reference.py
  • tests/data/expected/main/jsonschema/main_jsonschema/collapse_root_models_scalar_atomic_replace.py
  • tests/data/expected/main/jsonschema/main_jsonschema/collapse_root_models_with_optional.py
  • tests/data/expected/main/jsonschema/main_jsonschema/discriminator_multiple_aliases_pydantic_v2.py
  • tests/data/expected/main/jsonschema/main_jsonschema/discriminator_no_literal_multiple_aliases_pydantic_v2.py
  • tests/data/expected/main/jsonschema/main_jsonschema/empty_items_array.py
  • tests/data/expected/main/jsonschema/main_jsonschema/enum_object_values.py
  • tests/data/expected/main/jsonschema/main_jsonschema/field_discriminator_value_pydantic_v2[pydantic_v2.BaseModel-field_discriminator_mapping].py
  • tests/data/expected/main/jsonschema/main_jsonschema/field_discriminator_value_pydantic_v2[pydantic_v2.BaseModel-field_discriminator_not_a_name].py
  • tests/data/expected/main/jsonschema/main_jsonschema/field_discriminator_value_pydantic_v2[pydantic_v2.dataclass-field_discriminator_mapping].py
  • tests/data/expected/main/jsonschema/main_jsonschema/field_discriminator_value_pydantic_v2[pydantic_v2.dataclass-field_discriminator_not_a_name].py
  • tests/data/expected/main/jsonschema/main_jsonschema/field_named_like_type_beside_enum_named_base[pydantic_v2.BaseModel].py
  • tests/data/expected/main/jsonschema/main_jsonschema/field_named_like_type_beside_enum_named_base[pydantic_v2.dataclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/field_named_like_type_beside_enum_named_custom_base.py
  • tests/data/expected/main/jsonschema/main_jsonschema/force_optional_required.py
  • tests/data/expected/main/jsonschema/main_jsonschema/local_reference_file_cache.py
  • tests/data/expected/main/jsonschema/main_jsonschema/long_description.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_all_of_ref.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_all_of_ref_self.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_all_of_value_site_keywords[msgspec.Struct-extra_args2].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_all_of_value_site_keywords[pydantic_v2.BaseModel-extra_args0].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_all_of_value_site_keywords[pydantic_v2.BaseModel-extra_args1].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_array_field_constraints.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_collapse_constrained_roots_in_containers[msgspec].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_collapse_constrained_roots_in_containers[pydantic].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_collapse_constrained_roots_in_containers[without-option].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_collapse_enum_literal_aliases[msgspec].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_collapse_enum_literal_aliases[root-model].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_collapse_enum_literal_aliases[type-alias].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_collapse_enum_literal_aliases[typed-dict].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_collapse_enum_literal_aliases[without-option].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_combined_array.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_const_complex_values.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_const_null.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_const_optional_primitive.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_const_optional_values.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_dataclass_const.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_dataclass_field_py312.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_dataclass_required_default_factory.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_decimal_multiple_of_in_field_forms[dataclass_annotated].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_decimal_multiple_of_in_field_forms[dataclass_field].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_decimal_multiple_of_in_field_forms[default].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_decimal_multiple_of_in_field_forms[field_constraints].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_decimal_multiple_of_in_field_forms[field_constraints_released].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_decimal_multiple_of_in_field_forms[strict_float].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_decimal_multiple_of_in_field_forms[strict_float_annotated].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_decimal_multiple_of_in_field_forms[strict_float_annotated_released].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_decimal_multiple_of_in_field_forms[strict_float_released].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_decimal_multiple_of_in_field_forms[use_annotated].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_decimal_multiple_of_in_field_forms[use_annotated_released].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_decimal_multiple_of_in_field_forms[zero_bound_classes].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_encoded_str_for_constrained_base64[collapse_root_models].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_encoded_str_for_constrained_base64[collapse_root_models_strict_str].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_encoded_str_for_constrained_base64[dataclass_annotated].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_encoded_str_for_constrained_base64[default].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_encoded_str_for_constrained_base64[encoded_field_constraints_strict_str].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_encoded_str_for_constrained_base64[encoded_strict_str_target_pydantic_2].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_encoded_str_for_constrained_base64[field_constraints].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_encoded_str_for_constrained_base64[field_constraints_released].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_encoded_str_for_constrained_base64[field_constraints_strict_str].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_encoded_str_for_constrained_base64[strict_released].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_encoded_str_for_constrained_base64[strict_str].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_encoded_str_for_constrained_base64[target_pydantic_2].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_encoded_str_for_constrained_base64[use_annotated_released].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_encoded_str_for_constrained_base64[use_annotated_strict_str].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_external_definitions.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_generate_non_pydantic_output.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_import_fast_path_primitives.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_inheritance_forward_ref.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_inheritance_forward_ref_keep_model_order.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_invalid_enum_name.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_invalid_enum_name_snake_case_field.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_invalid_model_name.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_json_capitalise_enum_members.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_json_pointer.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_json_pointer_empty_token[read-escaped].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_json_pointer_through_scalar[read-escaped].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_json_reuse_enum.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_json_reuse_enum_default_member.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_literal_constraints[dataclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_literal_constraints[default].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_literal_constraints[field_constraints].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_literal_constraints[literal].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_literal_constraints[literal_field_constraints].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_literal_constraints[msgspec].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_literal_constraints[pydantic_dataclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_literal_constraints[typed_dict].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_literal_constraints[use_annotated].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_literal_constraints_undecided[default].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_literal_constraints_undecided[literal].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_falsy_defaults.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_null_field.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_nested_all_of.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_nested_array_item_counts[dataclasses.dataclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_nested_array_item_counts[pydantic_v2.BaseModel].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_nested_array_item_counts[pydantic_v2.dataclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_nested_json_pointer.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_nested_map_property_counts[field_constraints].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_nested_map_property_counts[msgspec.Struct].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_nested_map_property_counts[pydantic_v2.dataclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_null.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_nullable_any_of.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_nullable_enum_literal_length[field_constraints].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_nullable_enum_literal_length[pydantic_dataclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_nullable_enum_literal_length[use_annotated].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_pydantic_v2_model_rebuild_inheritance.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_escaped_ref_pointers[read-name-map].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_escaped_ref_pointers[read].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_escaped_ref_pointers[released].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_escaped_ref_pointers_hash.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_escaped_ref_pointers_name_map_spellings.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_escaped_ref_pointers_split_name[read-escaped].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_escaped_ref_pointers_split_name[released].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_length_keywords_by_type[collapse_root_models].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_length_keywords_by_type[dataclass_annotated].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_length_keywords_by_type[default].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_length_keywords_by_type[field_constraints].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_length_keywords_by_type[field_constraints_collapse_root_models].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_length_keywords_by_type[field_constraints_use_type_alias].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_length_keywords_by_type[field_constraints_use_type_alias_released].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_length_keywords_by_type[literals].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_length_keywords_by_type[msgspec].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_length_keywords_by_type[msgspec_released].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_length_keywords_by_type[released].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_length_keywords_by_type[type_mappings].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_length_keywords_by_type[type_mappings_released].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_length_keywords_by_type[use_annotated].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_read_length_keywords_by_type[use_annotated_released].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_redundant_constraints[annotated].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_redundant_constraints[annotated_option].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_redundant_constraints[default_option].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_redundant_constraints[field_constraints_option].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_redundant_constraints[literal_option].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_redundant_constraints[msgspec_option].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_redundant_constraints[pydantic_dataclass_option].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_redundant_constraints[strict_option].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_ref_fragment_opened_by_an_encoded_slash[jsonschema].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_ref_fragment_opened_by_an_encoded_slash[openapi].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_ref_nullable_import_fast_path.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_reuse_model_collapse_inline_definitions.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_reuse_model_collapse_nested.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_reuse_model_collapse_with_root.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_reuse_model_discriminator_literal.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_root_model_with_additional_properties.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_root_model_with_additional_properties_literal.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_root_model_with_additional_properties_no_use_standard_collections.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_root_model_with_additional_properties_no_use_union_operator.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_root_model_with_additional_properties_use_generic_container_types.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_self_reference.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_serialize_as_any_every_subclass[every-subclass-collapse].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_serialize_as_any_every_subclass[every-subclass-reuse].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_serialize_as_any_every_subclass[every-subclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_serialize_as_any_every_subclass[released-reuse].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_serialize_as_any_every_subclass[released].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_serialize_as_any_import_fast_path.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_similar_nested_array.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_site_models_for_constrained_refs[default].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_site_models_for_constrained_refs[msgspec_option].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_site_models_for_constrained_refs[option].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_space_field_enum_snake_case_field.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_strict_decimal_beside_a_field_named_decimal[field_constraints].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_strict_decimal_beside_a_field_named_decimal[use_annotated].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_strict_types.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_strict_types_all.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_string_constraints_on_emitted_types[collapse].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_string_constraints_on_emitted_types[default].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_string_constraints_on_emitted_types[field_constraints].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_string_constraints_on_emitted_types[msgspec].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_string_constraints_on_emitted_types[pydantic_dataclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_string_constraints_on_emitted_types[type_overrides].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_string_constraints_on_emitted_types[use_annotated].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_structured_imports.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_type_alias_cycle_keep_model_order.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_type_alias_forward_ref_keep_model_order.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_type_array_only_null.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_typed_dict_const.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_typed_dict_extra_items_array_type_list.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_typed_dict_extra_items_names_model_declared_before.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_typed_dict_not_required_nullable.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_typed_dict_special_field_name_with_inheritance_model.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_alias_items_merged[merged].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_alias_items_merged[sets].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_by_value[frozen-dataclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_by_value[frozen-pydantic].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_by_value[identity-dataclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_by_value[msgspec].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_by_value[pydantic].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_by_value[without-option].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_collapsed_root_items[frozenset].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_collapsed_root_items[msgspec].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_collapsed_root_items[root-model-type-alias].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_collapsed_root_items[set].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_extra_items[by-value].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_extra_items[default].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_extra_items[generic-container-types].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_model_items[dataclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_model_items[frozen-msgspec].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_model_items[frozen-pydantic-dataclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_model_items[msgspec].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_model_items[pydantic-dataclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_model_items[root-model-type-alias].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_model_items[type-alias].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_model_items[typed-dict].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_nested_arrays[msgspec.Struct].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_nested_arrays[pydantic_v2.BaseModel].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_nested_arrays[typing.TypedDict].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_nested_merged[collapse].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_nested_merged[subclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_type_list[dataclasses.dataclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_type_list[msgspec.Struct].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_type_list[pydantic_v2.BaseModel].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_type_list_merged[collapse].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_type_list_merged[subclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_unhashable_items[msgspec.Struct].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_unhashable_items[pydantic_v2.BaseModel].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_union_items_sets[frozen-sets].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_unique_items_as_set_union_items_sets[sets].py
  • tests/data/expected/main/jsonschema/main_jsonschema/model_name_map_key_of_name_a_path_key_value_takes[displaced-name].py
  • tests/data/expected/main/jsonschema/main_jsonschema/model_name_map_key_of_name_a_path_key_value_takes[map-value].py
  • tests/data/expected/main/jsonschema/main_jsonschema/multiple_aliases_pydantic_v2.py
  • tests/data/expected/main/jsonschema/main_jsonschema/multiple_types_with_object.py
  • tests/data/expected/main/jsonschema/main_jsonschema/one_of_with_sub_schema_array_item.py
  • tests/data/expected/main/jsonschema/main_jsonschema/property_names_pattern_quotes.py
  • tests/data/expected/main/jsonschema/main_jsonschema/type_mappings_byte_to_binary_pattern[field_constraints].py
  • tests/data/expected/main/jsonschema/main_jsonschema/type_mappings_byte_to_binary_pattern[pydantic_dataclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/use_default_msgspec_field_ordering.py
  • tests/data/expected/main/jsonschema/main_jsonschema/use_default_required_null_default.py
  • tests/data/expected/main/jsonschema/main_jsonschema/use_default_strict_nullable_required.py
  • tests/data/expected/main/jsonschema/main_jsonschema/use_generic_base_class_msgspec_literal_default_field_ordering.py
  • tests/main/jsonschema/test_main_jsonschema.py
  • tests/main/jsonschema/test_main_jsonschema.refs

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 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 39.44%

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_client_calls[sync] 18.4 ms 32.9 ms -44.15%
❌ test_perf_client_calls[async] 20.2 ms 36.2 ms -44.13%
❌ test_perf_unique_items_nested_model_validation 1.5 ms 2.7 ms -43.67%
❌ test_perf_unique_items_runtime_scalar_validation 1.5 ms 2.7 ms -43.66%
❌ test_perf_simple_msgspec_unset_field_rendering 279.8 ms 492 ms -43.14%
❌ test_perf_duplicate_names 522.5 ms 914.8 ms -42.88%
❌ test_perf_large_models_dataclass_builtin 794.1 ms 1,384.5 ms -42.64%
❌ test_perf_load_yaml_openapi_large 18 ms 31.3 ms -42.64%
❌ test_perf_large_models_pydantic_v2_builtin 799 ms 1,391.5 ms -42.58%
❌ test_perf_large_models_typed_dict[legacy-requiredness] 671.4 ms 1,167.7 ms -42.5%
❌ test_perf_openapi_large_pydantic_v2_builtin 805.8 ms 1,394.5 ms -42.22%
❌ test_perf_large_models_single_module_stdout 955.3 ms 1,651.3 ms -42.15%
❌ test_perf_multiple_files_input 2.1 s 3.6 s -42.11%
❌ test_perf_complex_refs 1.1 s 1.8 s -41.89%
❌ test_perf_large_models_pydantic_v2_builtin_double_quotes 871 ms 1,492.6 ms -41.65%
❌ test_perf_inherited_required_fields[required-base-first] 423.2 ms 724.6 ms -41.59%
❌ test_perf_unique_items_collapsed_builtin 153.2 ms 261.9 ms -41.52%
❌ test_perf_large_models_pydantic_v2_noformat 804 ms 1,372.6 ms -41.42%
❌ test_perf_scalar_root_collapsed_builtin 118.6 ms 201.6 ms -41.15%
❌ test_perf_openapi_large 1.7 s 2.8 s -41.07%
... ... ... ... ...

ℹ️ 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-b1 (ff1edad) with main (f4216c7)

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 e50ad38 into main Nov 21, 2026
117 of 118 checks passed
@koxudaxi
Koudai Aono (koxudaxi) deleted the drop-expected-paths-b1 branch November 21, 2026 04:55
@github-actions

Copy link
Copy Markdown
Contributor

Breaking Change Analysis

Result: No breaking changes detected

Reasoning: The PR only reorganises tests. It moves JSON Schema expected-output fixtures into the main_jsonschema subdirectory with 100 percent similarity renames. It removes explicit assert_func=assert_file_content arguments and the matching expected-file inference fallback from the tests/main/conftest.py helper. It updates golden_output and comparison_output paths in test decorators and rewrites the test_main_jsonschema.refs mapping file. It also changes one docs example path in scripts/build_docs_examples.py. No source code under the package changes, so there are no changes to generated code, templates, CLI options, the Python API, defaults, supported Python versions or error handling. Every behaviour diff cell is classed both-fail, so no default output changed.


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