reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint
Ideas/analytical_submodule_activation

Idea detail

analytical_submodule_activation

reqlan rq/extension/activation.rq:49

block

Summary

Analytical submodule registration is implemented in index.ts.
`activateAnalyticalSubmodule` is synchronous: VS Code contributions ( commands, activity bar provider, chat participant, webviews, AI commands, mutation hooks ) register synchronously and it returns the submodule immediately.
It does not start indexing; it passes the activity-bar post-paint callback into the provider and the caller starts index activation through first_paint_startup.

Jump to outbound references

Jump to inbound references

Navigation

Source file

reqlan rq/extension/activation.rq

community 9

community cluster

activation.rq

file cluster

reqlan rq/extension

folder cluster

status: Not present

status cluster

tag: Not present

tag cluster

Printable page

Static print-friendly idea sheet.

Attributes

No attributes declared.

Ancestor context

first_paint_startup

The activity-bar HTML shell is assigned synchronously by ["../../packages/extension/src/activity_bar_module/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. ["../../packages/extension/src/extension/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`.

Outbound references

KindIdeaPathSnippet
file_reference ../../packages/extension/src/analytical_submodule/index.ts packages/extension/src/analytical_submodule/index.ts index.ts
references first_paint_startup reqlan rq/extension/activation.rq first_paint_startup

Inbound references

KindIdeaPathSnippet
references activation_sequence reqlan rq/extension/activation.rq analytical_submodule_activation

Unresolved references

KindIdeaPathSnippet
None

Local graph

Initialising graph…