← 返回技术雷达
Hacker News tech

Show HN: Supapool – a Supabase per coding agent in ~400 ms

Hacker News 热议:Show HN: Supapool – a Supabase per coding agent in ~400 ms(25 赞 / 4 评论,来源 supapool.io)

一句话概要

Full, isolated Supabase instances for coding agents in 1 second.

原文开头节选

npx @supapool/cli run — npm run dev Wrap any command. Supapool leases a clean instance, injects its credentials, keeps it alive, and releases it when the command exits.

npx @supapool/cli login npx @supapool/cli run — login opens GitHub sign-in and saves an API key to ~/.config/supapool/config.json . run does the same sign-in on first use, so most people never run login directly.

run acquires a clean instance, applies every .sql file in supabase/migrations in filename order, starts your command with the instance credentials in its environment, renews the lease while the command is alive, and releases the instance when it exits. Your repository’s environment files are never modified.

Every instance is a lease with a TTL, 30 minutes by default. The CLI renews it every 5 minutes while your command runs. When the command exits, or if the process dies and renewals stop, the lease expires and the slot is wiped and returned to the pool. Nothing you store in an instance survives release, so treat every run as disposable.

(以上为原文节选,完整内容见下方”原文来源”)

这条动态今日登上 Hacker News 首页(25 赞 / 4 评论,来源 supapool.io)。技术雷达每日自动聚合 AI 工程、后端架构、DevOps 方向的前沿动态;相关工程落地可浏览下方的相关服务与延伸阅读,或直接与我们团队交流。

原文来源: Hacker News