Skip to content

fix: batch generate group writes - #112

Merged
reobin merged 2 commits into
fix/handle-turso-429from
fix/batch-generate-group-writes
Oct 15, 2026
Merged

reobin merged 2 commits into
fix/handle-turso-429from
fix/batch-generate-group-writes

Conversation

@reobin

@reobin reobin commented Oct 15, 2026

Copy link
Copy Markdown
Member

each colorscheme group costs one remote hrana request, so a large repo sends thousands of requests and trips turso 429 load-shed.

this change inserts groups in multi-row batches of 50. a 66-scheme repo drops from ~3,300 statements to roughly 130.

@reobin reobin self-assigned this Oct 15, 2026
Copilot AI balanced review requested due to automatic review settings October 15, 2026 15:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@reobin
reobin added this pull request to stack #113 October 15, 2026 15:27
@reobin
reobin force-pushed the fix/batch-generate-group-writes branch from 34e0ae4 to d500cbc Compare October 15, 2026 15:31
each colorscheme group was one remote hrana request, so a large
repo sent thousands of requests and tripped turso 429 load-shed.

insert groups in multi-row batches of 50 to cut request volume.
@reobin
reobin force-pushed the fix/batch-generate-group-writes branch from d500cbc to 88965e8 Compare October 15, 2026 15:46
@reobin
reobin merged commit 62456fd into main Oct 15, 2026
3 checks passed
@reobin
reobin deleted the fix/batch-generate-group-writes branch October 15, 2026 15:49
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.

2 participants