Skip to content

test: harden api contract harnesses - #218

Merged
rlippmann merged 1 commit into
mainfrom
more_conformance_hardening
Jul 31, 2026
Merged

test: harden api contract harnesses#218
rlippmann merged 1 commit into
mainfrom
more_conformance_hardening

Conversation

@rlippmann

Copy link
Copy Markdown
Owner

What changed

  • add a shared API-contract harness validator for the Python conformance tests
  • harden the root, audit, and grammar API-contract harnesses to reject malformed fixture schema
  • keep exact export, engine member, signature, and shape-probe enforcement intact while making schema validation authoritative

Why

  • fail clearly on malformed API-contract fixtures instead of silently accepting unknown or unsupported schema
  • keep the conformance infrastructure aligned with the stricter fixture-contract model used elsewhere without changing runtime behavior

Checklist

  • pre-commit run (uv run pre-commit run --all-files)
  • tests pass (uv run pytest)

@rlippmann
rlippmann merged commit 4419167 into main Jul 31, 2026
18 checks passed
@rlippmann
rlippmann deleted the more_conformance_hardening branch July 31, 2026 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant