fix(deploy): record why world-at-ruin cannot be promoted out of Observe-only - #189
Conversation
…ve-only The resource's comment told the next reader to promote it to the full management set "once Synced/Ready shows the observed state". That precondition is now met, so the instruction reads as actionable — but acting on it would not apply this repository's merge policy. The shared patch in kustomization.yaml adds webCommitSignoffRequired to every Repository, and provider-upjet-github v0.19.1 (the latest release, embedding terraform-provider-github v6.6.0) sends that field on every update PATCH. GitHub rejects such a PATCH while the organization enforces signoff, even when the requested value is true. Promoting would therefore leave a failed asynchronous update, the state platform-tenant-template already carries and that tests/repository-update-policy.sh pins against. Comment-only: the rendered manifest is byte-identical. Part of #188
d667c34 to
b2d6a45
Compare
@coderabbitai review |
|
✅ Action performedReview finished.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📜 Recent review details🧰 Additional context used🧠 Learnings (1)📚 Learning: 2026-08-06T20:18:26.789ZApplied to files:
🔇 Additional comments (1)
📝 WalkthroughWalkthroughThe pull request rewrites the Merge Risk: ⚪ Minimal · up to This change documents why the repository remains observe-only without changing its manifest or deployed behavior, so it introduces no current merge-readiness risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Readiness evidence @
The substance is the constraint it records: the two-stage flow's review precondition is now met ( Promoting and merging. |
Motivation
world-at-ruin's declaration told the next reader to promote it out of Observe-only "once Synced/Ready shows the observed state". That condition is now met, so the instruction reads as ready to act on — but acting on it would quietly make things worse rather than fixing the repository's merge policy.Changes
Records why promotion is currently unavailable: the provider release we run cannot apply a repository update while the organization enforces commit signoff, so promoting would leave the resource stuck on a failed update instead of applying the policy — the same state
platform-tenant-templateis already in. The note says what has to ship upstream before promotion becomes the right move, and points at #188 for the divergence itself.Comment-only. The rendered manifest is byte-identical, so nothing deployed changes.
Part of #188