diff --git a/.github/workflows/e2e-api-tests.yaml b/.github/workflows/e2e-api-tests.yaml index a3e2a7ea4..579b822c1 100644 --- a/.github/workflows/e2e-api-tests.yaml +++ b/.github/workflows/e2e-api-tests.yaml @@ -145,15 +145,15 @@ jobs: run: sleep 10 - name: Run tests - run: pnpm test + run: pnpm test ${{ matrix.freestyle-mode == 'prod' && '--min-workers=1 --max-workers=1' || '' }} - name: Run tests again, to make sure they are stable (attempt 1) if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' - run: pnpm test + run: pnpm test ${{ matrix.freestyle-mode == 'prod' && '--min-workers=1 --max-workers=1' || '' }} - name: Run tests again, to make sure they are stable (attempt 2) if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' - run: pnpm test + run: pnpm test ${{ matrix.freestyle-mode == 'prod' && '--min-workers=1 --max-workers=1' || '' }} - name: Verify data integrity run: pnpm run verify-data-integrity diff --git a/README.md b/README.md index 7708dec84..cbaa5a77f 100644 --- a/README.md +++ b/README.md @@ -196,51 +196,6 @@ pnpm verify-data-integrity: Verify the integrity of the data in the database by Note: When working with AI, you should keep a terminal tab with the dev server open so the AI can run queries against it. -### Chat with the codebase - -Storia trained an [AI on our codebase](https://sage.storia.ai/stack-auth) that can answer questions about using and contributing to Stack Auth. - -### Architecture overview - -```mermaid - graph TB - Website[Your Website] - User((User)) - Admin((Admin)) - subgraph "Stack Auth System" - Dashboard[Stack Auth Dashboard
/apps/dashboard] - Backend[Stack Auth API Backend
/apps/backend] - Database[(PostgreSQL Database)] - EmailService[Email Service
Inbucket] - WebhookService[Webhook Service
Svix] - StackSDK[Client SDK
/packages/stack] - subgraph Shared - StackUI[Stack Auth UI
/packages/stack-ui] - StackShared[Stack Auth Shared
/packages/stack-shared] - StackEmails[Stack Auth Emails
/packages/stack-emails] - end - end - Admin --> Dashboard - User --> Website - Website --> StackSDK - Backend --> Database - Backend --> EmailService - Backend --> WebhookService - Dashboard --> Shared - Dashboard --> StackSDK - StackSDK --HTTP Requests--> Backend - StackSDK --> Shared - Backend --> Shared - classDef container fill:#1168bd,stroke:#0b4884,color:#ffffff - classDef database fill:#2b78e4,stroke:#1a4d91,color:#ffffff - classDef external fill:#999999,stroke:#666666,color:#ffffff - classDef deprecated stroke-dasharray: 5 5 - class Dashboard,Backend,EmailService,WebhookService,Website container - class Database database -``` - -Thanks to [CodeViz](https://www.codeviz.ai) for generating the diagram! - ## ❤ Contributors