~ knotless Search/
↑↓ move↵ open⇧↵ all results

socialweb.computer/socialweb-computer-kcp

socialweb.computer: a compute market on atproto (kcp)

1 collaborator
0
0

policytest: harness run timeout 3 min

Merged johnandersen777.bsky.social asked to merge into main from socialweb.computer/socialweb-computer-kcp:fix-policytest-timeout
docs/plans/0040-release-pipeline.md+7−0
@@ -291,4 +291,11 @@ Each: what was seen (with the log), the cause, the fix, its proof.
Released without `finishRelease`, so `Release.OK` stays false (the contract's ReleaseAcknowledged condition already
counts the termination). Fix: that branch sets `Release.OK` when a release was sent. Proof: pending (the next released
contract's summary).
- main 342d1bea `release` failed its checks (2026-11-17, `knotless checks ... --workflow release --log`):
`TestRequesterDecisionSites/.../mutual-operator-vouches`: "the policy run ... did not finish" (81.87 s). Cause: CPU
contention: `deploy/check.sh` runs the policy spec tests in the background beside go vet and the cross-OS builds,
three packages each with parallel subtests, each run its own deno sandbox; one full-mode run passed the harness
client's 60 s (`policytest.DefaultTimeout`); 342d1bea changed no Go (1 of the last 12 releases). Fix: the harness
default 3 min (the hang tests set their own 2 s; the package's 15 min bounds a real hang). Proof: pending (the next
releases' checks).
- `scripts/ci-hand-market.sh` uses sudo on the bidder hosts (sudo on the hats is allowed by the owner).
internal/policyengine/policytest/harness.go+1−1
@@ -28,7 +28,7 @@ import (
const (
PolicyGhaLiteNSID = executor.PolicyGhaLiteNSID
EngineName = "policy-engine"
DefaultTimeout = 60 * time.Second
DefaultTimeout = 3 * time.Minute
)
type Harness struct {
tests/targets/prod.json+12−0
@@ -40,6 +40,18 @@
}
}
},
{
"name": "hat-10",
"did": "did:plc:7fj5jk5jxadrqtc5txp7xitp",
"operator": "did:plc:ocnuqjlzgohypj3zoznermms",
"kcp": {
"kubeconfig": "~/.config/swc-system-tests/kcp/hat-10.kubeconfig",
"via": {
"kind": "ssh",
"host": "hat-10"
}
}
},
{
"name": "hat-8",
"did": "did:plc:2l2wdry77c7jtucbslstagkj",