core-agent-ide/codex-rs/state
jif-oai ed778f9017
Avoid redundant transactional check before inserting dynamic tools (#10521)
Summary
- remove the extra transaction guard that checked for existing dynamic
tools per thread before inserting new ones
- insert each tool record with `ON CONFLICT(thread_id, position) DO
NOTHING` to ignore duplicates instead of pre-querying
- simplify execution to use the shared pool directly and avoid unneeded
commits

Testing
- Not run (not requested)
2026-02-03 15:34:28 +00:00
..
migrations [feat] persist thread_dynamic_tools in db (#10252) 2026-02-03 00:06:44 +00:00
src Avoid redundant transactional check before inserting dynamic tools (#10521) 2026-02-03 15:34:28 +00:00
BUILD.bazel feat: sqlite 1 (#10004) 2026-01-28 15:29:14 +01:00
Cargo.toml feat: drop sqlx logging (#10398) 2026-02-02 19:26:58 +00:00