Skip to content

ReleaseAdmin: sync Python SDK with canonical public API - #4

Merged
mohsen1 merged 1 commit into
mainfrom
codex/releaseadmin-public-contract-sync
Oct 18, 2026
Merged

mohsen1 merged 1 commit into
mainfrom
codex/releaseadmin-public-contract-sync

Conversation

@mohsen1

@mohsen1 mohsen1 commented Oct 18, 2026

Copy link
Copy Markdown
Member

ReleaseAdmin

The bundled public API is stale. Synchronize it with apps/saas/clients/sdk/openapi.public.json at monorepo commit c88fb8bebb7b0cd309f23146a1bb27e1af945424 and regenerate with pinned openapi-python-client==0.29.1 and ruff==0.14.3.

The canonical contract adds named-file review and stop operations, patch reverification, and assessment, capture, reach, and diagram types. The existing operation contract requires both client facades to expose all 20 JSON routes. Add the two small wrappers and model exports, extend the existing scoped HTTP cases, and update the patch-response fixture for its required verify field.

This branch starts from fresh public main at 56633c5854c5f6c82ccf200c79a3d6e994484f5f. It does not import or modify PR #3. Package versions, dependencies, generator code, and release workflows remain unchanged.

Verification on f620c94b4dc1e50e68d01d31444fa3d903383c71:

  • .venv/bin/python3 scripts/generate.py with repository-pinned tools.
  • python3 scripts/check.py: generated-file equality, all 20 operation/facade contracts, Ruff lint and format, mypy, the full HTTP and release-version tests, wheel and source builds, and isolated installs with sync/async HTTP smoke tests.
  • git diff --check.
  • Bundled contract SHA-256: c15f74c5518f562dbe38a6f56444e873a7af5d47f64f8d9b1d9ce25cf35c528e, byte-identical to the immutable source.

No merge, tag, release dispatch, or package publication is part of this PR creation.

@mohsen1

mohsen1 commented Oct 18, 2026

Copy link
Copy Markdown
Member Author

ReleaseAdmin

Independent review complete atf620c94b4dc1e50e68d01d31444fa3d903383c71. Canonical spec bytes verified; sync/async file-review and stop wrappers retain the authenticated transport, tenant-qualified paths, UUID quoting and exact request/response models. Existing dual-mode HTTP coverage now checks both operations. Reported full local check passes63tests, generation/type/lint and wheel/source installed smoke tests; current GitHub check also succeeds. No version, dependency, workflow or publication changes. Merging the public prerequisite for the control-plane release.

@mohsen1
mohsen1 merged commit f9f477d into main Oct 18, 2026
4 checks passed
@mohsen1
mohsen1 deleted the codex/releaseadmin-public-contract-sync branch November 3, 2026 06:54
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