Problem
A shared-runtime dependency rollout can be source-compatible while an older deployed service still references a strategy profile that is no longer admitted by the canonical catalog. The container then fails closed at startup.
Required guard
- Before an image rollout, resolve every targeted Cloud Run runtime target against the pinned catalog and adapter capability matrix.
- Require
STRATEGY_PROFILE and runtime-target profile to agree, and require the target mode/dry-run flags to meet the declared deployment policy.
- Fail the deployment before traffic shifts if any target is retired, unsupported, or has a name/mode mismatch.
- Do not silently remap a retired strategy to another strategy; it needs a separate release/admission decision.
- Keep the verification generic for every strategy, plugin mount, and platform target.
Acceptance evidence
- Unit coverage for a retired profile and for profile/mode mismatch.
- Deploy workflow preflight executes before image build/traffic shift.
- A current-target audit report contains only non-sensitive identity/status fields.
Problem
A shared-runtime dependency rollout can be source-compatible while an older deployed service still references a strategy profile that is no longer admitted by the canonical catalog. The container then fails closed at startup.
Required guard
STRATEGY_PROFILEand runtime-target profile to agree, and require the target mode/dry-run flags to meet the declared deployment policy.Acceptance evidence