Skip to content

feat: add WASM serverless functions and isolated SQLite data - #86

Merged
jisung-02 merged 2 commits into
mainfrom
feat/wasm-serverless
Sep 27, 2026
Merged

jisung-02 merged 2 commits into
mainfrom
feat/wasm-serverless

Conversation

@jisung-02

Copy link
Copy Markdown
Contributor

Summary

  • Add WASI Preview1 serverless functions with Rust, Go, JavaScript, Python source builds and direct WASM upload.
  • Expose authenticated management APIs, Bearer-key HTTP invocation, and key rotation, expiry, and revocation.
  • Add a separate SQLite JSON collection/key store scoped by owner and function, with strict file permissions, quotas, and a WASI data protocol.
  • Add an isolated builder service, deployment wiring, examples, and API documentation.

Test plan

  • GOTOOLCHAIN=go1.26.6 go test ./...
  • GOTOOLCHAIN=go1.26.6 go vet ./...
  • golangci-lint run ./internal/domain/functions/... (0 issues)
  • Local WASI data round trips with Rust, Go, JavaScript, and Python samples.

Deployment notes

  • Source uploads require the separate rcp-function-builder service; direct WASM uploads work without it.
  • Function data is in function-data/data.sqlite by default. Back up this file together with the control-plane database.

Supersedes #85 after the branch rename.

Add source builds, authenticated HTTP invocation, key lifecycle, and function-scoped JSON storage for WASI programs.
Resolve GO-2026-6348 reported by govulncheck in the server PR.
@jisung-02
jisung-02 requested a review from haramj September 27, 2026 07:37
@jisung-02
jisung-02 merged commit 173eac3 into main Sep 27, 2026
18 checks passed
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