stack/apps/e2e/tests/js
Mantra bb277d33c9
Backend fallback (cloud run) (#1306)
- Added support for `@opentelemetry/sdk-node` in the backend.
- Updated various dependencies including AWS SDK and OpenTelemetry
packages.
- Implemented graceful shutdown handling for non-Vercel runtimes in
`prisma-client.tsx`.
- Enhanced AWS credentials retrieval to support GCP Workload Identity
Federation.
- Introduced a Dockerfile for Cloud Run deployment, optimizing the
backend build process.
- Updated `.gitignore` to include Terraform runtime files and secrets.

This commit improves the backend's observability and deployment
flexibility, particularly for Cloud Run environments.

<!--

Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md

-->


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* OpenTelemetry observability with dynamic provider selection per
deployment.
  * Cloud Run trusted-proxy support for accurate client IP handling.
  * Graceful shutdown that waits for in-flight background work.
* New background-task handling to improve async webhook/email delivery
reliability.
* AWS credential providers added (Vercel OIDC & GCP Workload Identity
Federation).
  * Dockerized backend image for Cloud Run / self-host deployments.

* **Chores**
  * Updated dependencies for OpenTelemetry and AWS SDK support.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Konstantin Wohlwend <n2d4xc@gmail.com>
2026-04-11 00:57:37 +00:00
..
access-token-refresh.test.ts rename signed_up_at_millis JWT claim to signed_up_at 2026-03-30 17:43:06 -07:00
api-keys.test.ts fix tests (#922) 2025-10-03 11:10:35 -07:00
app.test.ts Turnstile integration for fraud protection (#1239) 2026-03-20 21:26:45 +00:00
auth-like.test.ts Fix tests 2026-02-17 20:53:03 -08:00
config.test.ts Queries view (#1145) 2026-02-16 11:39:21 -08:00
connected-accounts.test.ts More connected accounts (#1165) 2026-02-18 15:19:35 -08:00
convex.test.ts Onboarding app & restricted users (#1069) 2026-01-11 17:22:14 -08:00
cookies.test.ts fix flaky cookie sharing test (#1310) 2026-04-07 09:30:03 -07:00
cross-domain-auth.test.ts New { type: "hosted" } for page URLs (#1261) 2026-03-27 14:48:01 -07:00
data-vault.test.ts Data vaults (#871) 2025-08-30 23:42:56 -07:00
email-template-existing-project.test.ts Emails redesign (#1076) 2026-02-16 14:57:17 -08:00
email.test.ts Increase email capacity during development to 100k/h 2026-04-10 15:53:55 -07:00
inheritance.test.ts Backend fallback (cloud run) (#1306) 2026-04-11 00:57:37 +00:00
js-helpers.ts Backend fallback (cloud run) (#1306) 2026-04-11 00:57:37 +00:00
list-users.test.ts Add server-side flags for anonymous users 2026-04-03 10:43:34 -07:00
oauth-providers.test.ts OAuth provider client and dashboard (#792) 2025-09-10 10:48:19 +02:00
oauth.test.ts Turnstile integration for fraud protection (#1239) 2026-03-20 21:26:45 +00:00
payments.test.ts fix product route access (#1134) 2026-01-27 18:30:14 +00:00
restricted-users.test.ts Onboarding app & restricted users (#1069) 2026-01-11 17:22:14 -08:00
team-invitations.test.ts Fix tests 2026-02-17 19:57:08 -08:00