Referenced by3
Labels3

Referencing ideas

IdeaStatusTagsSummaryKatz
cli_version_checkOnce [activation.background_startup] start tasks complete — index open and language client running — ["../../../packages/extension/src/extension/main.ts"] calls the CLI version check once per activation, fire-and-forget inside its own error boundary, so the check must not fail startup. The check compares the installed CLI with the latest published release: - Installed version: run `reqlan --version`, then `rq --version`, with a bounded timeout and hidden Windows console ( ["../../../packages/extension/src/shared/hidden-exec-file.ts"] ). The first binary on PATH decides. No binary on PATH means there is nothing to upgrade, so the check stays silent. - Latest version: the npm registry `latest` manifest for `@reqlan/cli`. An unreachable or malformed answer stays silent — network trouble must not nag the user. When the installed strict `X.Y.Z` version is older than the latest, a warning names both versions and offers an Upgrade CLI button. The button opens a visible terminal that runs `npm install -g @reqlan/cli@latest`, so npm output and errors stay user-visible. Parsing and comparison live in ["../../../packages/extension/src/extension/cli-version-helpers.ts"]; VS Code glue lives in ["../../../packages/extension/src/extension/cli-version-check.ts"]. [warning_suppression]0.042
deferred_startup_sequencedoneRequired order: 1. Load the smallest practical host entry. 2. Synchronously register commands and the activity-bar provider; return from `activate`. 3. Yield one turn, assign the activity-bar shell, and wait for the post-first-frame `ready` handshake. Do not `postMessage` until `ready`. 4. Start index discovery / sync after `ready`; if the sidebar stays closed, start after a bounded three-second fallback so startup indexing and watchers are not lost. 5. Start the language client after `ready`, with a one-second fallback so language features work when the sidebar stays closed. 6. Open first-run onboarding after the same paint signal or 400 ms, so it does not race the sidebar iframe ( [webview_claim_race] ). 7. Report incremental index progress inside the already-painted sidebar. The ready signal and both startup paths are one-shot / idempotent. [activation.background_startup]0.042
lazy_runtime_dependenciesdoneBase discovery must be cheap: - Constructing `WorkspaceIndex` does not construct Langium / Chevrotain services; index sync uses the core native engine ( rusqlite ). - The host-matching `reqlan_napi` `.node` is required at activate; there is no sql. js vendor bundle in the extension host. - Export / physics source is generated at build time rather than read via extension-runtime URLs. - Rust language-server activation does not static-import Langium; comment-link registration stays on the Node / Langium path and loads only then. ["../../../packages/analytical/src/index-store/workspace-index.ts"] ["../../../packages/analytical/src/index-store/sqlite-store.ts"] ["../../../packages/analytical/src/index-store/index-diagnostics-store.ts"] ["../../../packages/extension/src/extension/main.ts"] ["../../../packages/extension/esbuild.mjs"]0.047

Reference labels

cli_version_check, deferred_startup_sequence, lazy_runtime_dependencies