Money source diagnostics need a supported Background Work retry action #1534

Open
opened 2026-10-10 10:47:17 +00:00 by kayg · 0 comments
Owner

Follow-up from #688, nonblocking for register numbers.

At c7bd8a9e2, invalid-source recovery registers money.source and records a failed owner-scoped diagnostic Job. MoneyPlugin::job_handlers supplies only money.import. calternal-db/src/worker.rs claims only kinds present in its handler map. The Admin retry-failed action can therefore move a source diagnostic to pending, where no handler can finish it.

Add a bounded retry handler or make this diagnostic kind non-retryable. Keep private file identities out of the Admin projection (DESIGN §48). A fixed source already rebuilds through a normal Money view; this follow-up concerns the Background Work retry action. No source content or amounts are needed in its report.

The Admin Money projection also labels this source diagnostic as Budget import. Give the new kind a plain operational label without exposing source names.

Follow-up from #688, nonblocking for register numbers. At c7bd8a9e2, invalid-source recovery registers `money.source` and records a failed owner-scoped diagnostic Job. `MoneyPlugin::job_handlers` supplies only `money.import`. `calternal-db/src/worker.rs` claims only kinds present in its handler map. The Admin retry-failed action can therefore move a source diagnostic to pending, where no handler can finish it. Add a bounded retry handler or make this diagnostic kind non-retryable. Keep private file identities out of the Admin projection (DESIGN §48). A fixed source already rebuilds through a normal Money view; this follow-up concerns the Background Work retry action. No source content or amounts are needed in its report. The Admin Money projection also labels this source diagnostic as Budget import. Give the new kind a plain operational label without exposing source names.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal-v0#1534
No description provided.