Skip to content

Revert slice-2 WIF re-land on gcp_backend_auto_dev: three candidate-gate failures (mint-stage suspect) - #14520

Merged
Git-on-my-level merged 1 commit into
BasedHardware:mainfrom
Git-on-my-level:revert/slice2-wif-reland
Sep 18, 2026
Merged

Git-on-my-level merged 1 commit into
BasedHardware:mainfrom
Git-on-my-level:revert/slice2-wif-reland

Conversation

@Git-on-my-level

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

Copy link
Copy Markdown
Member

Failure-Class

None — this is a revert of #14509, not a fix commit (no fix: prefix; see AGENTS.md failure-class protocol).

Summary

Reverts #14509: gcp_backend_auto_dev returns to the JSON bridge secret after three consecutive bake failures at the candidate gate (what_matters_now FAIL, sub-second gate duration, others NOT_RUN). Committed per the PR's own rollback contract. Traffic safety held all three attempts: candidates stayed 0%, serving never moved (backend-8a5c388-35307543774-1=100%).

Evidence (three attempts)

  1. Attempt 1 (35309620748#1, 05:35Z): gate FAIL 981ms after probe invocation.
  2. Attempt 2 (colors to the LED board #2, 05:56Z): identical FAIL.
  3. Attempt 3 (Add printing BLE device address to serial monitor #3, 06:54Z): identical FAIL — after roles/run.invoker (verified live) AND a self serviceAccountTokenCreator grant on the deployer.
    Manual control, same window: coordinator replayed the exact probe (deployer identity token via impersonation, audience = service URL, ADMIN_KEY+uid auth, X-Serverless-Authorization) against the candidate URL → HTTP 200 at 05:38Z and again post-attempt-3. Discriminator: manual mint uses human impersonation; the CI mint (gcloud auth print-identity-token with no impersonation flag) runs in a WIF-federated session — the remaining untested variable. The acceptance runner intentionally swallows the failure stage/HTTP status (981ms gate ≈ mint-stage failure, not a service round-trip), so the next slice needs the mint step instrumented or a one-off diagnostic run before re-landing.

What this revert does NOT do

Next slice (before any re-land)

  1. Add a bounded diagnostic to the mint step (or a dispatch-only probe workflow) that prints the mint subprocess return code class + HTTP status of the candidate call — no token material.
  2. Reproduce the federated mint locally (gcloud auth login --update-adc federated → print-identity-token without impersonation) or via a one-off CI run with the diagnostic.
  3. Re-land ci: re-land WIF auth on gcp_backend_auto_dev (slice 2, run.invoker now granted) #14509 content once the mint path is proven green in CI.

Product invariants affected

  • INV-DATA-1

Preserved: this revert only changes the deploy authentication identity of the development lane back to the pre-#14509 JSON bridge (no routing authority, endpoint, or project binding changes; based-hardware-dev target unchanged; fail-closed traffic gate unchanged).

Review in cubic

…voker now granted) (BasedHardware#14509)"

This reverts commit 2e38ed8, reversing
changes made to 8a5c388.
@Git-on-my-level
Git-on-my-level merged commit 3836e43 into BasedHardware:main Sep 18, 2026
40 checks passed
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