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) |
||
|---|---|---|
| .. | ||
| bin | ||
| model | ||
| extract.rs | ||
| lib.rs | ||
| log_db.rs | ||
| migrations.rs | ||
| paths.rs | ||
| runtime.rs | ||