stack/apps/e2e/tests
Aman Ganapathy ba38f26014
Update email rendering code to use latest version of freestyle and to have a fallback with vercel sandbox (#1091)
Previously, we were using an old version of `freestyle.sh` and
experienced issues with it failing. We want to update it to the latest
API and also introduce a fallback that can be used when freestyle fails
to improve reliability. We refactor the `freestyle.tsx` wrapper code
around `freestyle` to a `js-execution-engine`, which also offers
opportunities to extend the email rendering engine abstraction in the
future. If `freestyle` encounters runtime errors while running the code
or fails, we retry once and then default to `Vercel sandbox`. Note that
we also introduce a sanity test: 5% of the time, we will run the code
through both `freestyle` and the `Vercel Sandbox` and log it if the
results don't match.

As a chore, we also up the time limit on a `failed-email-digest.test.ts`
test to make it less flakey.
2026-01-14 10:53:16 -08:00
..
backend Update email rendering code to use latest version of freestyle and to have a fallback with vercel sandbox (#1091) 2026-01-14 10:53:16 -08:00
general Speed up tests (#1063) 2025-12-28 11:25:04 -08:00
helpers Customizable ports (#962) 2025-10-20 15:24:47 -07:00
js Onboarding app & restricted users (#1069) 2026-01-11 17:22:14 -08:00
global-setup.ts Disallow trailing spaces 2024-07-14 10:35:33 -07:00
globals.d.ts Upgrade backend to Next.js 15 (#360) 2024-12-10 00:11:13 -08:00
helpers.ts Onboarding app & restricted users (#1069) 2026-01-11 17:22:14 -08:00
setup.ts Email outbox backend (#1030) 2025-12-12 10:26:38 -08:00
snapshot-serializer.ts show products in account settings (#1071) 2026-01-13 21:49:23 +00:00