test(webapp): the RSVP re-ask test holds on a Tuesday #919

Merged
claude-bot merged 3 commits from fix/rsvp-horizon-test-tuesday into main 2026-09-29 04:31:03 +00:00
Collaborator

tests/test_scheduling_lane4.py::test_needs_you_asks_again_after_a_move fails every Tuesday (UTC), on main and on every PR.

Why: it confirms a session for _monday(1) (7 to 13 days out, depending on the weekday) at 7 pm Chicago, then moves it one day. On a Tuesday that's 13 days + 1 day + the timezone offset, past RSVP_HORIZON (14 days) in attention_service. Needs you correctly doesn't ask about a session that far away, so the assertion len(asks) == 1 got 0.

Fix: the test's session is 3 days out, which stays inside the horizon on any weekday. Only this test depends on the horizon; the file's other _monday(1) uses are unaffected (all 34 pass today, the worst-case weekday).

Found while running lane 8 P6's full backend suite locally (5826 passed, this 1 failed).

🤖 Generated with Claude Code

`tests/test_scheduling_lane4.py::test_needs_you_asks_again_after_a_move` fails every Tuesday (UTC), on main and on every PR. **Why:** it confirms a session for `_monday(1)` (7 to 13 days out, depending on the weekday) at 7 pm Chicago, then moves it one day. On a Tuesday that's 13 days + 1 day + the timezone offset, past `RSVP_HORIZON` (14 days) in `attention_service`. Needs you correctly doesn't ask about a session that far away, so the assertion `len(asks) == 1` got 0. **Fix:** the test's session is 3 days out, which stays inside the horizon on any weekday. Only this test depends on the horizon; the file's other `_monday(1)` uses are unaffected (all 34 pass today, the worst-case weekday). Found while running lane 8 P6's full backend suite locally (5826 passed, this 1 failed). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
test(webapp): the RSVP re-ask test holds on a Tuesday
Some checks failed
CI / Backend lint (ruff) (pull_request) Successful in 42s
CI / Summarisation accuracy eval harness (stub provider) (pull_request) Successful in 1m3s
CI / Bot/backend version sync (pull_request) Successful in 22s
CI / Feedback site tests (pull_request) Successful in 41s
CI / Docker image build (pull_request) Successful in 22s
CI / Does this change touch the recording path? (pull_request) Successful in 24s
CI / Synthetic session harness (no GPU, no LLM) (pull_request) Has been skipped
CI / Bot tests and audit (pull_request) Successful in 2m1s
CI / End-to-end journeys (desktop, phone, keyboard-only) (pull_request) Failing after 1m2s
CI / Frontend tests, audit, and build (pull_request) Successful in 21m26s
CI / Backend migration, tests, and audit (pull_request) Successful in 34m57s
f0fc2a81af
test_needs_you_asks_again_after_a_move confirmed a session for next
Monday (7 to 13 days out) and moved it a day. On a Tuesday (UTC) that
lands past RSVP_HORIZON (14 days), so Needs you rightly stays quiet and
the test failed. Three days out keeps it inside the horizon every day.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ci: re-run (the runner failed to extract the Playwright image)
Some checks failed
CI / Summarisation accuracy eval harness (stub provider) (pull_request) Successful in 1m46s
CI / Backend lint (ruff) (pull_request) Successful in 54s
CI / Bot tests and audit (pull_request) Successful in 3m40s
CI / Feedback site tests (pull_request) Successful in 2m5s
CI / Bot/backend version sync (pull_request) Successful in 1m7s
CI / Docker image build (pull_request) Successful in 37s
CI / Does this change touch the recording path? (pull_request) Successful in 35s
CI / Synthetic session harness (no GPU, no LLM) (pull_request) Has been skipped
CI / Frontend tests, audit, and build (pull_request) Failing after 30m21s
CI / End-to-end journeys (desktop, phone, keyboard-only) (pull_request) Successful in 39m38s
CI / Backend migration, tests, and audit (pull_request) Successful in 48m57s
a9546578e2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ci: re-run (the frontend job's runner died mid-test)
All checks were successful
CI / Summarisation accuracy eval harness (stub provider) (pull_request) Successful in 1m0s
CI / Backend lint (ruff) (pull_request) Successful in 29s
CI / Docker image build (pull_request) Successful in 37s
CI / Bot tests and audit (pull_request) Successful in 1m53s
CI / Does this change touch the recording path? (pull_request) Successful in 22s
CI / Synthetic session harness (no GPU, no LLM) (pull_request) Has been skipped
CI / Bot/backend version sync (pull_request) Successful in 1m10s
CI / Feedback site tests (pull_request) Successful in 2m7s
CI / Backend migration, tests, and audit (pull_request) Successful in 16m44s
CI / Frontend tests, audit, and build (pull_request) Successful in 17m31s
CI / End-to-end journeys (desktop, phone, keyboard-only) (pull_request) Successful in 30m33s
79ebe1d18c
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No description provided.