R2: stress harness + contour resource observability + early run #33
Reference in New Issue
Block a user
Delete Branch "feature/r2-loadtest-observability"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
R2 — Stress harness + contour observability
Builds the reusable load-test harness, adds resource observability to the contour, and (next commit on this branch) runs the early pass + writes the trip report.
New
scrabble/loadtestmodulebackend): 1000 guest + 10000 durable accounts with pre-created sessions; token hash matchesbackend/internal/session(hex(sha256)), so seeded sessions resolve. Marker-tagged for cleanup.game.state, replaysgame.historyand submits a mid-ranked legal move generated locally by the embeddedscrabble-solver(the edge carries no board); a fraction do nudge/chat/check-word/draft/profile-update/stats; each holds aSubscribestream. Moderate ramp 50 → 200 → 500.board.Parse, rack build, mid-rank, report); DAWG-backed move test underBACKEND_DICT_DIR.loadtest/Dockerfile(distroless, DAWGs baked) +loadtest/README.md.Contour observability (
deploy/)cadvisor+postgres_exporterservices (version-pinned), two Prometheus scrape jobs, and a new Scrabble — Resources Grafana dashboard.CI / docs
./loadtest/...added to the path filter + vet/build/test.docs/TESTING.md,docs/ARCHITECTURE.md, projectCLAUDE.mdrepo layout.Locked decisions (owner interview)
Game assembly = invitations · scale = moderate (50/200/500, ~12 min/step) · pass bar = diagnostic · run model = one-shot container on
scrabble-internal, in this PR.Still to land on this branch
The early-pass run against the freshly-deployed contour +
loadtest/REPORT-R2.md+ the R2 done-marker inPRERELEASE.md.