Skip to content

Omit provider diagnostics from OAuth retry logs - #1475

Merged
piclaw-bot merged 1 commit into
mainfrom
fix/1458-auth-secret-lifecycle
Sep 30, 2026
Merged

piclaw-bot merged 1 commit into
mainfrom
fix/1458-auth-secret-lifecycle

Conversation

@piclaw-bot

Copy link
Copy Markdown
Collaborator

Redact OAuth retry diagnostics

Refs #1458 and #1442; both remain open.

Remove raw provider errors from the credential-store OAuth retry warning. Retain provider ID, operation, retry counts and delay. Retry classification, locking and credential persistence are unchanged.

The regression captures structured logs for both an Error with a token-bearing URL/cause and a non-Error transient failure. It requires retry metadata and rejects raw error/cause fields and secret sentinels.

This narrowly closes the retry-log exposure. It does not qualify every auth failure sink or change custom-provider keys, historical credentials/backups, Delegate or live accounts. No account access, inference, deployment or restart.

Validation

Focused credential-store tests: 15 pass, 56 assertions. Five typechecks, scoped lint and independent source review pass. make ci-fast passed 5,927 runtime tests with seven existing skips and no failures, plus 25 feature tests and nine web checks. Pack hygiene: 24,741 files. Final five types and diff checks passed against baseline 4510eb5fa; unchanged compose baseline. Private Bun cache, no shared-cache permission changes.

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