Fix two resubmit comments and test the resubmit route's middleware (closes #252) #457

Merged
clawbot merged 1 commits from issue-252-resubmit-route-tests into next 2026-10-02 19:20:40 +02:00
1 Commits
Author SHA1 Message Date
clawbot a5c5f78eed Fix two resubmit comments and test the resubmit route's middleware (closes #252)
check / check (push) Waiting to run
loadResubmitSource credited GORM's soft-delete scope for refusing a
reaped event; the reaper deletes the row outright. createAndFanOut
claimed to be the only path that creates deliveries; per-delivery
replay creates one too.

New tests drive the resubmit route through the production router:
CSRF refuses a missing, malformed or foreign token; another user's
webhook and another webhook's event are 404; the rate limit refuses
once spent; and signed-out requests never reach that rate limit. The
handler refuses a signed-out request with the same redirect itself,
so keeping such requests off the budget is what RequireAuth adds.

Model: opus-5-5
2026-10-02 16:59:58 +00:00