fix: init re-auths instead of hard-failing on an expired stored token - #1
Merged
Conversation
Bumps google-cli-common v0.1.1 -> v0.1.2, picking up open-cli-collective/google-cli-common#1: 'grw init' now routes an invalid_grant (expired/revoked refresh token) into the re-auth flow instead of aborting, and skips the TTY confirm under --auth-code-stdin.
piekstra-dev
approved these changes
Aug 3, 2026
piekstra-dev
left a comment
Collaborator
There was a problem hiding this comment.
Automated PR Review
Reviewed commit: d51bfd57907f
Profile: reviewer - Posting as: piekstra-dev
Summary
| Reviewer | Findings |
|---|---|
| go:implementation-tests | 0 |
Reviewer Coverage
| Reviewer | Status | Inspected | Skipped | Constraints |
|---|---|---|---|---|
| go:implementation-tests | complete_broad | go.mod, go.sum | unavailable | Diff is limited to a go.mod/go.sum version bump with no changed Go source in this repo, so there is no local implementation or test behavior to evaluate; the actual fix logic lives in the google-cli-common dependency and its own PR/tests. |
0 PR discussion threads considered. 0 summarized; 0 resolved.
Completed in 55s | $0.37 | claude-sonnet-5 | cr 0.10.268
| Field | Value |
|---|---|
| Model | claude-sonnet-5 |
| Reviewers | go:implementation-tests |
| Engine | claude_cli · claude-sonnet-5 |
| Reviewed by | cr · piekstra-dev |
| Duration | 55s wall · 46s compute |
| Cost | $0.37 |
| Tokens | 26 in / 2.8k out |
Per-workstream usage
| Workstream | Model | In | Out | Cache read | Cache create | Cost | Duration |
|---|---|---|---|---|---|---|---|
| orchestrator-selection | claude-sonnet-5 | 6 | 607 | 46.8k | 11.4k | $0.09 | 11s |
| go:implementation-tests | claude-sonnet-5 | 14 | 1.8k | 170.7k | 16.2k | $0.18 | 26s |
| orchestrator-rollup | claude-sonnet-5 | 6 | 406 | 55.0k | 13.6k | $0.10 | 8s |
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.
Bumps
google-cli-commonv0.1.1 → v0.1.2, picking up open-cli-collective/google-cli-common#1.Same fix as open-cli-collective/google-readonly#169 —
grw initsharesinitcmdfrom the common module. An expired/revoked stored token (weekly for Testing-mode OAuth apps) previously aborted init withoauth2: "invalid_grant" "Token has been expired or revoked."instead of offering re-auth; v0.1.2 routes it into the re-auth flow and skips the TTY confirmation under--auth-code-stdin.go build ./...andgo test ./...pass locally with the bump.https://claude.ai/code/session_018kd6nduhCb2p3RzVvbPnMF