Skip to content

Fix RGS seed counts without storage metadata - #9

Open
pallaoro wants to merge 1 commit into
mainfrom
fix/rgs-seed-count
Open

pallaoro wants to merge 1 commit into
mainfrom
fix/rgs-seed-count

Conversation

@pallaoro

Copy link
Copy Markdown
Member

Seeding the RGS starter chart through the metadata-less STORAGE binding saved 25 accounts but returned inserted:0. Count rows returned by INSERT OR REPLACE … RETURNING rgs_code, preserving the existing response semantics for both inserted and replaced accounts.

Two HTTP regressions cover bindings with and without metadata, fresh seeding, reseeding and preservation of custom accounts. The metadata-less regression fails on the base commit. All 64 tests, the Vite build and diff check pass; local workerd checks pass on SQLite Durable Object storage and D1. No schema or dependency changes.

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