The GM who confirms a session isn't told they did (#887) #942

Merged
claude-bot merged 2 commits from fix/887-gm-own-confirmation into main 2026-09-29 21:06:22 +00:00
Collaborator

Fixes item 1 of #887. Item 2, the J2 bell-paging check, comes with lane 10's journeys PR.

  • Server: _send_confirmation_notice takes actor_id and passes it to notify_campaign, which already drops the actor. The bell row is also what the email is delivered from, so the GM now gets neither.
    • It's threaded from the manual confirm (POST /sessions/{id}/confirm, which now reads current_user), a direct booking (the creator) and a move (update_session_with_plan's existing actor_id).
    • Auto-close and the bot's vote-driven confirm pass none, so the whole table is still told.
    • The opt-in calendar invite is unchanged.
  • Tests: two route tests in test_notifications.py (confirm, direct booking). Both fail on main and pass here.
    • Six session and notification modules pass locally: 228 tests.
    • ruff 0.4.4 is clean.
  • Changelog: changelog.d/887-gm-own-confirmation.fixed.md.

🤖 Generated with Claude Code

Fixes item 1 of #887. Item 2, the J2 bell-paging check, comes with lane 10's journeys PR. - **Server:** `_send_confirmation_notice` takes `actor_id` and passes it to `notify_campaign`, which already drops the actor. The bell row is also what the email is delivered from, so the GM now gets neither. - It's threaded from the manual confirm (`POST /sessions/{id}/confirm`, which now reads `current_user`), a direct booking (the creator) and a move (`update_session_with_plan`'s existing `actor_id`). - Auto-close and the bot's vote-driven confirm pass none, so the whole table is still told. - The opt-in calendar invite is unchanged. - **Tests:** two route tests in `test_notifications.py` (confirm, direct booking). Both fail on main and pass here. - Six session and notification modules pass locally: 228 tests. - ruff 0.4.4 is clean. - **Changelog:** `changelog.d/887-gm-own-confirmation.fixed.md`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(sessions): the GM who confirms isn't told they did (#887)
Some checks failed
CI / Summarisation accuracy eval harness (stub provider) (pull_request) Successful in 55s
CI / Bot tests and audit (pull_request) Successful in 2m8s
CI / Backend lint (ruff) (pull_request) Successful in 31s
CI / Feedback site tests (pull_request) Successful in 48s
CI / Bot/backend version sync (pull_request) Successful in 30s
CI / Does this change touch the recording path? (pull_request) Successful in 25s
CI / Synthetic session harness (no GPU, no LLM) (pull_request) Has been skipped
CI / Frontend (shard 2/2) (pull_request) Successful in 6m25s
CI / Docker image build (pull_request) Successful in 2m2s
CI / Backend migration, tests, and audit (pull_request) Failing after 7m8s
CI / End-to-end journeys (phone) (pull_request) Successful in 7m10s
CI / End-to-end journeys (desktop) (pull_request) Has been cancelled
CI / End-to-end journeys (keyboard) (pull_request) Has been cancelled
CI / Frontend (shard 1/2) (pull_request) Has been cancelled
1d4795be71
The confirming GM got a session_confirmed bell row, and since #865 an
email, about their own click. Thread the acting GM through as actor_id
from the manual confirm, the direct booking and the move; auto-close and
the bot's vote-driven confirm keep telling everyone.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
test(sessions): the stalled-publish test's confirm tells the player only (#887)
All checks were successful
CI / Summarisation accuracy eval harness (stub provider) (pull_request) Successful in 1m2s
CI / Backend lint (ruff) (pull_request) Successful in 1m24s
CI / Bot/backend version sync (pull_request) Successful in 27s
CI / Does this change touch the recording path? (pull_request) Successful in 23s
CI / Synthetic session harness (no GPU, no LLM) (pull_request) Has been skipped
CI / Docker image build (pull_request) Successful in 36s
CI / Feedback site tests (pull_request) Successful in 1m58s
CI / Bot tests and audit (pull_request) Successful in 5m5s
CI / Frontend (shard 2/2) (pull_request) Successful in 6m43s
CI / Frontend (shard 1/2) (pull_request) Successful in 8m26s
CI / Backend migration, tests, and audit (pull_request) Successful in 15m59s
CI / End-to-end journeys (desktop) (pull_request) Successful in 24m43s
CI / End-to-end journeys (phone) (pull_request) Successful in 17m39s
CI / End-to-end journeys (keyboard) (pull_request) Successful in 7m11s
5d7d2603f2
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Sign in to join this conversation.
No description provided.