Skip to content

Add refresh failure logging and proactive token refresh#186

Merged
liplus-lin-lay merged 1 commit into
mainfrom
185-refresh-logging
Apr 13, 2026
Merged

Add refresh failure logging and proactive token refresh#186
liplus-lin-lay merged 1 commit into
mainfrom
185-refresh-logging

Conversation

@liplus-lin-lay
Copy link
Copy Markdown
Member

Refs #185

v0.10.3でリトライ無限ループは修正済みだが、リフレッシュ失敗時のエラーが catch {} で飲み込まれていたため原因不明だった。
ログ出力追加とプロアクティブリフレッシュで、トークン期限切れ後にブラウザが開く頻度を低減。

トークンリフレッシュ失敗時にエラーを飲み込んでいた catch {} にログ出力を追加。
リフレッシュバッファを60秒→5分に拡大し、期限切れ前にプロアクティブにリフレッシュ。
リフレッシュ成功・失敗・refresh_token欠落のすべてのパスでstderrにログ出力。

Refs #185

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@liplus-lin-lay liplus-lin-lay linked an issue Apr 13, 2026 that may be closed by this pull request
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
github-webhook-mcp 3227a8b Apr 13 2026, 03:43 AM

@liplus-lin-lay liplus-lin-lay merged commit ecbaad9 into main Apr 13, 2026
3 checks passed
@liplus-lin-lay liplus-lin-lay deleted the 185-refresh-logging branch April 13, 2026 03: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.

Add refresh failure logging and proactive token refresh

1 participant