Skip to content

fix(cloud): skip legacy session preflight - #167

Merged
sh1pt-actions-fleet[bot] merged 1 commit into
mainfrom
fix/cloud-legacy-preflight
Oct 30, 2026
Merged

sh1pt-actions-fleet[bot] merged 1 commit into
mainfrom
fix/cloud-legacy-preflight

Conversation

@sh1pt-actions-fleet

Copy link
Copy Markdown
Contributor

The release workflow found that cloudFetch was making an unnecessary /v1/cloud/me request before each API call for legacy sessions without refresh tokens. Send those requests directly; daemon health checks and 401 responses still detect revoked sessions.

This fixes the failures in the v0.51.0 release workflow.

A legacy cloud token has no refresh token. Send the requested API call directly and let its 401 or the daemon health check detect revocation, avoiding an extra /v1/cloud/me request on every call.
@sh1pt-actions-fleet
sh1pt-actions-fleet Bot merged commit 7052abc into main Oct 30, 2026
2 checks passed
@sh1pt-actions-fleet
sh1pt-actions-fleet Bot deleted the fix/cloud-legacy-preflight branch October 30, 2026 10:53
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.

1 participant