Skip to content

fix(dev): preflight runtime binding drift - #9732

Merged
Git-on-my-level merged 1 commit into
mainfrom
fix/dev-runtime-drift-preflight
Jul 14, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
fix/dev-runtime-drift-preflight

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Jul 14, 2026 •

Copy link
Copy Markdown
Member

Summary

  • add a development-only, read-only Cloud Run runtime-binding preflight after the existing legacy public-binding migration and before candidate deployment
  • compare only bindings declared by the checked-in development runtime manifest, avoiding false drift from retained unmanaged live bindings
  • fail closed for declared secret mismatches/missing values, lingering Secret Manager or unsupported public bindings, malformed/multi-container service shapes, and failed Cloud Run describes

Scope and safety

  • requires exactly env=dev and project=based-hardware-dev
  • invokes only gcloud run services describe in check mode
  • no traffic, secret, Cloud Run update, production workflow, environment-variable, or secret changes
  • expected public literals may be absent after the legacy-secret removal and before the candidate deploy; they may not remain secret-backed

Verification

  • independent review approved after coverage additions
  • focused unit/workflow tests: 23 passed
  • live read-only development runtime-binding contract: passed
  • actionlint, diff hygiene, runtime-env validation, typecheck (0 errors), selected backend unit checks, OpenAPI contract, formatting, and repository pre-push checks passed

Review in cubic

@Git-on-my-level
Git-on-my-level merged commit 869506d into main Jul 14, 2026
22 of 25 checks passed
@Git-on-my-level
Git-on-my-level deleted the fix/dev-runtime-drift-preflight branch July 14, 2026 18:40
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