Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

The Senior Kept the Wire Digest After the Load Test Lied

Description and use

A load test that only measures latency can give false confidence. A wire‑digest gate records status, content‑type, and SHA‑256 of the body, compares against a snapshot, and requires pairing review on changes, ensuring API contract integrity.

Problem

Automated load tests that only measure latency and ignore response body can give false confidence, allowing regressions in API contract and data integrity to slip into production.

Outcome

The new gate prevents regressions in API contract and data integrity while keeping CI fast and deterministic. It replaces fragile load tests with a concrete, verifiable snapshot of the wire.

Workflow

  • 1. Start the app in the same way CI does.
  • 2. Send a single, frozen request (method, path, headers).
  • 3. Record status code, content‑type, and SHA‑256 of the raw body.
  • 4. Compare these three fields to a committed snapshot; if any differ, require a pairing signature.
  • 5. Log elapsed time in coarse buckets (fast/ok/slow) but do not gate on it.

Evidence

The senior asked for the body. The next model turn offered to log res.headers. Headers in a console are not an oracle.

Source

The gate is deliberately boring: ... Compare those three fields to a committed snapshot.

Source

  • Record date: 2026-09-22T12:15:28.731Z