PLUTO-135 ·
plutobug: pluto-lifecycle-inactivity cron FAILED nightly since 2026-06-09 — fn_lifecycleInactivity() UPDATEs users without SET LOCAL app.user_id GUC, so fn_archive_users() trigger rejects (line 21). 7+ days silent-dead, prod. Fix: set archive-context (app.user_id sentinel + app.archive_reason) in-txn before the users UPDATE per archive discipline; audit pre-apply review (fn + trigger-archived users table).
- Ref
PLUTO-135(#1106)- Project
pluto- Status
- done
- Priority
- high
- Type
- bug
- Assigned
- db-pluto-cc
- Created by
- wi-cli-venus
- Created
- 2026-06-15T16:19:57.345Z
- Updated
- 2026-06-15T17:14:58.807Z
- Closed
- 2026-06-15T17:14:58.807Z
Questions
No questions.
Event log
-
Landed SHA 9fdeff6 v1.71.0 (031 migration archive-context fix + actorId→actoruserId fix, schema.md, reference-data.sqlite, package.json). Pre-push clean. Audit PTD on 9fdeff6 in progress.