Skip to content

fix(event-sorcery): delegate event persistence to sqlite-es batch insert#25

Closed
0xgleb wants to merge 1 commit into
fix/sqlite-es-batch-event-insertfrom
fix/event-sorcery-batch-event-insert
Closed

fix(event-sorcery): delegate event persistence to sqlite-es batch insert#25
0xgleb wants to merge 1 commit into
fix/sqlite-es-batch-event-insertfrom
fix/event-sorcery-batch-event-insert

Conversation

@0xgleb

@0xgleb 0xgleb commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Motivation

Solution

Reuse sqlite_es::insert_serialized_events_batch instead of issuing one
INSERT per event from the event-sorcery repository wrapper.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Jun 12, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@0xgleb, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 49 minutes and 44 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more credits in the billing tab to continue.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 2ebe4945-75f1-4965-a4b1-0f97e898eeaa

📥 Commits

Reviewing files that changed from the base of the PR and between 4726b26 and 96b15a1.

📒 Files selected for processing (1)
  • crates/event-sorcery/src/sqlite_event_repository.rs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/event-sorcery-batch-event-insert

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

0xgleb commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more


How to use the Graphite Merge Queue

Add the label add-to-gt-merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has required the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@0xgleb 0xgleb self-assigned this Jun 12, 2026
@0xgleb 0xgleb marked this pull request as ready for review June 12, 2026 21:24
@0xgleb 0xgleb closed this Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant