-
[OPIK-5909] [FE] perf: speed up Ollie assistant start times (#6285)
发布于
2026-04-15 12:01:37 +00:00 - [OPIK-5909] [FE] perf: speed up Ollie assistant start times
Reduce perceived start time by prewarming pod provisioning at workspace
resolve, tightening the health-poll interval, and parallelizing the
manifest fetch + preconnecting to the pod origin.Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com
-
[OPIK-5909] [FE] chore: gate Ollie prewarm on plugin store instead of IS_DEV
-
[OPIK-5909] [FE] chore: address review — extract manifest retry constants, gate prewarm on IS_DEV
- Extract
MANIFEST_RETRY_COUNT,MANIFEST_RETRY_BASE_DELAY_MS,
MANIFEST_RETRY_MAX_DELAY_MSto named constants alongside the
existingHEALTH_POLL_*family. - Skip
usePrewarmAssistantComputein Vite dev (IS_DEV) so Comet
engineers runningvite --mode cometdon't fire a wasted
/opik/ollie/computerequest thatuseAssistantBackendwould
short-circuit toDEV_RESULTanyway. Plugin-store gate still
handles the OSS case.
- [OPIK-5909] [FE] chore: move Ollie prewarm behind plugin store to satisfy dep-cruiser
WorkspaceGuardlives in core app code and was importing
usePrewarmAssistantComputedirectly fromplugins/comet/, which
violates theno-project-importing-pluginsrule enforced by
depcruisein CI.Wraps the hook in a null-rendering
AssistantPrewarmerplugin
component, registers it inPluginsStore, and renders it from
WorkspaceGuardvia the store. OSS builds don't register the
plugin, so the prewarm naturally skips without needing a runtime
assistantPlugincheck inside the hook.
Co-authored-by: Claude Opus 4.6 noreply@anthropic.com
下载附件