Files
docker-agent/pkg
David Gageot 994c0806eb refactor(memory): lazy-initialize sqlite database with operation context
Make sqlite.NewMemoryDatabase side-effect-free again: the constructor now records the path only, and the database is opened/migrated lazily from the first ctx-bearing operation. This keeps memory.CreateToolSet as a pure constructor and removes its context.Background root while preserving retry behavior if initialization fails.

Thread context through related DB setup helpers and keep shutdown checkpointing detached via CheckpointAndClose.
2026-06-29 10:17:44 +02:00
..
…