Repository navigation
[#137] Make CI green on main - #276
Merged
Merged
Conversation
…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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Sendreturned onlyio.EOF. The agent lost theUnauthenticatedstatus 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.nx-set-shasneedsactions: readon pushes to main.go test -racecompiled on a cold cache. The harness now builds the test binary first, and the test allows 5 minutes.golang.org/x/net0.62.0 (CVE-2026-78661, HIGH).go.work.sumis ignored: it left a contributor's tree dirty aftergo test.How it was tested
go test -raceon 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.