Skip to content

feat: gate Cloud Run rollouts on target admission - #407

Merged
Pigbibi merged 1 commit into
mainfrom
fix/deployed-runtime-target-admission
Aug 28, 2026
Merged

feat: gate Cloud Run rollouts on target admission#407
Pigbibi merged 1 commit into
mainfrom
fix/deployed-runtime-target-admission

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • verify each deployed Cloud Run runtime target before an image rollout
  • fail closed for retired profiles, target/profile drift, and Paper/Shadow/Live semantic drift
  • ensure disabled deployment automation cannot build or deploy
  • preserve previous images and revisions unless cleanup is explicitly enabled

Safety

The verifier reads only non-sensitive Cloud Run identity configuration and makes no mutations. It never remaps a retired strategy.

Verification

  • uv run --extra test python -m pytest -q tests/test_deployed_runtime_target_admission.py
  • uv run --extra test python -m pytest -q tests/test_runtime_config_support.py -k build_cloud_run_env_sync_plan
  • uv run --extra test ruff check scripts/verify_deployed_runtime_target_admission.py tests/test_deployed_runtime_target_admission.py
  • live read-only check: retired shadow target failed closed as expected

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi merged commit ec119f5 into main Aug 28, 2026
1 check passed
@Pigbibi
Pigbibi deleted the fix/deployed-runtime-target-admission branch August 28, 2026 17:41
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