Remove wall-clock flakes from peer evidence tests #173

Merged
Collaborator

Keep I02 correctness, concurrency, reporting and RSS assertions while removing its health latency threshold. Document the isolated host measurement command. Rename the pathological-body test and use a shared five-second bound for completion, cancellation and synchronization waits.

Validation: filtered tests pass; peer suites retain the same 132 passing cases apart from the rename. Slowest pathological shape: 0.28 s, providing approximately 18x margin. make check passes: lint, typing, 1311 tests, 8 skipped, 18 deselected, and dependency audit.

Host command: uv run python3 -m pytest -s tests/test_peer_evidence.py::test_i02_writer_evidence_and_health_load
Health p99: 24.93 ms versus the declared 500 ms budget.
I02 {"admitted_jobs_max": 2, "evidence": {"p50_ms": 33.54, "p95_ms": 37.27, "p99_ms": 66.2}, "evidence_per_second": 58.65, "health": {"p50_ms": 5.82, "p95_ms": 16.47, "p99_ms": 24.93}, "health_samples": 149, "non_200": 0, "peak_rss_mib": 145.05, "rss_increase_mib": 9.47, "writer_messages_per_second": 873.12}

Closes #165
Co-Authored-By: gpt-6.1-sol noreply@openai.com

Keep I02 correctness, concurrency, reporting and RSS assertions while removing its health latency threshold. Document the isolated host measurement command. Rename the pathological-body test and use a shared five-second bound for completion, cancellation and synchronization waits. Validation: filtered tests pass; peer suites retain the same 132 passing cases apart from the rename. Slowest pathological shape: 0.28 s, providing approximately 18x margin. make check passes: lint, typing, 1311 tests, 8 skipped, 18 deselected, and dependency audit. Host command: uv run python3 -m pytest -s tests/test_peer_evidence.py::test_i02_writer_evidence_and_health_load Health p99: 24.93 ms versus the declared 500 ms budget. I02 {"admitted_jobs_max": 2, "evidence": {"p50_ms": 33.54, "p95_ms": 37.27, "p99_ms": 66.2}, "evidence_per_second": 58.65, "health": {"p50_ms": 5.82, "p95_ms": 16.47, "p99_ms": 24.93}, "health_samples": 149, "non_200": 0, "peak_rss_mib": 145.05, "rss_increase_mib": 9.47, "writer_messages_per_second": 873.12} Closes #165 Co-Authored-By: gpt-6.1-sol <noreply@openai.com>
Remove wall-clock flakes from peer evidence tests
All checks were successful
ci/woodpecker/pr/validation Pipeline was successful
790c89673b
Keep I02 correctness, concurrency, reporting and RSS assertions while removing its health latency threshold. Document the isolated host measurement command. Rename the pathological-body test and use a shared five-second bound for completion, cancellation and synchronization waits.

Validation: filtered tests pass; peer suites retain the same 132 passing cases apart from the rename. Slowest pathological shape: 0.28 s, providing approximately 18x margin. make check passes: lint, typing, 1311 tests, 8 skipped, 18 deselected, and dependency audit.

Host command: uv run python3 -m pytest -s tests/test_peer_evidence.py::test_i02_writer_evidence_and_health_load
Health p99: 24.93 ms versus the declared 500 ms budget.
I02 {"admitted_jobs_max": 2, "evidence": {"p50_ms": 33.54, "p95_ms": 37.27, "p99_ms": 66.2}, "evidence_per_second": 58.65, "health": {"p50_ms": 5.82, "p95_ms": 16.47, "p99_ms": 24.93}, "health_samples": 149, "non_200": 0, "peak_rss_mib": 145.05, "rss_increase_mib": 9.47, "writer_messages_per_second": 873.12}

Closes #165
Co-Authored-By: gpt-6.1-sol <noreply@openai.com>
svc-svd-writer deleted branch feat/svd-dev-mail-mind-mcp-165-remove-wall-clock-flakes-from-43ed258b 2026-11-03 22:16:03 +00:00
Sign in to join this conversation.
No description provided.