reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint

Printable idea sheet

deferred_startup_sequence

reqlan rq/extension/host/startup-performance.rq:85

Katz 0.046

Required 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.
background_startup

status
done

Interactive page: deferred_startup_sequence