afterhours-shift-manager/tests
Adam Moussa 54501099e5
fix: roll back weekly repost when its ts can't be persisted
The Monday rollover deletes the old post then reposts a fresh one, but only
saved the new ts as its last step. If the save failed (or the Lambda died)
after the post landed, the async retry would read the stale, already-deleted
ts, no-op its delete, and post a second schedule — orphaning the first at the
bottom of the channel.

Wrap the save so a failure after a successful repost best-effort deletes the
fresh message before re-raising, letting the retry start clean. Mirrors the
orphan-avoidance the activity bump already has.
2026-07-10 16:28:01 -04:00
..
holiday_router Fix holiday router 3CX IVR calls (Receptionists entity, not IVRs) (#124) 2026-06-17 12:04:10 -04:00
release_notifier Add changelog-driven releases and App Home tab (#112) 2026-06-11 19:41:31 -04:00
ring_scheduler Add pytest suite and wire it into CI (#85) (#86) 2026-06-01 19:07:08 -04:00
roster_sync Add pytest suite and wire it into CI (#85) (#86) 2026-06-01 19:07:08 -04:00
scripts Add changelog-driven releases and App Home tab (#112) 2026-06-11 19:41:31 -04:00
shared [#136] Add Slack admin modals + App Home admin section (#141) 2026-07-02 16:29:42 -04:00
slack_bot [#136] Add Slack admin modals + App Home admin section (#141) 2026-07-02 16:29:42 -04:00
weekly_post fix: roll back weekly repost when its ts can't be persisted 2026-07-10 16:28:01 -04:00
conftest.py Add holiday shifts with 3CX routing and late-pickup approval (#121) 2026-06-17 11:14:29 -04:00
requirements.txt Add pytest suite and wire it into CI (#85) (#86) 2026-06-01 19:07:08 -04:00