Repository navigation
ci: split conn_error into network-layer sub-classes in candidate diagnostics - #14557
Merged
Git-on-my-level merged 1 commit intoSep 18, 2026
Merged
Git-on-my-level merged 1 commit into
Git-on-my-level merged 1 commit into
Conversation
Git-on-my-level
force-pushed
the
ci/probe-conn-diagnostics
branch
from
September 18, 2026 11:14
336b845 to
61d67dc
Compare
Git-on-my-level
added a commit
that referenced
this pull request
Sep 18, 2026
## Failure-Class None — no-op trigger PR (one comment line) to fire the deploy lane for the slice-2 WIF diagnostic re-run; see #14557. ## Product invariants affected - INV-DATA-1 Preserved: comment-only change; 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/14560?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 18, 2026
…ptance (slice-2 root-cause fix) (#14564) ## 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 - Unit suite 9/9 (two fixtures updated for the new kwarg — the very failure class registered in #14528) - Behavioral proof: impersonation flag flows into the gcloud command - JSON lane: flag absent → command unchanged → deploy lanes on `gcp_backend.yml`/desktop unaffected - Success signature on the next WIF bake: `Candidate acceptance PASS` ×4, then traffic shift ## Product invariants affected - INV-DATA-1 Preserved: diagnostics/authentication-only; no routing authority, endpoint, or project-binding change; JSON lanes untouched. <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/14564?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. -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Failure-Class
Failure-Class: FC-acceptance-probe-unreachable-by-own-ingress-policy
Summary
Follow-up to #14525's diagnostics, informed by the first diagnostic bake (35330545334): the candidate gate failed with
class=conn_error, http_status=null— the probe subprocess could not reach the candidate URL at all (not a 401, not a mint failure). This PR splits the coarseconn_errorinto actionable sub-classes (refused / DNS / reset / TLS / unreachable) so the next red bake names the network layer precisely.Existing test suite green; classification-only change, no behavior change to pass/fail semantics.
Product invariants affected
Preserved: diagnostics-only; no routing, endpoint, or project-binding change; sanitization guarantees unchanged (classes only, no stderr text or tokens).