Skip to content

feat: add V2 production e2e to the release gate - #143

Merged
tian-lan-landing merged 1 commit into
mainfrom
feat/v2-production-e2e
Aug 5, 2026
Merged

feat: add V2 production e2e to the release gate#143
tian-lan-landing merged 1 commit into
mainfrom
feat/v2-production-e2e

Conversation

@tian-lan-landing

Copy link
Copy Markdown
Collaborator

Extends the production e2e gate to cover the V2 surface (client.v2), which previously had only staging smoke coverage. Follow-up to #142 (V1 production e2e).

  • tests/contract/test_v2_production.py — mirrors the staging V2 smoke against the live production V2 host (api.ade.landing.ai), production marker: parse, extract, ground, and both job types. The soft-hidden v2.build_schema is excluded, matching the staging smoke. Shares one parse across the parse/ground tests to hold spend down.
  • No new secret / no new job: the production marker means the existing pytest -m production run picks these up, so V2 gates release automatically. production-e2e env + LANDINGAI_ADE_PRODUCTION_APIKEY are reused (the same key authenticates both hosts).
  • Renamed the workflow E2E Production (V1) → E2E Production and updated cost/label comments.

Trade-off (as discussed): V2 now shares the release gate, so a V2 production issue can block a V1 release, and per-release credit spend roughly doubles.

Verified locally: ruff + pyright clean, -m production now selects 14 tests (8 V1 + 6 V2), suite skips cleanly with no key. Not run against live production (needs the key + spends credits).

Mirror tests/contract/test_v2_smoke.py against the live production V2 API
(api.ade.landing.ai) as tests/contract/test_v2_production.py, marked
`production`. Covers parse, extract, ground, and both job types (the
soft-hidden build-schema is excluded, matching the staging smoke).

The `production` marker means the existing e2e-production.yml run
(`pytest -m production`) picks these up automatically, so V2 now gates
release alongside V1. Rename the workflow "E2E Production (V1)" ->
"E2E Production" and update the cost/label comments accordingly.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings August 5, 2026 09:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds V2 production end-to-end coverage to the existing release gate.

Changes:

  • Tests V2 parse, extract, ground, and asynchronous jobs against production.
  • Reuses the production credential and serial release workflow.
  • Renames workflow labels to reflect V1 and V2 coverage.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
tests/contract/test_v2_production.py Adds six production V2 tests.
.github/workflows/e2e-production.yml Runs and documents combined V1/V2 coverage.
.github/workflows/release.yml Updates release-gate documentation for V2.

@tian-lan-landing
tian-lan-landing merged commit b082920 into main Aug 5, 2026
6 checks passed
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.

2 participants