mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-13 15:13:07 +00:00
Production feed generation failed with a generic message because NEXT_PUBLIC_SITE_URL was missing on Vercel production: buildFeedUrl calls getCampaignInviteBaseURL(), which throws in NODE_ENV=production without the env (intentional fail-closed), so the action catch returned 'Não foi possível criar o feed de calendário.' and nothing was created. The local real-flow verification (login -> agenda without filters -> header icon -> name -> generate -> link /campanha/agenda/ical/<secret> -> iCal 200 with the activity) proved C92/C93 work; the divergence was the environment. Configured NEXT_PUBLIC_SITE_URL=https://pt.jorgesolla.com.br in Production (+ checked Preview) and redeployed. New e2e campaignAgendaFeed pins the real flow: desktop (header -> dialog -> generate -> link responds iCal with the fixture activity) and mobile (FAB -> sheet -> generate). The e2e fixture now owns calendarFeed rows (createdBy NOT NULL made the campaignUser cleanup transaction abort). AGENTS.md deploy checklist notes NEXT_PUBLIC_SITE_URL as mandatory in Production. Closes #483 |
||
|---|---|---|
| .. | ||
| e2e | ||
| fixtures | ||
| helpers | ||
| int | ||
| unit | ||