reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint
Ideas/index_diagnostics_timing

Idea detail

index_diagnostics_timing

reqlan rq/indexer/indexer.rq:66

block

Summary

Soft sync and per-file index paths record durations into the diagnostic index under index_diagnostics_store.
See index_diagnostics_metrics.
Must not block nonblocking_index; recording failures are swallowed / logged by the store and must not fail the sync.

Jump to outbound references

Jump to inbound references

Navigation

Source file

reqlan rq/indexer/indexer.rq

community 36

community cluster

indexer.rq

file cluster

reqlan rq/indexer

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

nonblocking_index

Index sync must stay non-blocking for the host UI ( notably [activity_bar_doc.activity_bar] and [workspace_pane_doc.workspace_loading] ). Editor startup is gated by ["../extension/activation.rq".first_paint_startup]; discovering a base must not construct Langium services, which are initialized lazily on the first parse. While syncing, surface progress — state, processed / total, and the current file — in [workspace_pane_doc.workspace_pane] and [ideas_summary_doc.index_panel]. In-flight sync must be cancellable from those surfaces; cancel keeps already-indexed rows and returns the index to ready. Incremental behaviour ( see also [graph_analysers.indexing_incrementality] ): - Single-file create / change / delete via watchers indexes only that file — never a full base walk. - Soft full sync ( `syncWorkspace` / Refresh ) skips parse + persist when the file's mtime matches the value stored on the documents row. - Hard refresh ( `clearAndRebuildIndex` / Clear & rebuild ) wipes the store and reindexes every file. Implemented by [workspace_index]; editor adapter [editor_index_adapter].

Outbound references

KindIdeaPathSnippet
references nonblocking_index reqlan rq/indexer/indexer.rq nonblocking_index

Inbound references

KindIdeaPathSnippet
None

Unresolved references

KindIdeaPathSnippet
references index_diagnostics_metrics index_diagnostics_metrics
references index_diagnostics_store index_diagnostics_store

Local graph

Initialising graph…