Repository navigation
Conversation
This was referenced Oct 27, 2026
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
Stacked on #155 (base
feat/db-interface):fastedge::db/sqlmoves to the asyncgcore:db/sqlinterface. JS API unchanged.runtime/fastedge/builtins/db-sql.cpp:query/batchstart the host call and return a pending Promise; one StarlingMonkeyapi::AsyncTaskper call (SqlTask) waits on the host future's pollable, reads the result, drops pollable and future, and settles the Promise. Argument errors reject the Promise.merge-wit-bindings.js: runtime world includesgcore:fastedge/reactor-async; skips FastEdge-wit'sdeps/io(StarlingMonkey's host APIs already providewasi:io@0.2.3)types/fastedge-db-sql.d.ts: documents concurrency and ordering (await a write before relying on it;batchfor ordered/atomic work)runtime/FastEdge-wit→ G-Core/FastEdge-witfeat/db-interface-async; bindings regeneratedMeasured (fastedge-run → Neon, median of 7)
Promise.allDecisions needed
gcore:db/sqlandwasi:io/poll: engine on all edges →fastedge-test→ this SDKTesting
Promise.allbench app end to end onfastedge-run(engine branchfeat/db-interface-async) against NeonEngine side + full design:
docs/db/ASYNC.mdin G-Core/FastEdge (branchfeat/db-interface-async).Related: #155 (base), G-Core/FastEdge#660, G-Core/FastEdge-wit#9