Skip to content

ReleaseAdmin: expose Terraform roots in declared reach - #7

Merged
mohsen1 merged 1 commit into
mainfrom
codex/release-admin-terraform-dtos
Oct 18, 2026
Merged

mohsen1 merged 1 commit into
mainfrom
codex/release-admin-terraform-dtos

Conversation

@mohsen1

@mohsen1 mohsen1 commented Oct 18, 2026

Copy link
Copy Markdown
Member

ReleaseAdmin

Expose the optional Terraform roots recorded in declared reach responses. Synchronize the bundled contract with genuine native output from control-plane source e26fce703a1e024e149647b1b97cd3aa01906153, output commit e5108533e6ef2e0cb4f43885ba425391b4c4cab9, included in combined head 92f1616379cb83feb24bee641334cd238e909f7d.

The public contract adds optional nullable DeclaredReachView.terraform, TerraformRootsView (plan, addresses, omitted), and TerraformPlanView with five states. Four existing GET response schemas reach this field: deployment review, pull-request run, review detail, and assessment detail. All operation paths, methods, security scopes, existing schemas, and required fields remain unchanged after removing this additive field and the two new schemas.

The bundled artifact is byte-identical to the immutable native output: SHA-256 981c00bc61bd68d932879ea960a8c31a0699b6276cb82f17a95dc22a2a3f9c32. JSON parsing and all 218 local schema references pass. No package version, dependency, tag, release, or publication changes.

Regenerate the Python models through owning scripts/generate.py with pinned openapi-python-client==0.29.1 and ruff==0.14.3. The models namespace exports both new DTOs. Extend the existing sync/async HTTP operation contract with absent, null, and typed Terraform payloads through all four affected response routes. This verifies actual deserialization into the public models, plan enum, addresses, and omitted count.

Local verification passes on the source tree committed as b437828e698b0cf3a96aacbcfe1678c418e7d3f3:

  • .venv/bin/python scripts/generate.py.
  • python3 scripts/check.py: exact generation equality, operation/facade contracts, Ruff lint/format, mypy, 67 tests, wheel/source builds, isolated package installs, and sync/async installed HTTP smoke tests.
  • git diff --check, canonical byte equality, local reference resolution, and additive contract comparison.

Synchronized with public main a80ea95a2954c51542fc652deeff8d01a73fa29b. Ready for independent current-head source review; ReleaseAdmin coordinates the merge separately. No application source pins change here.

@mohsen1
mohsen1 merged commit 778d2f1 into main Oct 18, 2026
4 checks passed
@mohsen1
mohsen1 deleted the codex/release-admin-terraform-dtos 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