Repository navigation
Conversation
odgrim
marked this pull request as ready for review
December 6, 2026 07:22
odgrim
marked this pull request as draft
December 6, 2026 07:39
odgrim
force-pushed
the
track-a/google-project-warning
branch
from
December 6, 2026 07:48
1c447ac to
ad83ff2
Compare
A project Google refuses the principal is still used, since a credential without resourcemanager.projects.get still works, but the identity now warns that commands using it may be refused. Runbooks main said so too. A project Google can't answer for has no warning, and selecting another project drops it.
odgrim
force-pushed
the
track-a/google-project-warning
branch
from
December 6, 2026 07:57
ad83ff2 to
e91fec6
Compare
odgrim
marked this pull request as ready for review
December 6, 2026 15:43
This branch has not been deployed
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.
Change
A project Google refuses the principal is still used, but the identity now warns:
Before, the project was taken silently. Runbooks main showed "Project X is not accessible with these credentials".
denies_projectreads one (403PERMISSION_DENIEDand the like). A project Google can't answer for, such as a 503, has no warning.selectof another project drops the warning.pinMismatch.Decisions
ChosenProject { target, warning }), so aselectthat replaces the project can't keep a stale warning.Gaps
quotedis tested only through Google: waiting prompt, keyFile ~, and Sign-In unavailable without a client #108's account test.select.selectdoesn't ask Google, so a selected project the identity can't read has no warning.identity.principalholds it, not cut or escaped.Evidence
a_project_the_identity_cannot_read_is_used_with_a_warningfailed before the change:left: false right: true, with identity{"kind":"user",...,"targets":{"project":{"id":"locked-9999","name":"locked-9999"}}}and no warnings.151 passed, 1 failed):selectkeeping the old warning, and warning on any error.mise run check:485 tests run: 485 passed, 0 skipped.5 mutants tested in 3m: 1 caught, 4 unviable.Audit dependenciesis red, as on main, until the pin-project-lite 0.2.19 lock update.