Skip to content

Drop the expected-path arguments of the rest of the JSON Schema tests - #7241

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

Koudai Aono (koxudaxi) merged 4 commits into
mainfrom
drop-expected-path-arguments-9

Conversation

@koxudaxi

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

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Tests
    • Updated JSON Schema test snapshots and expected-output references, including coverage for additional schema variants.
    • Aligned documentation example output references with the current file locations.

@chatgpt-codex-connector

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

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T09:51:36.296124Z a1e4283 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

Review skipped

Auto incremental reviews are disabled on this repository.

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

Run configuration

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

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

JSON Schema tests now use updated golden-output paths and named snapshots. The reference manifest points many expected outputs to generated main_jsonschema fixtures. One documentation example now uses the relocated expected-output path.

Changes: JSON Schema test snapshot updates

Layer / File(s) Summary
Update test expected-output declarations
scripts/build_docs_examples.py, tests/main/jsonschema/test_main_jsonschema.py
Tests remove many explicit expected-file arguments and use updated snapshot names. Some CLI documentation declarations now supply golden-output paths. The documentation example points to the main_jsonschema fixture path.
Relocate generated-output references
tests/main/jsonschema/test_main_jsonschema.refs
The reference manifest redirects expected generated code, diagnostics, and other outputs to generated main_jsonschema snapshots across many JSON Schema cases.
Update reference and resource snapshots
tests/main/jsonschema/test_main_jsonschema.refs
Recursive-reference, dynamic-reference, and nested-schema-resource cases use generated snapshots for expected outputs, runtime results, warnings, requests, and errors.

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

Change: Other

Possibly related PRs

Merge Risk: Minimal · previous review a1e42

This change reorganizes JSON Schema test fixtures and snapshot references, plus one documentation example path. It does not change runtime behavior or production code. No actionable merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Drop the expected-path arguments of the rest of the JSON Schema tests" matches the changeset. The test file removes explicit assert_func/expected_file arguments, the reference manifest upda…
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 rest of the JSON Schema tests" matches the changeset. The test file removes explicit assert_func/expected_file arguments, the reference manifest updates expected-output paths, and the PR objectives state the same goal. The title is specific and concise, and it names the main 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 d140717 and a1e4283.

Files ignored due to path filters: 51

  • tests/data/expected/main/jsonschema/main_jsonschema/dotted_module_exports[dotted_module_exports-children-None-None-False-plain-children-PythonVersion.PY_310-api].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/dotted_module_exports[dotted_module_exports-children-single-None-False-single-children_single-PythonVe~7f0f5bfd].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/dotted_module_exports[dotted_module_exports-recursive-None-None-False-plain-recursive-PythonVersion.PY_310-api].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/dotted_module_exports[dotted_module_exports-recursive-single-None-False-single-recursive_single-Python~1feac1a9].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/dotted_module_exports[dotted_module_exports_collision-recursive-single-full-prefix-False-collision-col~9de8047b].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/dotted_module_exports[dotted_module_exports_collision-recursive-single-minimal-prefix-False-collision-~d6d4ae67].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/dotted_module_exports[dotted_module_exports_cycle-children-None-None-False-cycle-cycle_children-Python~4424db7c].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/dotted_module_exports[dotted_module_exports_cycle-children-single-None-False-cycle_single-cycle_childr~c0ba27cf].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/dotted_module_exports[dotted_module_exports_cycle-recursive-single-None-False-cycle_single-cycle_recur~da3a5fab].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/dotted_module_exports[dotted_module_exports_cycle_collision-recursive-None-full-prefix-False-cycle-cyc~b4294297].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/dotted_module_exports[dotted_module_exports_reuse-recursive-single-minimal-prefix-True-reuse-reuse-Pyt~5243df33].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/main_constraints_on_target_builtin_names[msgspec-3.14]._warnings.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/main_constraints_on_target_builtin_names[msgspec-3.15]._warnings.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/main_module_named_by_newer_target.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_meta_unsupported_types[extra_args0]._rejected.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_meta_unsupported_types[extra_args0]._warnings.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_meta_unsupported_types[extra_args1]._rejected.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_meta_unsupported_types[extra_args1]._warnings.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_payload_runtime_compatibility.msgspec_payload_runtime_compatibility_warnings.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_union_member_constraints[collapse_root_models]._decoded.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_union_member_constraints[collapse_root_models]._warnings.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_union_member_constraints[msgspec]._warnings.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_union_member_constraints[no_use_annotated]._decoded.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/main_root_sequence_final_types[any-api-builtin-template].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/main_root_sequence_final_types[any_set-api-builtin-template].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/main_root_sequence_final_types[external-api-builtin-template].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/main_root_sequence_final_types[external_no_sequence-api-builtin-template].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/main_root_sequence_final_types[nested-api-builtin-template].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/missing_embedded_anchor[builtin-api].missing_anchor_api_error.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/missing_embedded_anchor[builtin-api].missing_anchor_native_error.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/missing_embedded_anchor[builtin-url-api].missing_anchor_requests.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/nested_schema_resources[builtin-anchors-api]._runtime.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/nested_schema_resources[builtin-array-api]._runtime.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/nested_schema_resources[builtin-embedded-api]._runtime.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/nested_schema_resources[builtin-embedded-url-api]._requests.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/nested_schema_resources[builtin-external_control-api]._runtime.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/nested_schema_resources[builtin-external_control-url-api]._requests.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/nested_schema_resources[builtin-id_metadata-api]._runtime.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/nested_schema_resources[builtin-legacy-api]._runtime.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/nested_schema_resources[builtin-metadata-api]._runtime.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/nested_schema_resources[builtin-mixed_drafts-api]._runtime.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/nested_schema_resources[builtin-mixed_drafts-url-api]._requests.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/nested_schema_resources[builtin-mixed_resources-api]._runtime.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/nested_schema_resources[builtin-nested_defs-api]._runtime.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/nested_schema_resources[builtin-oneof-api]._runtime.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/nested_schema_resources[builtin-physical_collision-api]._runtime.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/nested_schema_resources[builtin-relative_base-api]._runtime.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/nested_schema_resources[builtin-sequence_reference-api]._runtime.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/undeclared_required_variants[False-all]._runtime.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/undeclared_required_variants[True-all]._runtime.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/jsonschema/main_jsonschema/validator_finalized_model_import[False-api].txt is excluded by !tests/data/**/*.txt and included by none
Files selected for processing: 145

  • scripts/build_docs_examples.py
  • tests/data/expected/main/jsonschema/main_jsonschema/decimal_fractional_constraints.py
  • tests/data/expected/main/jsonschema/main_jsonschema/default_values_allof.py
  • tests/data/expected/main/jsonschema/main_jsonschema/default_values_override.py
  • tests/data/expected/main/jsonschema/main_jsonschema/dynamic_ref_allof_base_class.py
  • tests/data/expected/main/jsonschema/main_jsonschema/dynamic_ref_allof_inherited_fields.py
  • tests/data/expected/main/jsonschema/main_jsonschema/dynamic_ref_documents.py
  • tests/data/expected/main/jsonschema/main_jsonschema/dynamic_ref_embedded_generic_specialization.py
  • tests/data/expected/main/jsonschema/main_jsonschema/dynamic_ref_embedded_resources.py
  • tests/data/expected/main/jsonschema/main_jsonschema/dynamic_ref_external_mapping.py
  • tests/data/expected/main/jsonschema/main_jsonschema/dynamic_ref_generic_specialization[collapse-parent].py
  • tests/data/expected/main/jsonschema/main_jsonschema/dynamic_ref_generic_specialization[default].py
  • tests/data/expected/main/jsonschema/main_jsonschema/dynamic_ref_generic_specialization[full-path].py
  • tests/data/expected/main/jsonschema/main_jsonschema/dynamic_ref_in_defs.py
  • tests/data/expected/main/jsonschema/main_jsonschema/dynamic_ref_inherited_fields.py
  • tests/data/expected/main/jsonschema/main_jsonschema/dynamic_ref_inline_resources.py
  • tests/data/expected/main/jsonschema/main_jsonschema/dynamic_ref_nested_generic_specialization.py
  • tests/data/expected/main/jsonschema/main_jsonschema/dynamic_ref_remote_generic_specialization.py
  • tests/data/expected/main/jsonschema/main_jsonschema/dynamic_ref_scope_bindings[anchor_reference].py
  • tests/data/expected/main/jsonschema/main_jsonschema/dynamic_ref_scope_bindings[circular_generic].py
  • tests/data/expected/main/jsonschema/main_jsonschema/dynamic_ref_scope_bindings[partial_binding].py
  • tests/data/expected/main/jsonschema/main_jsonschema/dynamic_ref_scope_bindings[root_generic].py
  • tests/data/expected/main/jsonschema/main_jsonschema/dynamic_ref_scope_bindings[tuple_additional_items].py
  • tests/data/expected/main/jsonschema/main_jsonschema/enum_deserialization_preset_opt_out.py
  • tests/data/expected/main/jsonschema/main_jsonschema/enum_list_defaults[generic-option].py
  • tests/data/expected/main/jsonschema/main_jsonschema/enum_member_special_defaults.py
  • tests/data/expected/main/jsonschema/main_jsonschema/enum_member_typed_defaults[generic-option].py
  • tests/data/expected/main/jsonschema/main_jsonschema/extra_template_data_field_validators.py
  • tests/data/expected/main/jsonschema/main_jsonschema/extra_template_data_prepared_validators_ignored[#all#].py
  • tests/data/expected/main/jsonschema/main_jsonschema/field_validators_multi_fields.py
  • tests/data/expected/main/jsonschema/main_jsonschema/field_validators_plain_mode.py
  • tests/data/expected/main/jsonschema/main_jsonschema/field_validators_with_no_field_skipped.py
  • tests/data/expected/main/jsonschema/main_jsonschema/field_validators_wrap_mode.py
  • tests/data/expected/main/jsonschema/main_jsonschema/generate_jsonschema_structured_enum_values[generic-option].py
  • tests/data/expected/main/jsonschema/main_jsonschema/generate_schema_validators_custom_base_class_name.py
  • tests/data/expected/main/jsonschema/main_jsonschema/generate_schema_validators_property_count.py
  • tests/data/expected/main/jsonschema/main_jsonschema/integer_fractional_constraints[constraint_args0-generated_integer_fractional_constraints].py
  • tests/data/expected/main/jsonschema/main_jsonschema/integer_fractional_constraints[constraint_args1-generated_integer_fractional_field_constraints].py
  • tests/data/expected/main/jsonschema/main_jsonschema/jsonschema_classvar_extra_annotated_pydantic_v2.py
  • tests/data/expected/main/jsonschema/main_jsonschema/jsonschema_classvar_extra_pydantic_v2.py
  • tests/data/expected/main/jsonschema/main_jsonschema/jsonschema_classvar_extra_set_pydantic_v2.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_allof_inheritance_cycle_custom_class_template.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_allof_inheritance_cycle_custom_typed_dict_class_template.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_allof_inheritance_mro_conflict_typed_dict.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_allof_inheritance_shared_joins.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_allof_mro.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_builtin_formatter_groups_target_stdlib[python-3.10].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_builtin_formatter_groups_target_stdlib[python-3.14].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_builtin_formatter_groups_target_stdlib[python-3.15].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_constraints_on_target_builtin_names[field-constraints-3.12].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_constraints_on_target_builtin_names[field-constraints-3.15].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_constraints_on_target_builtin_names[msgspec-3.12].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_constraints_on_target_builtin_names[msgspec-3.14].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_constraints_on_target_builtin_names[msgspec-3.15].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_dataclass_enum_member_special_defaults.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_dataclass_nested_mapping_defaults_require_constructor_arguments.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_dataclass_non_finite_number_values.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_duplicate_name_suffix.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_annotated_optional_imports.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_array_length_constraints_without_annotated.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_decimal_constraints.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_inherited_optional_default_uses_kw_only.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_integer_fractional_constraints.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_meta_unsupported_types[extra_args0].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_meta_unsupported_types[extra_args1].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_non_finite_number_values.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_payload_runtime_compatibility.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_required_alias_field_sorts_first.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_required_nullable_field_stays_required.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_union_member_constraints[collapse_root_models].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_union_member_constraints[msgspec].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_msgspec_union_member_constraints[no_use_annotated].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_naming_strategy_complex_duplicate_suffix.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_naming_strategy_complex_numbered.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_naming_strategy_complex_parent_prefixed.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_naming_strategy_full_path.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_naming_strategy_primary_first.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_naming_strategy_primary_first_multi_file.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_non_finite_container_defaults[dataclasses.dataclass-generated_dataclass_non_finite_container_defaults].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_non_finite_container_defaults[msgspec.Struct-generated_msgspec_non_finite_container_defaults].py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_payload_runtime_compatibility.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_reuse_model_masks_references_named_beyond_ascii.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_root_model_config_frozen.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_root_model_config_populate_by_name.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_type_alias_named_with_letters_beyond_ascii.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_typed_dict_functional_descriptions.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_typed_dict_self_referencing_extra_items.py
  • tests/data/expected/main/jsonschema/main_jsonschema/main_use_root_model_type_alias.py
  • tests/data/expected/main/jsonschema/main_jsonschema/model_extras[pydantic_v2.BaseModel].py
  • tests/data/expected/main/jsonschema/main_jsonschema/model_extras_no_match[pydantic_v2.BaseModel].py
  • tests/data/expected/main/jsonschema/main_jsonschema/model_extras_without_x_prefix[pydantic_v2.BaseModel].py
  • tests/data/expected/main/jsonschema/main_jsonschema/non_finite_number_values.py
  • tests/data/expected/main/jsonschema/main_jsonschema/non_finite_number_values_remaining_backends[pydantic_v2.dataclass-generated_pyda~4a88dd20.py
  • tests/data/expected/main/jsonschema/main_jsonschema/non_finite_number_values_remaining_backends[typing.TypedDict-generated_typed_dict_non_finite_number_values].py
  • tests/data/expected/main/jsonschema/main_jsonschema/ordinary_alias_keeps_global_additional_import.py
  • tests/data/expected/main/jsonschema/main_jsonschema/pattern_escaped_quote.py
  • tests/data/expected/main/jsonschema/main_jsonschema/property_count_default_generation_is_unchanged.py
  • tests/data/expected/main/jsonschema/main_jsonschema/property_count_ref_survives_root_collapse.py
  • tests/data/expected/main/jsonschema/main_jsonschema/property_count_root_collapse_keeps_helper_imports.py
  • tests/data/expected/main/jsonschema/main_jsonschema/property_count_uses_raw_alias_input_keys.py
  • tests/data/expected/main/jsonschema/main_jsonschema/property_count_with_generic_base_class.py
  • tests/data/expected/main/jsonschema/main_jsonschema/recursive_ref.py
  • tests/data/expected/main/jsonschema/main_jsonschema/recursive_ref_in_defs.py
  • tests/data/expected/main/jsonschema/main_jsonschema/recursive_ref_in_defs_pydantic_v2_no_future_imports.py
  • tests/data/expected/main/jsonschema/main_jsonschema/recursive_ref_no_anchor.py
  • tests/data/expected/main/jsonschema/main_jsonschema/reduce_duplicate_field_types.py
  • tests/data/expected/main/jsonschema/main_jsonschema/ref_merge_field_metadata.py
  • tests/data/expected/main/jsonschema/main_jsonschema/ref_nullable_only_no_duplicate_model.py
  • tests/data/expected/main/jsonschema/main_jsonschema/ref_nullable_with_constraint_creates_model.py
  • tests/data/expected/main/jsonschema/main_jsonschema/ref_nullable_with_extra_uses_reference_directly.py
  • tests/data/expected/main/jsonschema/main_jsonschema/ref_nullable_with_metadata_no_duplicate_model.py
  • tests/data/expected/main/jsonschema/main_jsonschema/ref_nullable_with_nonstandard_metadata.py
  • tests/data/expected/main/jsonschema/main_jsonschema/ref_with_const.py
  • tests/data/expected/main/jsonschema/main_jsonschema/ref_with_nonstandard_metadata.py
  • tests/data/expected/main/jsonschema/main_jsonschema/schema_import_paths_for_target[python-3.10].py
  • tests/data/expected/main/jsonschema/main_jsonschema/schema_import_paths_for_target[python-3.12].py
  • tests/data/expected/main/jsonschema/main_jsonschema/schema_import_paths_unavailable_types_moved_by_import_overrides.py
  • tests/data/expected/main/jsonschema/main_jsonschema/standard_schema_metadata.py
  • tests/data/expected/main/jsonschema/main_jsonschema/unique_items_inline_paths_default_options.py
  • tests/data/expected/main/jsonschema/main_jsonschema/unique_items_model_set_generation[unique_items_enum_set-False].py
  • tests/data/expected/main/jsonschema/main_jsonschema/unique_items_model_set_generation[unique_model_sets_frozen_any-True].py
  • tests/data/expected/main/jsonschema/main_jsonschema/unique_items_model_set_generation[unique_model_sets_frozen_list-True].py
  • tests/data/expected/main/jsonschema/main_jsonschema/unique_items_model_set_generation[unique_model_sets_nested-False].py
  • tests/data/expected/main/jsonschema/main_jsonschema/unique_items_model_set_generation[unique_model_sets_nested-True].py
  • tests/data/expected/main/jsonschema/main_jsonschema/unique_items_set_typed_dict.py
  • tests/data/expected/main/jsonschema/main_jsonschema/uuid_format_versions.py
  • tests/data/expected/main/jsonschema/main_jsonschema/x_python_import_unused.py
  • tests/data/expected/main/jsonschema/main_jsonschema/x_python_type_backend_import_collision.py
  • tests/data/expected/main/jsonschema/main_jsonschema/x_python_type_binding_collisions[dataclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/x_python_type_binding_collisions[msgspec].py
  • tests/data/expected/main/jsonschema/main_jsonschema/x_python_type_binding_collisions[pydantic-v2-dataclass].py
  • tests/data/expected/main/jsonschema/main_jsonschema/x_python_type_binding_collisions[pydantic-v2-no-future].py
  • tests/data/expected/main/jsonschema/main_jsonschema/x_python_type_binding_collisions[pydantic-v2].py
  • tests/data/expected/main/jsonschema/main_jsonschema/x_python_type_binding_collisions[typed-dict].py
  • tests/data/expected/main/jsonschema/main_jsonschema/x_python_type_builtin_and_enum_helpers_for_target_311.py
  • tests/data/expected/main/jsonschema/main_jsonschema/x_python_type_builtins_for_target_315.py
  • tests/data/expected/main/jsonschema/main_jsonschema/x_python_type_existing_alias_propagates_to_all_consumers.py
  • tests/data/expected/main/jsonschema/main_jsonschema/x_python_type_explicit_defs_override_target_unavailable_symbol.py
  • tests/data/expected/main/jsonschema/main_jsonschema/x_python_type_target_backports[python-3.10].py
  • tests/data/expected/main/jsonschema/main_jsonschema/x_python_type_target_backports[python-3.12].py
  • tests/data/expected/main/jsonschema/main_jsonschema/x_python_type_target_backports[python-3.14].py
  • tests/data/expected/main/jsonschema/main_jsonschema/x_python_type_target_backports[python-3.15].py
  • tests/data/expected/main/jsonschema/main_jsonschema/x_python_type_target_newer_symbols.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 20, 2026 •

Copy link
Copy Markdown

Merging this PR will improve performance by 12.44%

1 warning

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

⚡ 1 improved benchmark
✅ 52 untouched benchmarks
⏩ 98 skipped benchmarks1

Performance Changes

Benchmark BASE HEAD Efficiency
⚡ test_perf_load_yaml_openapi_large 29.2 ms 25.9 ms +12.44%

Tip

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


Comparing drop-expected-path-arguments-9 (3b149ef) with main (f018abf)

Open in CodSpeed

Footnotes

  1. 98 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@codecov

codecov Bot commented Nov 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@koxudaxi
Koudai Aono (koxudaxi) merged commit 5498b92 into main Nov 20, 2026
215 of 218 checks passed
@koxudaxi
Koudai Aono (koxudaxi) deleted the drop-expected-path-arguments-9 branch November 20, 2026 10:52
@github-actions

Copy link
Copy Markdown
Contributor

Breaking Change Analysis

Result: No breaking changes detected

Reasoning: The PR only touches tests and test tooling. It moves expected-output fixtures under tests/data/expected/main/jsonschema into a main_jsonschema subdirectory with names derived from the tests, all with 0 lines added or removed. It refactors tests/main/jsonschema/test_main_jsonschema.py to drop explicit assert_func and expected_file arguments in favour of automatic expected-file lookup by test name, and updates the .refs file. It also points one docs example path in scripts/build_docs_examples.py at the moved fixture. No library source under src changes, so no CLI options, Python API, templates, defaults, error handling or supported Python versions change. Every cell in the behaviour diff is both-fail, with no accepted or violation cells, so the default generated output does not change.


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