Lane 10 PR 8: J2 and J4 walk outside the app; a mail app's Unsubscribe works (#736) #945
Loading…
Reference in a new issue
No description provided.
Delete branch "build/lane10-8-journeys"
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?
Lane 10 PR 8 (#736). It also fixes #887 item 2. The journeys assert what reaches the fake bot and Mailpit; how it looks in Discord is the bot's golden tests' job (
test_faces.py).App bug found and fixed: one-click unsubscribe never worked.
List-Unsubscribepointed at the SPA page/email/stop?t=. nginx answers a POST there with 405, so a mail app's own Unsubscribe (RFC 8058) stopped nothing, silently.POST /api/email/stop/one-click?t=(the token is the credential, rate-limited to 10/min). The footer link is still the page.test_email_templates.py, and two intest_email_routes.py. They fail on main.List-Unsubscribe=One-Clickto the header's address and sees the grid turn off.J2 (a J2-only player, Ines, with a verified Discord link, so Priya's grid is never touched):
session_proposedcarriesnumberandcloses_at;session_confirmedcarriesnumberandconfirmed_time;notification_dmgoes to Ines's Discord id, and itslinematches her bell row;session_cancelledcarries the reason.List-Unsubscribeheaders are there;/api/me/notifications, so no longer depends on the first 20 rows.session_confirmedto carryrsvp, but on main only reminders do, and e2e runs no beat.J4: Start's
/record/startcarries the campaign's realchannel_id, and the reply'sannounced_inis"channel".J4b, new (
j4b-test-the-bot.spec.js):audio_deleted./record/start, Priya's bell unchanged, and the session is still confirmed.announced_in: null, the panel says "Recording — but I couldn't post the announcement", and Stop completes it.Harness:
fake_botwrites runtime-generated near-silent WAVs (−44 dBFS, since pure silence is dropped as "Nobody was heard", #348) intoaudio_temp/tests/{id}/and hands off. No audio is committed.announced_inin the status, andPOST /__e2e/announce-fails.fakebotmountsaudio_temp.Checks:
Noticed, not changed:
<h2>repeats "Quest Board";session_record_start's docstring still says the bot "refuses" (stale since D171).🤖 Generated with Claude Code