reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint
Ideas/active_base_switch

Idea detail

active_base_switch

reqlan rq/bases/base.rq:139

block done

Summary

Changing the active base is a * * pointer swap * * onto a per-base `WorkspaceIndex` / store.
- Do * * not * * await soft-sync, hard-rebuild, or a full `.rq` walk on the switch call itself.
- Host surfaces rebind views to the newly active store ( status snapshot, tables, context panes ) immediately.
- If the selected base is not yet ready, show its readiness / progress and * * schedule * * the normal activate catch-up
( open if needed, then one soft sync ) fire-and-forget — same path as triggers /
indexing_trigger_open, not a special switcher rebuild.
- Idle staleness checks also heal unopened / never-synced bases ( they cannot mtime-diff without a store ).
- `activateAll` isolates open failures so one bad base cannot leave siblings stranded in `uninitialized`.
- Editor-follow must not overwrite a user pin on the same refresh that applies the selection.
Surfaces: activity bar workspace_base_picker, Ideas Summary ideas_summary_base_scope.
Implemented by index-service.ts ( `setActiveBaseId` / `scheduleBaseCatchUp` ); engine: base-registry.ts `ensureBaseReady`, workspace-index.ts `ensureReady`.

Jump to outbound references

Jump to inbound references

Navigation

Source file

reqlan rq/bases/base.rq

community 3

community cluster

base.rq

file cluster

reqlan rq/bases

folder cluster

status: done

status cluster

tag: Not present

tag cluster

Printable page

Static print-friendly idea sheet.

Attributes

KeyValue
implementation index-service.ts, base-registry.ts, workspace-index.ts, activity-bar-webview-provider.ts, ideas-summary-panel.ts, workspace_base_picker, ideas_summary_base_scope
tests base-registry-catchup.test.ts:ensureBaseReady opens and soft-syncs an uninitialized base, base-registry-catchup.test.ts:checkStaleAll heals an uninitialized base, base-registry-catchup.test.ts:deactivate returns to uninitialized so a base can be reopened
status done

Browse all attributes

Ancestor context

No ancestor chain recorded.

Outbound references

KindIdeaPathSnippet
file_reference base_registry packages/analytical/src/index-store/base-registry.ts base-registry.ts
file_reference workspace_index packages/analytical/src/index-store/workspace-index.ts workspace-index.ts
file_reference ../../packages/analytical/test/base-registry-catchup.test.ts:checkStaleAll heals an uninitialized base packages/analytical/test/base-registry-catchup.test.ts:checkStaleAll heals an uninitialized base base-registry-catchup.test.ts:checkStaleAll heals an uninitialized base
file_reference ../../packages/analytical/test/base-registry-catchup.test.ts:deactivate returns to uninitialized so a base can be reopened packages/analytical/test/base-registry-catchup.test.ts:deactivate returns to uninitialized so a base can be reopened ["../../packages/analytical/test/base-registry-catchup.test.ts:deactivate returns to uninitialized so a base can be reop
file_reference ../../packages/analytical/test/base-registry-catchup.test.ts:ensureBaseReady opens and soft-syncs an uninitialized base packages/analytical/test/base-registry-catchup.test.ts:ensureBaseReady opens and soft-syncs an uninitialized base ["../../packages/analytical/test/base-registry-catchup.test.ts:ensureBaseReady opens and soft-syncs an uninitialized bas
file_reference ../../packages/extension/src/activity_bar_module/activity-bar-webview-provider.ts packages/extension/src/activity_bar_module/activity-bar-webview-provider.ts activity-bar-webview-provider.ts
file_reference editor_index_adapter packages/extension/src/analytical_submodule/index-store/index-service.ts index-service.ts
file_reference ../../packages/extension/src/webview_module/ideas-summary-panel.ts packages/extension/src/webview_module/ideas-summary-panel.ts ideas-summary-panel.ts

Inbound references

KindIdeaPathSnippet
references implied_context reqlan rq/bases/base.rq active_base_switch
references multi_base_environment reqlan rq/bases/base.rq active_base_switch

Unresolved references

KindIdeaPathSnippet
references ideas_summary_base_scope ideas_summary_base_scope
references indexing_trigger_open indexing_trigger_open
references triggers triggers
references workspace_base_picker workspace_base_picker

Local graph

Initialising graph…