fmt(js): npm run fix on merge (#90408)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
22b81836d2
commit
fab8479aa0
@@ -571,11 +571,13 @@ export const host = {
|
||||
const profile = (options.profile ?? '').trim()
|
||||
const targetProfile = normalizeProfileKey(profile || $activeGatewayProfile.get())
|
||||
const expectHistory = options.expectHistory ?? false
|
||||
|
||||
const plan = planPluginOpenSession({
|
||||
activeProfile: $activeGatewayProfile.get(),
|
||||
keepAllProfilesScope: options.keepAllProfilesScope,
|
||||
profile
|
||||
})
|
||||
|
||||
// Wake-path phase timings. Logged ONLY on a hydration timeout (bridged
|
||||
// into desktop.log via the renderer-console tap), so a support bundle
|
||||
// pinpoints WHERE the budget went — profile activation vs hydration —
|
||||
|
||||
@@ -102,6 +102,7 @@ vi.mock('@/store/gateway', async () => {
|
||||
const { host } = await import('./index')
|
||||
const { openSession: openSessionCore } = await import('@/app/open-session')
|
||||
const { deleteProfile } = await import('@/hermes')
|
||||
|
||||
const { openGatewayForProfile, requestGatewayForAgent, requestGatewayForProfile, retireLocalProfileGateways } =
|
||||
await import('@/store/gateway')
|
||||
|
||||
|
||||
@@ -178,6 +178,7 @@ describe('requestForSessionProfile', () => {
|
||||
method,
|
||||
params
|
||||
}))
|
||||
|
||||
const controller = new AbortController()
|
||||
|
||||
await requestForSessionProfile(
|
||||
|
||||
Reference in New Issue
Block a user