perf(agent): optimize active task lookup using indexed sessionId column

This commit is contained in:
yiling
2026-07-14 15:44:10 +08:00
parent cd48d2d389
commit a7dc7bbff2
13 changed files with 69 additions and 27 deletions
+1
View File
@@ -305,6 +305,7 @@ We use `prisma-json-types-generator` to enforce strict type-safety for Prisma `J
- Development: Use `bun --bun run prisma migrate dev` to create and apply migrations during development.
- Production: Use `bun --bun run prisma migrate deploy` to apply pending migrations in production environments.
- **No Automatic Dev DB Reset**: Do not run `prisma migrate reset --force` or commands that force-reset the database automatically. If migrations become out of sync or a reset is required, stop executing, report the situation to the user, and present suggested manual cleanup/reset steps for the user to execute.
### Commands