✨ Revoke the FastAPI Cloud login on sign out #242
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.35) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 160 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.304
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #242"
general
weight: 0.35
savannahostrowski
Signing out of FastAPI Cloud now also revokes the login on FastAPI Cloud with
POST /logout, asfastapi cloud logoutdoes since fastapi-cloud-cli 0.28.0 (fastapilabs/fastapi-cloud-cli#381).removeSession. So it covers both the extension's Sign Out command and signing out from VS Code's Accounts menu.removedfires before the request, so the Accounts menu and the status bar update at once. The request has a 5-second timeout.- When FastAPI Cloud can't be reached or answers an error, the user is still signed out.
- They see "Couldn't sign out on FastAPI Cloud, so this login stays valid until it expires.", the same warning as the CLI.
auth.json, so this revokes the CLI's login as well. Deleting that file already signed the CLI out./logoutanswers 204 for a token it doesn't know, so the JWT stays valid until it expires. The CLI behaves the same way.Stacked on #240.