Skip to content

fix: init re-auths instead of hard-failing on an expired stored token - #1

Merged
piekstra merged 1 commit into
mainfrom
fix/bump-cli-common-v0.1.2
Aug 3, 2026
Merged

fix: init re-auths instead of hard-failing on an expired stored token#1
piekstra merged 1 commit into
mainfrom
fix/bump-cli-common-v0.1.2

Conversation

@piekstra

@piekstra piekstra commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Bumps google-cli-common v0.1.1 → v0.1.2, picking up open-cli-collective/google-cli-common#1.

Same fix as open-cli-collective/google-readonly#169grw init shares initcmd from the common module. An expired/revoked stored token (weekly for Testing-mode OAuth apps) previously aborted init with oauth2: "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 ./... and go test ./... pass locally with the bump.

https://claude.ai/code/session_018kd6nduhCb2p3RzVvbPnMF

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
piekstra requested a review from piekstra-dev August 3, 2026 20:45

@piekstra-dev piekstra-dev left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@piekstra
piekstra merged commit 3f82e5a into main Aug 3, 2026
11 checks passed
@piekstra
piekstra deleted the fix/bump-cli-common-v0.1.2 branch August 3, 2026 20:54
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.

2 participants