Skip to content

DefaultStartTimeout (30s) too short for large knowledge bases (#4060 follow-up) #4073

Description

@aheritier

Context

The #4060 remediation plan authorized raising DefaultStartTimeout from 30 s to a value generous enough for large RAG knowledge bases. PR #4062 explicitly deferred this.

Problem

DefaultStartTimeout = 30s (pkg/tools/startable.go) aborts RAG initialization runs after 30 s, discarding all partial indexing work and triggering a re-index from scratch on the next turn.

Acceptance criteria

  • DefaultStartTimeout raised (or made configurable per-toolset) so large knowledge bases complete indexing without being aborted
  • Per-file indexing progress persisted so a timeout does not discard already-indexed files

Metadata

Metadata

Assignees

Labels

area/ragFor work/issues that have to do with the RAG featuresarea/toolsFor features/issues/fixes related to the usage of built-in and MCP tools

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions