Record the port-flake verification evidence for the svc static deploy test

Why: the task card needs the host-captured run that shows the fixed test passes
both on a clean host and while the legacy hard-coded port is held by a foreign
process, so the review and merge gate can re-check the claim instead of trusting
the worker's self-report.

Evidence: receipt 314db6279eec9bfc (SELF), tested head d0b217d3, exit 0.

Impact: task card only.

Refs: fix/svc-static-deploy-test-port-flake
This commit is contained in:
2026-10-21 03:05:34 +00:00
parent d0b217d3a4
commit 0bd5a4b0c9
@@ -90,3 +90,44 @@
"receipt_path": "/home/weichen/.cache/agent-system-dev/evidence/1247ce47e3885b17ccae7257ba8e6fdd8760f56ef681f89967a0e313ce8142ff.json"
}
```
<!-- Local receipt: SELF. Digests detect corruption; they do not authenticate a reviewer or CI. -->
```json
{
"summary_schema": 1,
"source": "SELF",
"timestamp": "2026-10-21T03:04:28.871393+00:00",
"command": "sh -c 'set -e; echo \"[1] target test on a clean host:\"; PYTHONDONTWRITEBYTECODE=1 python3 -m unittest tests.test_svc.SvcDbRecoveryTests.test_static_fresh_deploy_registers_pidcheck_and_starts 2>&1 | tail -3; echo; echo \"[2] same test while the legacy hard-coded port is held by a foreign process:\"; bash /tmp/occupy-port.sh 18951 env PYTHONDONTWRITEBYTECODE=1 python3 -m unittest tests.test_svc.SvcDbRecoveryTests.test_static_fresh_deploy_registers_pidcheck_and_starts 2>&1 | tail -4; echo; echo \"[3] whole module tests.test_svc:\"; PYTHONDONTWRITEBYTECODE=1 python3 -m unittest tests.test_svc 2>&1 | tail -3; echo; echo \"[4] legacy port released again:\"; (ss -ltn | grep -q \":18951 \" && echo LEAK) || echo released'",
"exit_code": 0,
"cwd": "/home/weichen/projects/Agent-System-Dev-wt-fix-svc-static-deploy-test-port-flake",
"before_head": "d0b217d3a486d32db91d69539c39d07ed9dbdae0",
"after_head": "d0b217d3a486d32db91d69539c39d07ed9dbdae0",
"branch": "fix/svc-static-deploy-test-port-flake",
"target_branch": "main",
"target_head": "a496ea0f0249b2b412354677ef97612ccd692d25",
"root_target": "main",
"immediate_target": "main",
"before_tracked_diff_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"after_tracked_diff_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"output_tail": [
"OK",
"",
"[2] same test while the legacy hard-coded port is held by a foreign process:",
"----------------------------------------------------------------------",
"Ran 1 test in 0.599s",
"",
"OK",
"",
"[3] whole module tests.test_svc:",
"Ran 23 tests in 29.185s",
"",
"OK",
"",
"[4] legacy port released again:",
"released"
],
"output_sha256": "d8f352a6d39b09c2fca2e868a40723780fa8c7cf3ea4ab79600d894d2069db9f",
"receipt_sha256": "314db6279eec9bfc2666b2533347df850ada748e6e99c481bc1633f3faf34c4d",
"receipt_path": "/home/weichen/.cache/agent-system-dev/evidence/314db6279eec9bfc2666b2533347df850ada748e6e99c481bc1633f3faf34c4d.json"
}
```