You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up tracking for ADR-0057 (system data lifecycle & retention) after P1–P4 shipped in #2791 (docs/skills in #2818, tracking issue #2786 closed). Each item is independently shippable.
④ PostgreSQL native-partition Rotator — evaluated and deferred (see design sketch in the comments): no PG service in CI means the DDL would ship unverifiable. Current PG behavior is correct (age-based fallback; the bound holds). Prereq: a postgres service container in CI + sql-driver-rotation.pg.test.ts.
⑤ (found during ③) i18n extract-config drift for *.objects.generated.ts — the committed bundles carry curated sys_* translations (e.g. sys_audit_log) whose objects live outside packages/platform-objects/scripts/i18n-extract.config.ts's import set; a plain re-run of the extractor deletes them. Import the missing sys_* objects into the config (or split per-package bundles) before anyone regenerates object keys.
Follow-up tracking for ADR-0057 (system data lifecycle & retention) after P1–P4 shipped in #2791 (docs/skills in #2818, tracking issue #2786 closed). Each item is independently shippable.
Items
JobRunRetention/NotificationRetention(+retentionDays/retentionSweepMsoptions) removed; the LifecycleService is the one sweeper. Included a fix: the blanket 30d lifecycle retention onsys_automation_run(from feat(lifecycle): ADR-0057 P1–P4 — lifecycle contract, Reaper/Rotator/Archiver, datasource separation, governance (#2786) #2791) could strand suspended approval runs — removed; bounding stays with the automation store's terminal-only sweep (no status predicate in the declarative contract yet).db:clean— shipped in feat(lifecycle): ADR-0057 follow-ups — retire per-plugin sweepers, dev telemetry datasource + db:clean, Studio lifecycle form (#2834) #2835.objectstack devprovisions<primary>.telemetry.<ext>as thetelemetrydatasource for file-backed SQLite primaries (OS_TELEMETRY_DB=0opts out,=pathopts in anywhere); newos db cleanruns the one-timeVACUUM(smoke-verified 48.9 MB → 0.01 MB,auto_vacuum=2adopted).lifecycle— shipped in feat(lifecycle): ADR-0057 follow-ups — retire per-plugin sweepers, dev telemetry datasource + db:clean, Studio lifecycle form (#2834) #2835.object.form.tsexposes the full lifecycle block; metadata-forms i18n bundles regenerated with curated zh-CN. NOTE: the*.objects.generated.tsbundles were deliberately not regenerated — see the extract-config drift note in the comments.sql-driver-rotation.pg.test.ts.*.objects.generated.ts— the committed bundles carry curated sys_* translations (e.g.sys_audit_log) whose objects live outsidepackages/platform-objects/scripts/i18n-extract.config.ts's import set; a plain re-run of the extractor deletes them. Import the missing sys_* objects into the config (or split per-package bundles) before anyone regenerates object keys.References
docs/adr/0057-system-data-lifecycle-and-retention.md(P0–P4 implemented)🤖 Generated with Claude Code