Skip to content

Harden Go daemon lifecycle and logging - #33

Merged
rbtr merged 1 commit into
mainfrom
copilot/go-hardening
Jun 24, 2026
Merged

rbtr merged 1 commit into
mainfrom
copilot/go-hardening

Conversation

@rbtr

@rbtr rbtr commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • add root-context shutdown and graceful HTTP server shutdown
  • propagate context through reconcile, checkpoint, forge API, and git staging operations
  • replace freeform daemon logs with stdlib slog JSON and stable component/repo fields
  • raise the minimum Go/toolchain baseline to 1.25
  • add CI race testing and pinned govulncheck coverage

Validation

  • make lint test build
  • go test -race ./...
  • go run golang.org/x/vuln/cmd/govulncheck@v1.4.0 ./...
  • helm lint charts/shunt
  • independent code review/rubber-duck pass

Stacked on PR #23.

Base automatically changed from copilot/engine-state-snapshots to main June 24, 2026 19:47
Add root-context shutdown, propagate cancellation through reconcile, forge, git, and checkpoint operations, move daemon logs to slog JSON, raise the Go baseline to 1.25, and add race/govulncheck CI coverage.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@rbtr
rbtr force-pushed the copilot/go-hardening branch from 3e7dd14 to 834a289 Compare June 24, 2026 19:48
@rbtr
rbtr merged commit 619a2e1 into main Jun 24, 2026
7 checks passed
@rbtr
rbtr deleted the copilot/go-hardening branch June 24, 2026 20:03
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