Idea detail
analysis_api_dispose
reqlan rq/extension/index-host/sqlite-artifact-lifecycle.rq:58
block
done
Summary
open-analysis-api.ts `openAnalysisApi` dispose must close the native analysis runtime and drop
its SQLite connection ( ideas index and click-sessions ). A no-op dispose is a defect.
Extension commands use a short-lived `withAnalysisApi` ( open → run → dispose ) mediated by
open-analysis-api.ts; they must not cache `NativeAnalysisApi` for the session.
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | open-analysis-api.ts, native-analysis-api.ts, index-service.ts |
| status | done |
| tests | sqlite-artifact-release.test.ts:dispose releases ideas-index so the file can be unlinked, runtime-engine.test.ts:CLI runtime opens AnalysisApi through the core engine |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…