deepseek-ai/deepseek-harness · error · SessionQueryError
SESSION_QUERY_SEARCH_DISABLED
SESSION_QUERY_SEARCH_DISABLED
Error message
session search is disabled: this deployment configures the session-query index with openAt "never"
What it means
Error "session search is disabled: this deployment configures the session-query index with openAt "never"" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/session-query/session-query-sqlite/src/index.ts:328
}), offset),
}
})
}
/** Close the database after every accepted operation reaches quiescence. */
close(): Promise<void> {
this._closePromise ??= this._close()
return this._closePromise
}
/**
* Refuse full-text calls under `openAt: 'never'` before any request
* normalization or SQLite work, so a disabled deployment never imports
* node:sqlite, opens the index, or observes sources.
*/
private _assertSearchEnabled(): void {
if (this.config.openAt !== 'never') return
throw new SessionQueryError(
'session search is disabled: this deployment configures the session-query index with openAt "never"',
'SESSION_QUERY_SEARCH_DISABLED',
)
}
private async _close(): Promise<void> {
this._closed = true
await this._tail
if (this._ready !== undefined) {
try {
await this._ready
} catch {
// Opening already closed a partially-created handle; disposal only waits.
}
}
this._db?.close()
this._db = undefined
}View on GitHub (pinned to b150a551b8)
Solutions
- Change the session-query index openAt setting away from "never" to enable search.
When it happens
Trigger: Thrown at packages/session-query/session-query-sqlite/src/index.ts:328 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24).
Data as JSON: /api/errors/56b879449b8df303.
Report an issue: GitHub.