Skip to content

ci: impersonated identity-token mint for WIF-federated candidate acceptance (slice-2 root-cause fix) - #14564

Merged
Git-on-my-level merged 1 commit into
BasedHardware:mainfrom
Git-on-my-level:ci/probe-impersonated-mint
Sep 18, 2026
Merged

Git-on-my-level merged 1 commit into
BasedHardware:mainfrom
Git-on-my-level:ci/probe-impersonated-mint

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Sep 18, 2026 •

Copy link
Copy Markdown
Member

Failure-Class

Failure-Class: FC-fixture-mock-signature-drift

Summary

Root-cause fix for the slice-2 WIF candidate-gate failures. The #14525/#14557 diagnostics finally named it: stage=mint, rc=1 — gcloud auth print-identity-token cannot mint under a WIF-federated session because the federated credential holds no private key for the self-signing mint (bake 35340203517 artifact; manual impersonation-based replays succeeded, which is why every manual control passed while CI failed).

Fix

  • run_dev_candidate_acceptance.py: mint_cloud_run_identity_token gains --impersonate-service-account support; new --mint-impersonate CLI flag (env fallback CLOUD_RUN_IDENTITY_MINT_IMPERSONATE). Impersonated mint routes through the IAM signJwt API, which the federated credential CAN call when it holds roles/iam.serviceAccountTokenCreator on the target SA (already granted: audit-verified 2026-09-16, KB evidence 2026-09-18-iam-grants-and-rows-2-3).
  • deploy-backend-stack/action.yml: passes --mint-impersonate ${{ inputs.workload_identity_service_account }} only when WIF auth is in play — JSON lane behavior byte-identical.

Test plan

Product invariants affected

  • INV-DATA-1

Preserved: diagnostics/authentication-only; no routing authority, endpoint, or project-binding change; JSON lanes untouched.

Review in cubic

@Git-on-my-level
Git-on-my-level merged commit 8d7b125 into BasedHardware:main Sep 18, 2026
42 checks passed
Git-on-my-level added a commit that referenced this pull request Sep 19, 2026
…wlist) (#14566)

## Failure-Class
None — no-op trigger PR (one comment line + one allowlist entry for a
borderline 0.32s-vs-0.30s CPU-time guard) firing the deploy lane for the
impersonated-mint bake after #14564.

## Product invariants affected

- INV-DATA-1

Preserved: comment + test-timing-allowlist only; no routing, endpoint,
identity, or project-binding behavior touched.


<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/BasedHardware/omi/pull/14566?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="Review in cubic"
src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a>
<!-- End of auto-generated description by cubic. -->
Git-on-my-level added a commit that referenced this pull request Sep 19, 2026
…14846)

## Failure-Class
None — no-op trigger (one comment line at the top of `backend/main.py`)
firing the deploy lane for the slice-2 impersonated-mint bake after
#14564/#14566 (whose comment-only diff was scope-gate skipped).

## Product invariants affected

- INV-DATA-1

Preserved: comment-only source change; no behavior, routing, or project
binding touched.


<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/BasedHardware/omi/pull/14846?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="Review in cubic"
src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a>
<!-- End of auto-generated description by cubic. -->
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