Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,28 @@ jobs:

- name: Audit all dependencies
run: npm audit --audit-level=moderate

stress:
name: Stress and resilience scenarios
runs-on: ubuntu-latest
timeout-minutes: 15

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: npm

- name: Install dependencies
run: npm ci

# Boots a throwaway server on a random port with a temp DATA_DIR, drives
# rate-limit / flood / slow-socket / sustained-load scenarios against it,
# and fails the job if any threshold is missed. See
# server/src/stress/README.md for what each scenario asserts.
- name: Run stress scenarios
run: npm run stress --workspace=server
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lucide-react": "^0.378.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.30.4",
"react-router-dom": "^7.18.2",
"recharts": "^2.12.7"
},
"devDependencies": {
Expand Down
Loading
Loading