Idea detail
inbound_snapshot_events
reqlan rq/indexer/cache-reuse.rq:143
Summary
Host → LSP inbound snapshots are event-driven and incremental.
Push only when the ideas index is ready ( catalog update, ready-edge, visible-editor change, or window focus ).
While Syncing or not ready, do not push an empty batch that clears the language-server last-good map;
set a deferred flag and flush on the next ready event.
The language client often starts before the index — registration must ensure-open / defer, not skip forever.
Each notification is a per-document merge for visible editors; URIs not in the batch stay as last-good until replaced or the document closes.
After a single-file enqueue reaches ready, notify catalog so consumers get a ready-state event
( mid-sync catalog notifies alone are not enough ).
Coalesce concurrent push work so catalog spam drains to one ready pass.
Related: unify_inbound_indexes,
lazy_features_after_outbound,
inbound_inlay_index_performance.
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | inbound-snapshot-schedule.ts, inbound-snapshot-push.ts, register-inbound-sqlite-sync.ts, workspace-index.ts, reqlan-inbound-snapshot.ts |
| status | done |
| tests | inbound-snapshot-push.test.ts, inbound-snapshot-store.test.ts, workspace-index.test.ts:enqueueIndex notifies catalog when ready |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | lazy_features_after_outbound | reqlan rq/extension/language/support/open-file-sequencing.rq | inbound_snapshot_events |
| references | inbound_inlay_index_performance | reqlan rq/extension/language/syntax/features-syntax-highlighting.rq | inbound_snapshot_events |
| references | inlay_hints | reqlan rq/extension/language/vsc-primitives.rq | inbound_snapshot_events |
| references | unify_inbound_indexes | reqlan rq/indexer/cache-reuse.rq | inbound_snapshot_events |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…