stack/.github
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
..
assets Improved passkey UX (#325) 2024-10-29 17:21:07 -07:00
recurseml-rules Clarifying Recurse ML Naming Rules (#872) 2025-09-02 09:31:14 -07:00
workflows Backend fallback (cloud run) (#1306) 2026-04-11 00:57:37 +00:00
.recurseml.yaml Add Recurse ML rules for naming and code patterns (#780) 2025-07-18 09:58:23 -07:00
auto_assign.yml Run auto-assign on draft PRs 2025-04-10 10:18:47 -07:00
pull_request_template.md Update GitHub repository links in documentation 2025-02-20 10:14:55 -08:00
SECURITY.md Update branding from Stack to Stack Auth in documentation (#504) 2025-03-04 04:07:54 +01:00