Skip to content

Claude/integrate k6 ci 011 c uwu jq sfp3 y nki tj wi d sm#1

Draft
obtuse-triangle wants to merge 2 commits intomainfrom
claude/integrate-k6-ci-011CUwuJqSFP3YNkiTJWiDSm
Draft

Claude/integrate k6 ci 011 c uwu jq sfp3 y nki tj wi d sm#1
obtuse-triangle wants to merge 2 commits intomainfrom
claude/integrate-k6-ci-011CUwuJqSFP3YNkiTJWiDSm

Conversation

@obtuse-triangle
Copy link
Owner

No description provided.

- Add k6-test.js for testing slow endpoint (expected to fail)
- Add k6-test-fast.js for testing fast endpoint (expected to pass)
- Update GitHub Actions workflow with three jobs:
  1. test: Run pytest unit tests
  2. load-test-slow: Run k6 on /v1/slow endpoint (continue-on-error)
  3. load-test-fast: Run k6 on /v2/fast endpoint (must pass)
- Both k6 scripts use BASE_URL environment variable for flexibility
- Add threshold: 95th percentile response time < 500ms
- Add failure rate threshold: < 1%
- Add detailed CI pipeline structure section
- Document three GitHub Actions jobs:
  1. test: Unit tests with pytest
  2. load-test-slow: k6 test on slow endpoint (continue-on-error)
  3. load-test-fast: k6 test on fast endpoint
- Add k6 performance thresholds documentation
- Update project structure to include k6 scripts
- Sync k6 script examples with actual files (BASE_URL, thresholds)
- Add local CI reproduction guide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants