Add outbox worker processing policy

This commit is contained in:
Jason Thistlethwaite
2026-04-25 00:53:49 +00:00
parent c9f4c69525
commit f109fdcb91
8 changed files with 249 additions and 33 deletions
+29 -1
View File
@@ -149,7 +149,35 @@ Helpdesk behavior, checks the matching `event_outbox_events` rows, and dry-runs
worker enrichment without claiming or marking rows processed. Details are in
`docs/helpdesk_outbox_worker_validation.md`.
## 9. Re-Run The Read-Only Validator
## 9. Check Or Process The Outbox Worker
Inspect outbox queue state:
```sh
./redmine_outbox_worker.py --status
```
Preview worker output without marking rows processed:
```sh
./redmine_outbox_worker.py --dry-run --batch-size 10
```
Process a small bounded batch only after the dry-run output looks correct:
```sh
./redmine_outbox_worker.py --batch-size 5
```
The default JSONL output path is
`/tmp/redmine-outbox/derived_documents.jsonl`. Use `--output` to override it.
Processed rows are retained by default. To preview test-instance cleanup:
```sh
./redmine_outbox_worker.py --purge-processed-days 30
```
## 10. Re-Run The Read-Only Validator
Finish by running: