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
{{ message }}
Repository navigation
Make notify_user step non-fatal in publish-approve orchestrator #477
Release review of #474 flagged that step 15 (notify_user, Resend email send) is fatal-on-error in backend/src/services/publishOrchestrator.ts. It fires after step 7 (publish_doi), which is irreversible.
A Resend outage between steps 7 and 15 leaves the dataset:
Published (visibility flipped, DOI minted, archive generated)
But the requesting user never receives the publication confirmation email
Operator must manually --resume once Resend recovers
Proposal
Mirror the sync_nemar pattern (also fires after publish_doi, also non-fatal). On failure:
Log to D1 audit
Continue to step completion
Optionally schedule a retry via a daily cron sweep that queues failed notify_user emails
Out of scope
Resend retry logic at the SDK level — that's a separate hardening item
Per-step retry policies in the orchestrator generally — needs a design pass first
Activity
neuromechanist commentedon May 14, 2026
Merged via PR #484.