Test sqlfu against real celld - #154
Draft
mmkal wants to merge 3 commits into
Draft
Conversation
commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Runtime scope
celld currently supports module Workers and SQLite-backed Durable Objects. Its compatibility reference lists D1 as planned, so this PR does not claim or approximate D1 support.
Before / after
Before: sqlfu Durable Object coverage ran through Miniflare, leaving compatibility with the new self-hosted celld runtime unproven.
After, the same public sqlfu surface runs inside celld:
The distinct responses prove the Worker routes to separate named Durable Object cells, while each cell applies the inline sqlfu migration and executes generated-mode query wrappers against its own SQLite storage.
Verification
Coding agent session: 019fdb5d-9f22-7c90-b4ec-7ee4a9ec3b57
Package size — packed 280.6 kB (no change)
Package size
dist/vendor/*.jsbundlesvendor/sha256.jsvendor/sql-formatter/*.jsvendor/sqlfu-sqlite-parser/*.jsvendor/standard-schema/*.jsvendor/typesql/*.jsMeasured with
npm pack --dry-run --jsononsqlfu(0.0.0-dev on main vs 0.0.0-dev on this PR).