Skip to content

[#137] Make CI green on main - #276

Merged
samuelmbabhazi merged 2 commits into
mainfrom
fix/137-ci-green
Nov 8, 2026
Merged

samuelmbabhazi merged 2 commits into
mainfrom
fix/137-ci-green

Conversation

@samuelmbabhazi

Copy link
Copy Markdown
Collaborator

What changed

  • Agent bug: when the gateway ended a stream first, gRPC's Send returned only io.EOF. The agent lost the Unauthenticated status and kept retrying instead of stopping for operator recovery. Send failures now take the status from the receive side. Regression tests cover hello and heartbeat.
  • CI permission: nx-set-shas needs actions: read on pushes to main.
  • Integration test: the 60 s lifecycle wait started while go test -race compiled on a cold cache. The harness now builds the test binary first, and the test allows 5 minutes.
  • Trivy: golang.org/x/net 0.62.0 (CVE-2026-78661, HIGH).
  • go.work.sum is ignored: it left a contributor's tree dirty after go test.

How it was tested

go test -race on all modules, golangci-lint, API lint. The two new tests fail without the runner change. This PR's CI runs the integration suite.

Security considerations

No new action or shell invocation. The harness runs a fixed argv. The refused-credentials path now stops as designed.

Part of #137.

…losed

gRPC's Send only reports io.EOF once the stream has ended, and the status comes
from Recv. A refused agent could lose the Unauthenticated code and retry forever
instead of stopping for operator recovery. Also move golang.org/x/net to 0.62.0
(CVE-2026-78661) and ignore the local go.work.sum.

Signed-off-by: samuel mbabhazi <[email protected]>
…s test

nx-set-shas needs actions: read on pushes to main. The lifecycle test timed out
while go test compiled with the race detector on a cold cache, so the harness now
builds the test binary first.

Signed-off-by: samuel mbabhazi <[email protected]>
@samuelmbabhazi
samuelmbabhazi merged commit 6df216c into main Nov 8, 2026
15 of 16 checks passed
@samuelmbabhazi
samuelmbabhazi deleted the fix/137-ci-green branch November 8, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant