From 928cadbb311316604e010953c7096cdef6c3c7ee Mon Sep 17 00:00:00 2001 From: Teodor Calin Date: Fri, 29 May 2026 17:51:16 -0700 Subject: [PATCH] fix(ci): drop extracted pkg/registry + pkg/secure from arch-gates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #155 extracted pkg/registry to pilot-protocol/rendezvous and pkg/secure to pilot-protocol/common, but the architecture-gates workflow still ran 'go test ./pkg/registry/... ./pkg/secure', which now fails with 'no such file or directory' on every PR. Replace with ./pkg/daemon/... — the daemon-side lock graph (Store.mu, ReplayMu, SalvageMu, tm.mu) is what this gate is actually meant to cover. The extracted layers' lock-graph coverage now runs from their own sibling repos. Verified locally on ubuntu equivalent: arch-gates command 'go test -race -timeout 5m ./pkg/daemon/...' completes without the missing-directory errors. Unblocks PRs #177, #178, #179, #180. --- .github/workflows/architecture.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/architecture.yml b/.github/workflows/architecture.yml index 14ec2d0d..097ab48f 100644 --- a/.github/workflows/architecture.yml +++ b/.github/workflows/architecture.yml @@ -27,7 +27,11 @@ jobs: # and the no_ build tags they exercised left with them. - name: Lock-graph race detection (sec 4.8) - run: go test -race -timeout 5m ./pkg/daemon ./pkg/registry/... ./pkg/secure + # pkg/registry/ and pkg/secure/ extracted to pilot-protocol/{rendezvous,common} + # in PR #155; lock-graph coverage for those layers now runs from + # their own repos. pkg/daemon stays — that's where the daemon-side + # lock graph (Store.mu, ReplayMu, SalvageMu, tm.mu, …) actually lives. + run: go test -race -timeout 5m ./pkg/daemon/... - name: Lock-graph stress harness (sec 4.8) — TestConcurrentDialEncryptDecrypt # 1000 goroutines × 30 s × 3 reps = ~90 s wall time. Race-clean,