Repository navigation
ReleaseAdmin: expose Terraform roots in declared reach - #7
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 commite5108533e6ef2e0cb4f43885ba425391b4c4cab9, included in combined head92f1616379cb83feb24bee641334cd238e909f7d.The public contract adds optional nullable
DeclaredReachView.terraform,TerraformRootsView(plan, addresses, omitted), andTerraformPlanViewwith 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.pywith pinnedopenapi-python-client==0.29.1andruff==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.