Skip to content

ReleaseAdmin: expose Terraform roots in declared reach - #9

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.

Only openapi.public.json changes. The CLI embeds the bundled contract in its schema display; it has no owning client code-generation step. Existing typed runtime responses ignore compatible additions, and raw review results retain the complete server document.

Local verification on the source tree committed as 039864068958c8b6ddb5bce05807b302d930b481:

  • JSON parsing, all schema references, exact canonical bytes, and the additive-only contract comparison pass.
  • git diff --check passes.
  • /opt/homebrew/bin/python3.14 -m unittest discover -s scripts -p 'test_*.py' passes all 8 tests.

No local Rust build, Rust test, Clippy, or dependency audit runs while the sole application builder uses the host. Those omissions are not passing results. The ordinary GitHub Checks job must provide current-head Rust qualification, including the existing contract/schema-display regression, before merging.

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

@mohsen1
mohsen1 merged commit 9f4cbb0 into main Oct 18, 2026
5 checks passed
@mohsen1
mohsen1 deleted the codex/release-admin-terraform-dtos branch November 3, 2026 06:55
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