Commit graph

6 commits

Author SHA1 Message Date
16aaeddcee fix(ci): set OIDC_COOKIE_SECRET to satisfy production-mode bundle
Some checks failed
Test / vitest (push) Successful in 11m7s
Test / playwright (push) Failing after 10m4s
Test / visual (push) Failing after 10m25s
Test / Notify on failure (push) Successful in 3s
server/utils/oidc-provider.ts throws at module-load when
OIDC_COOKIE_SECRET is unset and NODE_ENV is 'production'. Vite
substitutes process.env.NODE_ENV as a literal at build time, so
'production' is baked into the .output bundle regardless of the
runtime NODE_ENV=development env. Setting OIDC_COOKIE_SECRET
clears the throw; the value isn't used for real OIDC traffic
in CI since no test exercises the OIDC interaction routes.
2026-05-01 06:40:43 +01:00
d1b5107478 chore(ci): capture server stderr + dump on failure
Some checks failed
Test / vitest (push) Successful in 11m7s
Test / playwright (push) Failing after 10m1s
Test / visual (push) Failing after 9m51s
Test / Notify on failure (push) Successful in 2s
Backgrounding 'node .output/server/index.mjs &' swallowed startup
crashes — failures presented as a useless 30s 'Wait for server'
timeout. Pipe stderr to a log file and cat it on failure so the
next crash is one click away.
2026-05-01 00:23:14 +01:00
9ddb45c4d8 fix(ci): add stub RESEND_API_KEY + HELCIM_API_TOKEN to satisfy validate-env
Some checks are pending
Test / vitest (push) Waiting to run
Test / playwright (push) Blocked by required conditions
Test / Notify on failure (push) Blocked by required conditions
Test / visual (push) Blocked by required conditions
server/plugins/validate-env.js process.exit(1)s on boot when these
are missing — the playwright job's 'Start server' step backgrounds
the process and returns instantly, so the crash was silent until
'Wait for server' timed out at 30s.

Stub values are safe: ALLOW_DEV_TEST_ENDPOINTS=true short-circuits
the Resend call in invite.post.js, and Helcim API calls are mocked
at the page.route level in join-flow.spec.js.
2026-05-01 00:21:17 +01:00
f62fd4f586 fix(ci): set ALLOW_DEV_TEST_ENDPOINTS=true for e2e + visual jobs
Some checks failed
Test / vitest (push) Successful in 11m6s
Test / playwright (push) Failing after 9m40s
Test / visual (push) Failing after 11m41s
Test / Notify on failure (push) Successful in 3s
Without this flag, server/middleware/03.rate-limit.js applies the
100-req/60s general limit to /api/dev/test-login and trips during
parallel e2e runs. The invite.post.js dev short-circuit also
depends on this env var to skip the Resend call (no RESEND_API_KEY
in CI).
2026-04-30 23:59:15 +01:00
fb25e72215 Huge bunch of UI/UX improvements and tweaks!
Some checks failed
Test / vitest (push) Successful in 10m36s
Test / playwright (push) Failing after 9m23s
Test / visual (push) Failing after 9m13s
Test / Notify on failure (push) Successful in 2s
2026-04-06 16:17:12 +01:00
4daec9b624 fix: move CI workflow from GitHub Actions to Forgejo Actions 2026-04-04 17:03:54 +01:00
Renamed from .github/workflows/test.yml (Browse further)