Skip to content

fix(health,server): remove indexedResult wrapper; stop signal notify …#20

Merged
KARTIKrocks merged 1 commit into
mainfrom
fix/health-server-cleanup
Apr 2, 2026
Merged

fix(health,server): remove indexedResult wrapper; stop signal notify …#20
KARTIKrocks merged 1 commit into
mainfrom
fix/health-server-cleanup

Conversation

@KARTIKrocks
Copy link
Copy Markdown
Owner

…on exit

Summary

Motivation

Fixes #

  • health — Removed unnecessary indexedResult wrapper struct in Check; goroutines now write CheckResult directly into the pre-indexed []CheckResult slice
  • server — Added defer signal.Stop(sigCh) in Start() to deregister the signal channel on return, preventing a channel/goroutine leak

Checklist

  • fmt, vet, lint, test, build passes (make all)
  • New code has tests where appropriate
  • Breaking changes are documented

@KARTIKrocks KARTIKrocks self-assigned this Apr 2, 2026
@KARTIKrocks KARTIKrocks merged commit 85fcda4 into main Apr 2, 2026
9 checks passed
@KARTIKrocks KARTIKrocks deleted the fix/health-server-cleanup branch April 2, 2026 00:36
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