stack/packages
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
..
dashboard-ui-components chore: update package versions 2026-04-09 13:36:23 -07:00
init-stack chore: update package versions 2026-04-09 13:36:23 -07:00
js chore: update package versions 2026-04-09 13:36:23 -07:00
react chore: update package versions 2026-04-09 13:36:23 -07:00
stack chore: update package versions 2026-04-09 13:36:23 -07:00
stack-cli chore: update package versions 2026-04-09 13:36:23 -07:00
stack-sc chore: update package versions 2026-04-09 13:36:23 -07:00
stack-shared Backend fallback (cloud run) (#1306) 2026-04-11 00:57:37 +00:00
stack-ui chore: update package versions 2026-04-09 13:36:23 -07:00
template Backend fallback (cloud run) (#1306) 2026-04-11 00:57:37 +00:00