Repository navigation
Conversation
|
The PostgreSQL job failed because the populated upgrade test connects to I moved this PR to draft after finding a separate compatibility failure. Current KickSide Workflows calls Keep family reclamation behind an explicit owner lifecycle contract. The diagnostics backlog work is independently testable and should not depend on adding the family backfill and deletion policy. Workflows creation options · Owner retention check The corrected fixture was also used for a full clean PostgreSQL rerun with the exact CI image and Wippy 0.3.59a. All 1,582 tests passed. The owner-compatibility finding above still blocks the family deletion change. Commit I also checked the root selection query with 100,000 held roots and three eligible roots. In the disposable PostgreSQL fixture the previous index plus the same eligibility predicate examined 100,003 entries and filtered 100,000 heap rows. The partial index returned the same three rows directly, with one warm execution dropping from 9.87 ms to 0.025 ms. SQLite issued fewer than 100 VM instructions with the partial index, versus about 500,000 with the previous one. This isolates root selection; it does not measure family deletion or diagnostic work. |
Retention deleted one batch per interval, so any load above that rate grew the commit and data tables without bound, and terminal flow families (flows, nodes, results, inputs and outputs) were never deleted.
flow_retention_days(default follows the diagnostic window, 30-day minimum; zero disables). Children are deleted in bounded pages, leaves first, with a durable fence for restart recovery.createacceptsretain = true, andreleasedrops the hold (actor-checked, idempotent). Held families are never aged out. Every family created before this migration is held, so installed owners lose nothing they still read.Migration 10 backfills family identity on populated databases. Tested on SQLite and PostgreSQL (1,582 each), including a populated upgrade.