The email answer page says a session started or was cancelled; the DM warning says which refusal (#901) #950
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/901-email-landings"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #901. This makes the email landings and the DM warning carry what lane 10's drawings show (lane8.html EXT-5 and HOME-6).
1 and 2:
/email/answerGET /api/email/answergains:session_idandcampaign_name;state:open,startedorcancelled;cancelled_byandcancel_reason.POST: a started or cancelled session is a 409 ("Session N has started" / "was cancelled"), and nothing is recorded.Session N · <campaign>, as drawn./email/stopis unchanged, as drawn: its run-out state is captioned "the same words either way", and an HMAC can't tell a rotated secret from a tampered token.3: the DM warning
closed/no_shared_server, andplatform_links.dm_failed_reasonalready stores it. There's no bot change and no contract bump.channel_availabilitypicks the drawn sentence for each kind, and exposeswarning_kindandwarning_at(ChannelInfo). The old generic sentence stays for a legacy row with no reason.Departures, all small:
Checks
test_email_routes,test_email_templates,test_notifications,test_notifications_outandtest_outbound_notifications_migrationpass (156). These are all the modules that reference the touched symbols. New tests cover each state, the 409s, the lapsed member on a cancelled session, and every warning kind./sessions/<id>.changelog.py checkpasses.Changelog:
changelog.d/901-email-landings.changed.md.🤖 Generated with Claude Code