reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint

Printable idea sheet

first_paint_startup

reqlan rq/extension/activation.rq:39

The activity-bar HTML shell is assigned synchronously by activity-bar-webview-provider.ts.
Its Svelte app installs the host message listener before mount, then sends the one-shot `ready` handshake from a task queued after its first animation frame.
startup-gate.ts resolves that handshake once; `IndexService.activate` then discovers bases and syncs. If no view opens, a bounded three-second fallback starts the index without any visible first paint to contend with.
Parser services inside each `WorkspaceIndex` are lazy and are created only when a file is actually parsed, not while bases are discovered.
The sql. js asm implementation is emitted as a separate lazy vendor bundle, so loading `main.cjs` does not parse the database engine before `activate`.

Status: done

Interactive page: first_paint_startup