Skip to content

Fix/project embedding transactions - #11

Merged
AmzBG merged 2 commits into
mainfrom
fix/project-embedding-transactions
Aug 7, 2026
Merged

Fix/project embedding transactions#11
AmzBG merged 2 commits into
mainfrom
fix/project-embedding-transactions

Conversation

@AmzBG

@AmzBG AmzBG commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Description

  • Generate project AI embeddings before opening Prisma interactive transactions.
  • Keep project creation, GitHub import, project updates, and vector persistence atomic while preventing AI latency from exhausting Prisma's five-second transaction timeout.
  • Add regression coverage for all three project-writing workflows.

Link to issue or ticket

N/A

Steps to QA

  1. Run npm test --workspace=api -- --runInBand.
  2. Run npx turbo run lint.
  3. Run npx turbo run check-types.
  4. Run npx turbo run build.
  5. Edit a project in an environment where embedding generation takes longer than five seconds.
  6. Confirm the project update succeeds without Prisma error P2028 and its embedding is persisted.

Screenshots

N/A

@AmzBG AmzBG self-assigned this Aug 7, 2026
@AmzBG AmzBG added enhancement New feature or request prod labels Aug 7, 2026
@AmzBG
AmzBG merged commit b2dabbc into main Aug 7, 2026
1 check passed
@AmzBG
AmzBG deleted the fix/project-embedding-transactions branch August 7, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request prod

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant