Skip to content

fix(acme): repoint zone-exists to /api/v1/acme/zones/{zone}#16

Merged
zoltanf merged 1 commit into
mainfrom
fix/acme-zone-exists-path
May 20, 2026
Merged

fix(acme): repoint zone-exists to /api/v1/acme/zones/{zone}#16
zoltanf merged 1 commit into
mainfrom
fix/acme-zone-exists-path

Conversation

@zoltanf
Copy link
Copy Markdown
Owner

@zoltanf zoltanf commented May 20, 2026

Summary

  • rc0 acme zone-exists now hits GET /api/v1/acme/zones/{zone} — RcodeZero moved the endpoint there to align with the sibling /zones/{zone}/rrsets. The old /api/v1/acme/{zone} path 404s against the live API, so the command was broken in production.
  • Refreshed tests/fixtures/openapi.json from the live spec; nightly spec-drift workflow goes green and chore: OpenAPI spec drift detected (2026-05-14) #15 can close.
  • Drive-by: scripts/gen_api_coverage.py still had the pre-v1.0 record add / update / replace-all verb names. Corrected to set / append / import so regenerated docs/api-coverage.md doesn't regress.

Test plan

  • uv run ruff check . — clean
  • uv run ruff format --check . — clean
  • uv run mypy — clean
  • uv run pytest — 459 passed, 90.64% coverage (gate 88%)
  • uv run python scripts/gen_api_coverage.py — 58/63 endpoints mapped, only intended diff

Closes #15.

RcodeZero moved CheckACMEZoneExists from /api/v1/acme/{zone} to
/api/v1/acme/zones/{zone} (aligning with the sibling
/zones/{zone}/rrsets path). `rc0 acme zone-exists` was hitting the
old path and returning 404 against the live API.

Refreshes tests/fixtures/openapi.json from the live spec, rewires
the two zone-exists integration tests, and updates docstrings + the
mission-plan endpoint table. Drive-by: scripts/gen_api_coverage.py
had stale `record` verb names from before the v1.0 set/append/import
rename — corrected so regenerated docs/api-coverage.md stays current.

Closes #15.
@zoltanf zoltanf merged commit 70e285b into main May 20, 2026
5 checks passed
@zoltanf zoltanf deleted the fix/acme-zone-exists-path branch May 20, 2026 13:20
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.

chore: OpenAPI spec drift detected (2026-05-14)

1 participant