Skip to content

fix(rivetkit-core): chunk apply_batch puts/deletes at 128#5046

Open
abcxff wants to merge 1 commit into
05-07-fix_pegboard_validate_drain_grace_period_request_lifespanfrom
05-12-fix_rivetkit-core_chunk_apply_batch_puts_deletes_at_128
Open

fix(rivetkit-core): chunk apply_batch puts/deletes at 128#5046
abcxff wants to merge 1 commit into
05-07-fix_pegboard_validate_drain_grace_period_request_lifespanfrom
05-12-fix_rivetkit-core_chunk_apply_batch_puts_deletes_at_128

Conversation

@abcxff
Copy link
Copy Markdown
Contributor

@abcxff abcxff commented May 12, 2026

@railway-app
Copy link
Copy Markdown

railway-app Bot commented May 12, 2026

🚅 Deployed to the rivet-pr-5046 environment in rivet-frontend

Service Status Web Updated (UTC)
kitchen-sink ❌ Build Failed (View Logs) Web May 12, 2026 at 1:29 pm
website 😴 Sleeping (View Logs) Web May 12, 2026 at 1:01 pm
frontend-cloud ❌ Build Failed (View Logs) Web May 12, 2026 at 12:51 pm
frontend-inspector ❌ Build Failed (View Logs) Web May 12, 2026 at 12:51 pm
ladle ❌ Build Failed (View Logs) Web May 12, 2026 at 12:51 pm
mcp-hub ✅ Success (View Logs) Web May 12, 2026 at 12:50 pm

@claude
Copy link
Copy Markdown
Contributor

claude Bot commented May 12, 2026

The fix is correct and addresses a real crash path (engine rejects batches > 128 keys). The constant naming and cross-referencing are good. The primary concern is the non-atomicity window introduced by multi-chunk writes — this should be tracked in .agent/todo/ and covered by a test that exercises a mid-sequence failure. The arbitrary lockstep pairing of put/delete chunks is a minor readability issue worth cleaning up alongside the atomicity work.

@abcxff abcxff force-pushed the 05-07-fix_pegboard_validate_drain_grace_period_request_lifespan branch from aac9634 to f8fe5aa Compare May 12, 2026 13:21
@abcxff abcxff force-pushed the 05-12-fix_rivetkit-core_chunk_apply_batch_puts_deletes_at_128 branch from 7920c6d to 78dd055 Compare May 12, 2026 13:21
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