Skip to content

fix(ops): snapshot.sh sends peer_auth_token to /admin/checkpoint#25

Merged
TeoSlayer merged 2 commits into
mainfrom
fix/snapshot-token
Jul 2, 2026
Merged

fix(ops): snapshot.sh sends peer_auth_token to /admin/checkpoint#25
TeoSlayer merged 2 commits into
mainfrom
fix/snapshot-token

Conversation

@TeoSlayer

Copy link
Copy Markdown
Contributor

Scheduled snapshots + self-updater pre-restart snapshot 401'd once the admin token was set. Reads the token from config now.

…eckpoint

Once cluster.peer_auth_token is set, /admin/checkpoint returns 401 without a Bearer, silently breaking the 4-hourly GCS snapshot timer AND the self-updater pre-restart snapshot. Read the token from cosift.json when COSIFT_ADMIN_TOKEN is unset (matches harvesters + cosift-compact.sh).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@TeoSlayer TeoSlayer enabled auto-merge July 2, 2026 13:17
@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@TeoSlayer TeoSlayer merged commit 24833da into main Jul 2, 2026
4 checks passed
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.

3 participants