Repository navigation
Conversation
…elcome for members - Deleting an account goes through the wipe path test-account reset uses: an organization nobody else is in, and workspaces the person is alone in, are purged with it. WorkOS is left alone, so signing in again no longer rejoins the old workspace and its rooms. - The connected-apps refusal names the workspace and lists every app. - After a deletion that revoked this browser's AuthKit session, the dashboard hands straight off to AuthKit instead of its signed-out page. - Directory organizations show Member / Admin instead of Viewer / Org Admin. - switch-buddy's Welcome chat for non-admins offers only the workspace's connected messaging apps (to link an account on), or none, and its greeting promises no move to a messaging app. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
amaudruz
requested review from
abeldantas,
agent-runner353,
christian-mcdermott,
lbangalosbt,
massimo-sandboxaq,
niall-sandboxaq,
petr-sandbox,
raullopez-sandbox and
simonflk-sb
as code owners
December 4, 2026 20:29
This branch has not been deployed
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.
Louis's v5 feedback, everything not about provider sign-in on boxes.
Account deletion
DELETE /auth/menow runs throughAccountReset(the path test-account reset already uses), with its own audit request label. An organization nobody else is in is purged whole, and workspaces the person is alone in are purged too, rooms and agents included. WorkOS is left alone, since the org is shared with Switch Trust and Switch can't tell which product created it. Previously the leftover workspace was kept because it still had rooms, and the person's WorkOS membership put them back into it at the next sign-in. The deletion check also asks the wipe's refusal, and the dialog now says that any workspace and organization only you are in is deleted too.end_after_deletionnow reports whether it revoked this browser's AuthKit session (identity_session_ended). When it did, the dashboard doesn't mark the tab signed out, so/loginhands off to AuthKit like a normal sign-out. It still marks the tab signed out when this browser's session wasn't found. Test-account reset gets the same behaviour.Directory role names
switch-buddy Welcome chat for non-admins (web, and Switch Console's shared cards)
Tests
identity_session_ended. ruff and mypy are clean.object.stream is not a function).GetStartedPagefailed once under load and passes alone.🤖 Generated with Claude Code