Commit history for src/server/scoped-db
b9c347d⌁
- Queue scratch sites by expiry so the sweep reads only expired ones instead of every unclaimed sited699fad⌁taigrr committed
- Close expired editor sessions from their account's alarm and index per-repo sessions by repository96b9777⌁taigrr committed
- Page site reconcile and hosting GC through an indexed scope range instead of listing every site scopee25dacb⌁taigrr committed
- Sweep custom domains through a site_domain locator instead of reading every site scopef1af045⌁taigrr committed
- Find an owner's claimed upload sites through an owner-keyed locator instead of every repo-less site scope00de841⌁taigrr committed
- Fold site usage per scope from its own alarm instead of a cron over every site scopeae0e5d4⌁taigrr committed
- Report offline runners from their owner's AccountState alarm instead of a cron over every account1a51371⌁taigrr committed
123621c⌁
755c372⌁
8ddd382⌁
- Index every activity kind per actor and write the index before acknowledging the activity5ce069e⌁taigrr committed
3640559⌁
825a8d1⌁
- Run each repository's time-driven work from its RepoState alarm instead of crons over every repository32e5c36⌁taigrr committed
f618286⌁
- Expire sessions, tokens, OAuth codes and delivery markers, and flush digests, from each AccountState's own alarm4ef1b29⌁taigrr committed
- Revoke deploy tokens through a per-creator index instead of visiting every repositorydabbdf9⌁taigrr committed
- Drop unused locator exports3af5b0a⌁taigrr committed
- Embed the owning repo or account id in new row ids so lookups skip the directory and no locator rows are written9878c76⌁taigrr committed
- Remove the migration scaffolding: D1 import path, one-shot cron steps, backfill helpers and unused exports4088d52⌁taigrr committed
- Import scoped tables per table so tables added to a scope later still copy over; never overwrite rows the object already holds8b654f4⌁taigrr committed
- Apply scoped-store triggers only after the D1 import so existing rows copy over unchanged0509ec5⌁taigrr committed
- Move sessions, tokens, passkeys, OAuth grants, notifications, org invitations, AI endpoints and account lifecycle into AccountState; sites, LFS and editor sessions into their scopes1054732⌁taigrr committed
- Move CI runs, jobs, statuses, caches, webhooks, secrets, variables, environments and deploy tokens into RepoState1cbb8e5⌁taigrr committed
0b9a0e7⌁
- Move security data (advisories, alerts, SARIF, dependencies, settings) into RepoState and signing keys into AccountState7794e8f⌁taigrr committed
- Add per-repo RepoState and per-account AccountState SQL stores, the involvement index, scope locators and the migration planc23c430⌁taigrr committed