feat(cloud): make the gcloud-robot identity the obviously correct path (kata e83z) - #817
Merged
Merged
Conversation
…xisting red, harness drift)
…y bridge (kata e83z)
…ed, harness drift)
…mpt disable + token preflight (kata e83z)
…d, retired port-contract stage)
…e in lane banners (kata e83z)
… well-known-path discovery and fail-fast identity (kata e83z)
…(task 4 review M1)
… port-contract grep (delta review F3)
…well-known probe (delta review F4)
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.
What this changes
Agent-launched cloud test lanes (scripts/vitest-cloud.sh, scripts/e2e-cloud.sh) now resolve the provisioned gcloud-robot identity by default instead of silently falling through to a possibly-stale ambient identity, and fail fast on identity problems instead of hanging on gcloud's interactive reauth prompt.
gcloud auth print-access-tokenpreflight runs after every identity resolve in both wrappers, so a dead credential surfaces in seconds — before any build/submit work.Tests
Harness repairs included (pre-existing reds, no assertions weakened)
logging readstub the e2e wrapper's receipts reconciliation requires.--reporter=lineflag that replaced the config's reporter array (retry report is now written) and completed the Cloud Run task emulation with CLOUD_RUN_EXECUTION, matching the receipts-suite idiom.