Investigate Gmail OAuth alerts — token is PERMANENT but alerts firing #373
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/pal-e-platform#373
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Bug
Lineage
Standalone — discovered during platform health audit 2026-05-18.
Repo
ldraney/pal-e-platformWhat Broke
Two alerts firing:
GmailOAuthTokenExpired(CRITICAL) andGmailOAuthTokenExpiringSoon(WARNING). However, the local token at~/secrets/google-oauth/gmail-westsidebasketball.jsonreportsrefresh_token_expires_in: PERMANENT. Token is not actually expired.Possible causes: k8s secrets out of sync with local file, stale Prometheus metrics, or pod mounting an older secret version.
Repro Steps
Expected Behavior
If the token is PERMANENT, no OAuth expiry alerts should fire.
Environment
sop-gmail-oauth(step 1 done — token is PERMANENT)Acceptance Criteria
Related
project-pal-e-platform— platform healthsop-gmail-oauth— token management SOP