Repository navigation
fix(hosted): name a suspended account instead of re-running sign-in - #43
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
babaliauskas
added a commit
that referenced
this pull request
Oct 10, 2026
Resolves the CHANGELOG [Unreleased] conflict with #43: both Fixed entries kept. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
babaliauskas
added a commit
that referenced
this pull request
Oct 10, 2026
Resolves the conflicts with #44 and #45: - DOCS.md captures-store paragraph: main's package-name install wording (pip install boto3 / google-cloud-storage / azure-storage-blob azure-identity) plus this branch's capture sync --repair re-fetch clause. - CHANGELOG [Unreleased]: this branch's Added/Fixed entries merged with main's Added/Changed/Fixed entries from #43, #44 and #45. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
HostedClientraisesHostedAccountSuspendedError, a subclass ofHostedHTTPError, when the hosted API answers 403 with codeaccount_suspended. Every existingexcept HostedHTTPErrorhandler still catches it and prints the server's sentence: "Your account has been suspended. Contact support@evalshift.dev."evalshift login. With a stored token that belongs to a suspended account, it now prints that message and exits 1. Before, it said "stored token is no longer valid; signing in again" and started a browser sign-in that could never be approved.docs/hosted.mdgets a Login paragraph and a Troubleshooting row.DOCS.md,llms-full.txtandCHANGELOG.mdare also updated (Unreleased → Fixed).Why
The server now lets an admin suspend an account (evalshift/evalshift-server#37). Personal tokens and sessions for that account get 403
account_suspended; service-account keys are unaffected. Without this change,loginread the 403 as an expired token and looped into browser sign-in.Test plan
pytestpasses (make ci: 2753 passed, 94.8% coverage)ruff check,ruff format --checkcleanmypy --strictclean## [Unreleased]No version bump; this ships in the next patch release (1.3.1). After release, re-sync
public/cli-llms-full.txtin evalshift/evalshift-client.Screenshots
🤖 Generated with Claude Code