유대선
프로젝트로
·기술 회고·4

Load testing (k6) + CI pipeline (GitHub Actions)

Added a k6 load/perf suite (smoke, ramping REST, and concurrent WebSocket capacity scripts) against the live JJAN backend, plus a GitHub Actions CI pipeline whose python/go/web jobs gate every push and PR to main — the test gate the Vercel auto-deploy flow was missing.

Two pieces landed the same afternoon: a k6 load suite for the runtime hot paths, and a GitHub Actions pipeline that turns "did it build / do the tests pass" into a merge gate instead of a hope.

What

Up to this point the functional suites (pytest, Go go test) proved correctness, but nothing exercised the stack under concurrency, and nothing ran automatically on a push — Vercel auto-deploy was CD-only, with no test gate in front of it. These two commits close both gaps.

Changes

k6 load/perf suite — 5837e07 test(load): add k6 load/perf suite (REST + WebSocket)

A new load/ directory (5 files, 318 insertions) of k6 scripts that complement the functional tests. All flows are factored into shared helpers so the three scenarios reuse the same real auth/room/AI sequences.

CI pipeline — 3362f9b ci: add GitHub Actions pipeline (test + build gate on push/PR)

A single .github/workflows/ci.yml (88 insertions) that runs on every push to main and every PR to main, with concurrency set to cancel in-progress runs on the same ref. As authored, three jobs:

The commit message frames it plainly: a red X blocks the breakage from reaching main.

Why

Notes

Commits