Skip to content

Chat App

Why is the checkout test flaky on Mondays only?

2:14 pm

WF
✦

Likely a weekend cron that recycles staging Stripe keys. The first Monday run sees stale keys until the seed job catches up. Run pnpm seed:stripe before the test suite, or move the cron to Sundays.

2:14 pm

How do I move the cron to Sundays without breaking the pipeline?

2:15 pm

WF
✦

Edit .github/workflows/seed.yml and change the cron expression from 0 2 * * 1 (Monday 2am) to 0 2 * * 0 (Sunday 2am). Then trigger a manual run once to confirm the keys are fresh before your Monday CI starts.

2:15 pm