No e2e flow drives plan generation #124
Labels
No labels
accessibility
area:accounts
area:ai-evals
area:look
area:maps
area:platform
area:rides-progress
area:riding
area:today-plan-coach
area:ui-shell
bot:blocked
bot:failed
bot:pr
bot:waiting
bot:working
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
later
now
owner-check
parked
question
ready
session
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ckreidl/trainer#124
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Replay fixtures for
generatewould miss daily (the context carries today's date), so no e2e flow drives generation; the Plan tab was checked by hand with a real call. An e2e flow could seed a plan and check the rendering.Moved from docs/PROGRESS.md → Follow-ups → Later on 2026-11-08.
What this is about. E2E tests replay recorded AI answers so they don't cost money. A recorded generate answer goes stale every day, because the request includes today's date, so no e2e flow covers writing a new plan. The Plan tab after generation has only been checked by hand with a real call.
Status (checked 2026-11-08): unchanged; no e2e flow drives generation.
Fix: freeze the date in the generation request for replay (a fixed "today" for the e2e athlete), or seed a generated plan and test only the rendering and streaming UI. Worth it if a generation-UI regression ever slips through.
this may have been addressed in a recent PR that implemented more adaptive coaching and plan generation.
Status (checked 2026-11-18), answering the 2026-11-10 question: partly covered. Session 41 added
e2e/clearer-state.e2e.ts, which starts a generation, holds the request and checks the progress message ("The plan keeps generating and will appear here"). No flow replays a generate answer or checks the Plan tab rendering a finished plan, because the request still carries today's date. The original fix ideas still apply.