summaryrefslogtreecommitdiff
path: root/DomainDig/DataAccessService.swift
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-07-20 15:31:51 -0500
committerChristian Cleberg <[email protected]>2026-07-20 15:52:42 -0500
commit8b661d9f36381ee432ece5e77a17d5ae6357d327 (patch)
tree3c4fb904b2fcae44f060a387cd2c469fd51597fe /DomainDig/DataAccessService.swift
parentd9bd61cc745b3f1d6ff481fd300abf3216d07d48 (diff)
downloaddomain-dig-8b661d9f36381ee432ece5e77a17d5ae6357d327.tar.gz
domain-dig-8b661d9f36381ee432ece5e77a17d5ae6357d327.tar.bz2
domain-dig-8b661d9f36381ee432ece5e77a17d5ae6357d327.zip
fix: make disabled targets and forced queue processing visible
Closes #8, closes #9. enqueue(events:) filtered to enabled targets before writing any DeliveryRecord, so events routed to a disabled integration disappeared with nothing in the Delivery Log. Disabled targets now record a .skipped entry with a reason, matching how filter mismatches are already surfaced. sendTest bypassed the isEnabled check entirely, so a test event delivered against a target that silently dropped every real event — exactly the wrong signal when someone is verifying their setup. It now skips with the same reason. processQueueNow only restarted the processing task; it never moved nextAttemptAt, so an item in retry backoff stayed undue and the fresh task went straight back to sleep. Backoff reaches an hour, so the button appeared inert for the one case it exists to handle. It now pulls every queued item forward, and reports when the queue is empty instead of returning silently.
Diffstat (limited to 'DomainDig/DataAccessService.swift')
0 files changed, 0 insertions, 0 deletions