mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Don't run Freestyle prod tests in parallel
This commit is contained in:
parent
373fb48e7f
commit
2b98fd2617
6
.github/workflows/e2e-api-tests.yaml
vendored
6
.github/workflows/e2e-api-tests.yaml
vendored
@ -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
|
||||
|
||||
45
README.md
45
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<br/>/apps/dashboard]
|
||||
Backend[Stack Auth API Backend<br/>/apps/backend]
|
||||
Database[(PostgreSQL Database)]
|
||||
EmailService[Email Service<br/>Inbucket]
|
||||
WebhookService[Webhook Service<br/>Svix]
|
||||
StackSDK[Client SDK<br/>/packages/stack]
|
||||
subgraph Shared
|
||||
StackUI[Stack Auth UI<br/>/packages/stack-ui]
|
||||
StackShared[Stack Auth Shared<br/>/packages/stack-shared]
|
||||
StackEmails[Stack Auth Emails<br/>/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
|
||||
|
||||
<a href="https://github.com/stack-auth/stack-auth/graphs/contributors">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user