All checks were successful
Deploy Development / deploy (push) Successful in 41s
Test Suite / pytest-backend (push) Successful in 35s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 11s
Test Suite / playwright-tests (push) Successful in 57s
- Introduced a new section for the Performance-Baseline in CLAUDE.md and updated HANDOVER.md to include references to the new BASELINE_SNAPSHOT.md. - Enhanced architecture documentation in README.md to clarify the purpose of the baseline snapshot and its relevance to the refactor roadmap. - Refactored OrgInboxContext to implement a unified loading logic for join requests and content reports, improving code maintainability and performance. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
33 lines
788 B
JavaScript
33 lines
788 B
JavaScript
/**
|
|
* Phase-0-Baseline: parallele GET /health (kein Auth).
|
|
* BASE_URL optional, z. B. https://dev.shinkan.jinkendo.de
|
|
*/
|
|
import http from 'k6/http'
|
|
import { check } from 'k6'
|
|
|
|
export const options = {
|
|
scenarios: {
|
|
health: {
|
|
executor: 'constant-vus',
|
|
vus: 10,
|
|
duration: '30s',
|
|
gracefulStop: '5s',
|
|
tags: { scenario: 'health' },
|
|
exec: 'health',
|
|
},
|
|
},
|
|
thresholds: {
|
|
http_req_failed: ['rate<0.05'],
|
|
'http_req_duration{scenario:health}': ['p(95)<3000'],
|
|
},
|
|
}
|
|
|
|
const BASE = (__ENV.BASE_URL || 'https://dev.shinkan.jinkendo.de').replace(/\/$/, '')
|
|
|
|
export function health() {
|
|
const res = http.get(`${BASE}/health`, { tags: { scenario: 'health' } })
|
|
check(res, {
|
|
'health 2xx': (r) => r.status >= 200 && r.status < 300,
|
|
})
|
|
}
|