Skip to content

KY0: the postgres-kysely epic doc set - #1

Merged
pullely merged 1 commit into
mainfrom
orun/KY-1-the-spec
Nov 4, 2026
Merged

pullely merged 1 commit into
mainfrom
orun/KY-1-the-spec

Conversation

@pullely

@pullely pullely commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

The postgres-kysely epic: epic.yaml (key KY, three milestones: the spec, the profiles table on Workers and Supabase, a baseline), the README, the design (the template at de86723, how each Vercel piece maps to Cloudflare and Supabase — upstream's db kept at every call site, resolved by a Proxy to a Kysely client per request over the HYPERDRIVE binding; the table as upstream's own Kysely DDL in a db-migrate migration with row-level security; local migrations through Kysely's own Migrator over the same files — and the alternatives rejected: getDb() per call, Kysely's pg dialect, the lazy CREATE TABLE, a twin copy of the SQL), the implementation plan, the risks (postgres.js's reserve hanging with fetch_types off, KY-K, proven in the spike, among them), the as-built status, and the three task contracts.

🤖 Generated with Claude Code

The postgres-kysely epic: epic.yaml (key KY, three milestones: the spec, the profiles table on Workers and Supabase, a baseline), the README, the design (the template at de86723, how each Vercel piece maps to Cloudflare and Supabase — upstream's db kept at every call site, resolved by a Proxy to a Kysely client per request over the HYPERDRIVE binding; the table as upstream's own Kysely DDL in a db-migrate migration with row-level security; local migrations through Kysely's own Migrator over the same files — and the alternatives rejected: getDb() per call, Kysely's pg dialect, the lazy CREATE TABLE, a twin copy of the SQL), the implementation plan, the risks (postgres.js's reserve hanging with fetch_types off, KY-K, proven in the spike, among them), the as-built status, and the three task contracts.

Co-Authored-By: Claude <noreply@anthropic.com>
Orun-Task: KY-1
@pullely
pullely merged commit 158a0b1 into main Nov 4, 2026
2 checks passed
@pullely
pullely deleted the orun/KY-1-the-spec branch November 4, 2026 21:26
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