stack/examples/demo
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
..
public Reworked Stack Auth demo (#624) 2025-04-15 02:03:07 +00:00
src Backend fallback (cloud run) (#1306) 2026-04-11 00:57:37 +00:00
.env updated self host vars, reduced the number of required env vars 2024-12-08 16:29:08 -08:00
.env.development New { type: "hosted" } for page URLs (#1261) 2026-03-27 14:48:01 -07:00
.eslintrc.js tsup for stack-shared (#647) 2025-04-28 21:26:52 -07:00
.gitignore Move examples to their own folder (#77) 2024-06-16 14:58:10 +02:00
LICENSE Move examples to their own folder (#77) 2024-06-16 14:58:10 +02:00
next.config.js Upgrade Prisma to v7 (#1064) 2025-12-26 08:13:34 -08:00
package.json chore: update package versions 2026-04-09 13:36:23 -07:00
postcss.config.js Move examples to their own folder (#77) 2024-06-16 14:58:10 +02:00
tailwind.config.js Support create-next-app@15 with the setup wizard (#340) 2024-11-13 13:58:42 +01:00
tsconfig.json New client (#135) 2024-07-19 22:07:44 -07:00