Skip to content
This repository was archived by the owner on Oct 30, 2026. It is now read-only.

Package the shared API contract suite and backend adapters - #3806

Merged
adamtheturtle merged 25 commits into
mainfrom
codex/contract-package-foundation-20261028
Oct 28, 2026
Merged

adamtheturtle merged 25 commits into
mainfrom
codex/contract-package-foundation-20261028

Conversation

@adamtheturtle

@adamtheturtle adamtheturtle commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Closes #3739.

Package the authoritative Vuforia Web Services and Model Target API contract suite in a separately buildable contract-tests/ project. Shared fixtures and helpers depend on neither the mock implementation nor Flask. A separate test-backends/ development package supplies the explicitly loaded core adapters; other repositories can provide their own adapter plugin.

Import-only compatibility modules retain core CI selectors, marks and fixture bindings. Assertions have one maintained source, coverage measures the packaged implementations, and the 100% gate remains unchanged. Core interception and deployment assertions stay in the core tests.

A pytest consumer integration test builds wheels, collects the installed suite without the implementation or Flask, then runs existing contracts through the explicit Flask adapter from a fresh environment. Checked-in consumer plugins verify dependency isolation, the None-valued setup contract and absence of checkout-test imports. Documentation covers installation, adapter requirements and revision compatibility; Docker and docs builds support the workspace packages.

The five API migrations are merged here: #3807, #3808, #3809, #3810 and #3811.

Validation:

  • Migration checks preserve the existing test node IDs and assertion/fixture definitions.
  • Final combined local mock suite: 2,030 passed, 833 skipped, including Docker deployment tests.
  • The final combined isolated wheel-consumer integration test passes; the individual API-family consumer checks also pass.
  • Pre-commit, partition checks, all type checkers and Pylint pass.
  • Docker build, runtime import smoke and Sphinx HTML build pass.
  • Final-head hosted verification: 120 successful checks, one skipped check, and 100% line/branch coverage. The live query job fails with the previously known ProjectSuspendedError; its completion-ci aggregate also fails. These two failures were explicitly accepted for this merge.

…s-20261028

Package the shared image-query contract tests

This branch was successfully deployed

1 active and 1 inactive deployments
vuforia — 2fe17606 Deployed Oct 28, 2026 by adamtheturtle via ci-tests (3.15, docs/) #2689
development — 2fe17606 Deployed Oct 28, 2026 by adamtheturtle via pages #2560
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Package the shared API contract suite for reuse from another repository

1 participant