Commit Graph
1 Commits
Author SHA1 Message Date
clawbot 6688aa364b Fix two resubmit comments and test the resubmit route's middleware (closes #252)
check / check (push) Successful in 3m33s
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:18:52 +00:00