stack/.github/workflows
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
..
all-good.yaml Add Claude Code GitHub Workflow (#833) 2025-08-07 18:44:49 -07:00
auto-assign.yaml Run auto-assign on draft PRs 2025-04-10 10:18:47 -07:00
auto-update.yaml Run auto-update only once per day 2025-03-12 17:10:03 -07:00
check-prisma-migrations.yaml Speed up tests (#1063) 2025-12-28 11:25:04 -08:00
claude.yml Upgrade GitHub workflow scripts 2025-11-24 11:21:43 -08:00
db-migration-backwards-compatibility.yaml Fix cron jobs using dev env instead of test env in CI workflows (#1319) 2026-04-09 21:27:18 -07:00
docker-server-build-push.yaml Email outbox backend (#1030) 2025-12-12 10:26:38 -08:00
docker-server-build-run.yaml Sign up rules (#1138) 2026-02-03 11:08:24 -08:00
e2e-api-tests-local-emulator.yaml Replace npx with pnpm exec (#1300) 2026-04-08 17:08:55 -07:00
e2e-api-tests.yaml Replace npx with pnpm exec (#1300) 2026-04-08 17:08:55 -07:00
e2e-custom-base-port-api-tests.yaml Fix cron jobs using dev env instead of test env in CI workflows (#1319) 2026-04-09 21:27:18 -07:00
e2e-fallback-tests.yaml Backend fallback (cloud run) (#1306) 2026-04-11 00:57:37 +00:00
lint-and-build.yaml pin node version to 24 to fix mintlify lint issue on lint-and-build gh action 2026-04-07 10:11:57 -07:00
mirror-to-wdb.yaml Upgrade GitHub workflow scripts 2025-11-24 11:21:43 -08:00
npm-publish.yaml stack-cli npm publish 2026-03-13 09:26:12 -07:00
qemu-emulator-build.yaml emu with a q stuff (#1266) 2026-04-04 00:33:52 +00:00
reviewers-assignees.yml Update review assigner script 2025-09-10 12:05:04 -07:00
setup-tests-with-custom-base-port.yaml [Refactor] Improve CI Run Times by Reducing Test Flakiness and Speeding up Test Suite (#1166) 2026-02-10 19:43:10 -08:00
setup-tests.yaml [Refactor] Improve CI Run Times by Reducing Test Flakiness and Speeding up Test Suite (#1166) 2026-02-10 19:43:10 -08:00
swift-sdk-publish.yaml [Fix] [Feat] Update OAuth Sign-In and Get Token Functions to Work (#1130) 2026-01-28 02:17:27 +00:00
sync-main-to-dev.yml Upgrade GitHub workflow scripts 2025-11-24 11:21:43 -08:00
table-of-contents.yaml GH Actions push trigger only on main or dev branches 2025-03-12 10:52:35 -07:00