Skip to content

Conversation

@github-actions
Copy link
Contributor

This is an automated pull request to merge tofik/questionnaire-logic into dev.
It was created by the [Auto Pull Request] action.

@vercel
Copy link

vercel bot commented Jan 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Review Updated (UTC)
app Skipped Skipped Jan 20, 2026 9:53pm
portal Skipped Skipped Jan 20, 2026 9:53pm

Request Review

@cursor
Copy link

cursor bot commented Jan 20, 2026

PR Summary

Introduces verification to handle vector store eventual consistency and adds instrumentation to track the most recent embedding upserted per sync.

  • New verifyEmbeddingIsReady in sync-organization.ts queries the vector index with retries/backoff and logs verification metrics
  • Sync flows (sync-policies, sync-context, sync-knowledge-base) now return { status, lastEmbeddingId }; SyncStats extended with lastUpsertedEmbeddingId and populated during batching
  • syncManualAnswers now returns SyncStats, filters empty texts before upsert, and records the last actually upserted embedding ID
  • Verification runs after syncs when any embeddings were created/updated, prioritizing KB → manual answers → context → policies for the embedding ID to check

Written by Cursor Bugbot for commit 9394253. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@vercel vercel bot temporarily deployed to Preview – app January 20, 2026 21:53 Inactive
@vercel vercel bot temporarily deployed to Preview – portal January 20, 2026 21:53 Inactive
@tofikwest tofikwest merged commit 1f6e635 into main Jan 20, 2026
10 checks passed
@tofikwest tofikwest deleted the tofik/questionnaire-logic branch January 20, 2026 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants