fix(knowledge): address release review follow-ups for ACL pages, projection fill, and sync retries - #8202
Conversation
…ection fill, and sync retries - Scope the observed-ACL aggregate to members of the document's own connector - Advance a member's listing checkpoint only after the ACLs it decides are written, and rematerialise every document a replayed feed removal names - Plan ACL pages from an unlocked read and lock only the page that will be written - Lock fill documents FOR KEY SHARE SKIP LOCKED so a concurrent delete cannot fail the mark's foreign key - Report an unfinished projection fill as remaining work - Record the database failure class on failed sync-log rows and count only those toward the database retry streak (expand-only migration 0379) - Heartbeat the lease between revokeDocumentAcls transactions - Extract isTriggerAvailable to lib/core/config/trigger-availability and use it for every dispatch decision - Exercise a concurrently committed deletion in the processing lock-scope test
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
There was a problem hiding this comment.
All reported issues were addressed across 41 files
Tip: cubic can generate docs of your entire codebase and keep them up to date. Try it here.
Fix all with cubic | Re-trigger cubic
Comments Outside DiffThese findings sit on lines the diff does not cover, so they could not be posted inline. Each one leaves this list once its file changes.
|
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
No issues found across 41 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Tip: cubic can generate docs of your entire codebase and keep them up to date. Try it here.
Re-trigger cubic
Summary
FOR KEY SHARE SKIP LOCKEDso a concurrent delete can no longer fail the pass with FK 23503database_failure_classon failed sync-log rows (expand-only migration 0379) and count only database failures toward the database retry streak and alertrevokeDocumentAclstransactionsisTriggerAvailabletolib/core/config/trigger-availabilityand use it for every Trigger.dev dispatch decisionType of Change
Testing
Checklist