Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
0b0c408
feat(auth): keep the Cloud grant in main and give local views minted …
dante01yoon Nov 7, 2026
97d95ef
feat(auth): give local views only minted tokens and ask pre-mint-scop…
dante01yoon Nov 7, 2026
a53ca1d
fix: bind view workspace tokens to the account and drop pre-sign-out …
dante01yoon Nov 8, 2026
b3437a1
fix: drop view tokens minted for a replaced account and keep supersed…
dante01yoon Nov 8, 2026
515b9f8
fix: check the account when delivering a cached view token
dante01yoon Nov 8, 2026
f61e035
feat: report view workspace token mints and mirror failures to Datadog
dante01yoon Nov 8, 2026
3c60527
feat(auth): classify workspace mint replies into outcomes
dante01yoon Nov 9, 2026
efe4c57
feat(auth): add the desktop_workspace_mint_switch ops flag
dante01yoon Nov 9, 2026
923fbe6
feat(auth): keep one grant and switch workspaces by minting, with no …
dante01yoon Nov 9, 2026
def5a41
feat(auth): mirror workspace switch browser trips and anchor returns …
dante01yoon Nov 9, 2026
a2a9212
feat(auth): show a failed workspace switch in the instance-selection …
dante01yoon Nov 9, 2026
b869fdb
fix(auth): treat only invalid_grant and invalid_client as an ended grant
dante01yoon Nov 9, 2026
2994475
fix(auth): report a switch to an expired anchor as retryable during a…
dante01yoon Nov 9, 2026
cdc55fa
fix(auth): fence the mint backoff on generation and account
dante01yoon Nov 9, 2026
eb5127d
fix(auth): hold off the browser after a sign-in returned no mint scope
dante01yoon Nov 9, 2026
70b19b4
fix(auth): apply the mint kill switch to view minting through one ses…
dante01yoon Nov 9, 2026
a6f4a24
fix(auth): let views hold the workspace a promotion moved to
dante01yoon Nov 9, 2026
77acce7
test(auth): make the token vault tests detect bypassed encryption
dante01yoon Nov 9, 2026
1a3bad9
fix(auth): validate the workspace and subject of a token minted for a…
dante01yoon Nov 9, 2026
30ffc8c
test(auth): pin the backoff generation fence and lifting the scope hold
dante01yoon Nov 9, 2026
27a936b
fix(auth): keep the withheld mint scope in the vault across restarts
dante01yoon Nov 9, 2026
b14a446
fix(auth): fence the view permission writes of a workspace switch on …
dante01yoon Nov 9, 2026
62fa90c
fix(auth): refuse a mint reply that is already expired
dante01yoon Nov 9, 2026
642e9a9
fix(auth): re-establish the wizard's workspace before refreshing its …
dante01yoon Nov 9, 2026
2151ecd
fix(auth): treat a superseded switch as not completing a promotion
dante01yoon Nov 9, 2026
f13b8a6
fix(auth): derive a minted token's deadline from its own lifetime, no…
dante01yoon Nov 9, 2026
ddc1544
fix(auth): refuse a minted token whose deadline passed before the rep…
dante01yoon Nov 9, 2026
6ec9e41
fix(auth): let views hold a workspace reached through browser consent
dante01yoon Nov 9, 2026
0c693ff
fix(auth): count one workspace_switch_browser per real browser trip
dante01yoon Nov 9, 2026
57123ae
fix(auth): never hand back a token after the account or workspace cha…
dante01yoon Nov 9, 2026
9b43ff5
fix(auth): report a browser trip when the browser opens, not before s…
dante01yoon Nov 9, 2026
5378739
feat(auth): mirror a sign-in that returned no mint scope to Datadog
dante01yoon Nov 9, 2026
fedf100
test(auth): pin the account re-check when the new account lands on th…
dante01yoon Nov 9, 2026
b586ad2
test(auth): capture the authorize page in E2E runs and isolate userDa…
dante01yoon Nov 9, 2026
9e18e3c
test(auth): drive workspace switching end to end through the real sel…
dante01yoon Nov 9, 2026
7bfc295
fix(auth): keep the authorize capture out of packaged builds
dante01yoon Nov 9, 2026
44ef7df
fix(auth): open the browser only when a person asks for the workspace
dante01yoon Nov 9, 2026
d9424e8
fix(auth): hold a person's workspace pick in the dashboard scope store
dante01yoon Nov 9, 2026
4098de9
fix(auth): retire a workspace pick once the wizard attempts the switch
dante01yoon Nov 9, 2026
c64c3fd
chore(bridge): bump the bridge types for the switchWorkspace doc change
dante01yoon Nov 9, 2026
30c0a7c
fix(auth): views may hold the workspace a local-instance promotion sw…
dante01yoon Nov 10, 2026
4cf376f
Merge remote-tracking branch 'origin/desktop-auth/main-only-grant' in…
dante01yoon Nov 10, 2026
2738055
fix(auth): a dashboard switch lets views hold a workspace only once i…
dante01yoon Nov 10, 2026
c32e255
Merge remote-tracking branch 'origin/desktop-auth/main-only-grant' in…
dante01yoon Nov 10, 2026
45b36d7
fix(auth): an ended grant goes straight to sign-in without a refresh
dante01yoon Nov 10, 2026
1882926
fix(auth): an ended grant also ends a rotation of it stored meanwhile
dante01yoon Nov 10, 2026
9f520cc
fix(auth): a view mint told the grant ended also stops its refresh
dante01yoon Nov 10, 2026
eaf58c9
Merge remote-tracking branch 'origin/main' into desktop-auth/main-onl…
dante01yoon Nov 10, 2026
5a46f08
Merge remote-tracking branch 'origin/desktop-auth/main-only-grant' in…
dante01yoon Nov 10, 2026
9494b02
fix(auth): let a view hold a workspace only after its own switch reac…
dante01yoon Nov 10, 2026
3c5a188
Merge remote-tracking branch 'origin/desktop-auth/main-only-grant' in…
dante01yoon Nov 10, 2026
0c71d16
fix(auth): cap the mint block, gate dashboard grants on supersession,…
dante01yoon Nov 10, 2026
83b8a91
fix(auth): return an explicit reached outcome from a workspace switch
dante01yoon Nov 10, 2026
76c352e
Merge remote-tracking branch 'origin/desktop-auth/main-only-grant' in…
dante01yoon Nov 10, 2026
97c765e
fix(auth): sign views out on a rejected mint, keep them signed in wit…
dante01yoon Nov 10, 2026
b27f32f
fix(auth): keep view-requested switches visible and fall back to the …
dante01yoon Nov 10, 2026
1832e53
Merge remote-tracking branch 'origin/desktop-auth/main-only-grant' in…
dante01yoon Nov 10, 2026
13fe2d1
fix(auth): keep views on the held token without the scope, let a view…
dante01yoon Nov 10, 2026
fb46c20
fix(auth): read a view's held token without side effects
dante01yoon Nov 10, 2026
1006a9e
fix(auth): never hand a view a minted token that can mint
dante01yoon Nov 10, 2026
79ba148
docs(auth): describe when a view's switchWorkspace opens consent
dante01yoon Nov 10, 2026
dc25010
chore(types): regenerate bridge declarations
dante01yoon Nov 10, 2026
ab4c97e
fix(auth): a 401 for an expired grant token no longer signs out on it…
dante01yoon Nov 11, 2026
66a3445
docs(bridge): qualify the no-browser switch for expired tokens and en…
dante01yoon Nov 11, 2026
4b4a231
docs(bridge): note that a switch joins one already in flight
dante01yoon Nov 11, 2026
2d05a98
docs(bridge): state when a view switch can open the browser
dante01yoon Nov 11, 2026
296ab54
fix(auth): a view cannot open repeated consent tabs or cancel a switc…
dante01yoon Nov 11, 2026
351b430
Merge remote-tracking branch 'origin/main' into desktop-auth/switch-w…
dante01yoon Nov 11, 2026
cf3ba73
fix(auth): check view-requested workspaces by own key and keep one vi…
dante01yoon Nov 11, 2026
ff17458
fix(auth): count any consent opened for a view request as the one vie…
dante01yoon Nov 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions e2e/support/electronHarness.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export interface SeedOptions {
onSetup?: (paths: { homeDir: string; appDataDir: string }) => Promise<void>
opsFlags?: Record<string, unknown>
profileDir?: string
userDataDir?: string
}

export interface SeedInstallation {
Expand Down Expand Up @@ -188,6 +189,10 @@ export async function launchLauncherApp(options?: SeedOptions): Promise<Launcher
'--disable-backgrounding-occluded-windows'
)
}
if (options?.userDataDir) {
args.push(`--user-data-dir=${options.userDataDir}`)
if (process.platform === 'darwin') args.push('--use-mock-keychain')
}
if (process.platform === 'linux') {
args.push('--no-sandbox')
const ozone = process.env['E2E_OZONE_PLATFORM']
Expand Down
Loading
Loading