mirror of
https://github.com/stack-auth/stack.git
synced 2026-07-20 21:29:36 +08:00
Fix flaky payment e2e tests: await async Stripe webhook processing + deterministic fixtures (#1746)
all-good: Did all the other checks pass? / all-good (push) Has been cancelled
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
DB migration compat / Check if migrations changed (push) Has been cancelled
Docker Server Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Server Build and Run / docker (push) Has been cancelled
Runs E2E API Tests / E2E Tests (Node ${{ matrix.node-version }}, Freestyle ${{ matrix.freestyle-mode }}) (mock, 22.x) (push) Has been cancelled
Runs E2E API Tests / E2E Tests (Node ${{ matrix.node-version }}, Freestyle ${{ matrix.freestyle-mode }}) (prod, 22.x) (push) Has been cancelled
Runs E2E API Tests with custom port prefix / build (22.x) (push) Has been cancelled
Runs E2E Fallback Tests / E2E Fallback Tests (Node ${{ matrix.node-version }}) (22.x) (push) Has been cancelled
Lint & build / lint_and_build (24) (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
DB migration compat / Back-compat — Current branch migrations with ${{ needs.check-migrations-changed.outputs.base_branch }} branch code (push) Has been cancelled
DB migration compat / Forward-compat — Current branch code with ${{ needs.check-migrations-changed.outputs.base_branch }} branch migrations (push) Has been cancelled
DB migration compat / No migration changes (skipped) (push) Has been cancelled
all-good: Did all the other checks pass? / all-good (push) Has been cancelled
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
DB migration compat / Check if migrations changed (push) Has been cancelled
Docker Server Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Server Build and Run / docker (push) Has been cancelled
Runs E2E API Tests / E2E Tests (Node ${{ matrix.node-version }}, Freestyle ${{ matrix.freestyle-mode }}) (mock, 22.x) (push) Has been cancelled
Runs E2E API Tests / E2E Tests (Node ${{ matrix.node-version }}, Freestyle ${{ matrix.freestyle-mode }}) (prod, 22.x) (push) Has been cancelled
Runs E2E API Tests with custom port prefix / build (22.x) (push) Has been cancelled
Runs E2E Fallback Tests / E2E Fallback Tests (Node ${{ matrix.node-version }}) (22.x) (push) Has been cancelled
Lint & build / lint_and_build (24) (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
DB migration compat / Back-compat — Current branch migrations with ${{ needs.check-migrations-changed.outputs.base_branch }} branch code (push) Has been cancelled
DB migration compat / Forward-compat — Current branch code with ${{ needs.check-migrations-changed.outputs.base_branch }} branch migrations (push) Has been cancelled
DB migration compat / No migration changes (skipped) (push) Has been cancelled
This commit is contained in:
@@ -132,10 +132,13 @@ jobs:
|
||||
- name: Backfill Bulldozer from Postgres
|
||||
run: pnpm run db:backfill-bulldozer-from-prisma
|
||||
|
||||
# The built server (node dist/server.mjs) does not auto-load .env files the way
|
||||
# `next start` used to, so it must be wrapped in with-env:test to pick up
|
||||
# .env.test.local (mirrors the e2e-fallback-tests workflow).
|
||||
- name: Start stack-backend in background
|
||||
uses: JarvusInnovations/background-action@2428e7b970a846423095c79d43f759abf979a635 # v1.0.7
|
||||
with:
|
||||
run: pnpm run start:backend --log-order=stream &
|
||||
run: pnpm -C apps/backend run with-env:test pnpm run start &
|
||||
wait-on: |
|
||||
http://localhost:8102
|
||||
tail: true
|
||||
|
||||
@@ -126,10 +126,15 @@ jobs:
|
||||
- name: Backfill Bulldozer from Postgres
|
||||
run: pnpm run db:backfill-bulldozer-from-prisma
|
||||
|
||||
# The built server (node dist/server.mjs) does not auto-load .env files the way
|
||||
# `next start` used to, so it must be wrapped in with-env:test to pick up
|
||||
# .env.test.local (mirrors the e2e-fallback-tests workflow). The job-level
|
||||
# NEXT_PUBLIC_HEXCLAVE_PORT_PREFIX=67 stays in effect because dotenv does not
|
||||
# override already-set process env vars.
|
||||
- name: Start stack-backend in background
|
||||
uses: JarvusInnovations/background-action@2428e7b970a846423095c79d43f759abf979a635 # v1.0.7
|
||||
with:
|
||||
run: pnpm run start:backend --log-order=stream &
|
||||
run: pnpm -C apps/backend run with-env:test pnpm run start &
|
||||
wait-on: |
|
||||
http://localhost:6702
|
||||
tail: true
|
||||
|
||||
Reference in New Issue
Block a user