Skip to content

fix: replace broken NATS health check with port wait step#8

Merged
peter-svensson merged 2 commits intomainfrom
fix/nats-healthcheck
Mar 8, 2026
Merged

fix: replace broken NATS health check with port wait step#8
peter-svensson merged 2 commits intomainfrom
fix/nats-healthcheck

Conversation

@peter-svensson
Copy link
Copy Markdown
Member

Summary

  • The NATS Docker image is scratch-based (no shell, no true binary), so the --health-cmd "true" always fails
  • Replace with a host-side nc -z port check step that waits for NATS to be ready

Test plan

  • CI passes with the new wait step

The NATS Docker image is scratch-based with no shell or `true` binary,
so the health-cmd always fails. Replace with a host-side nc port check.
@peter-svensson peter-svensson enabled auto-merge (squash) March 8, 2026 10:18
- Add @types/node to devDependencies (fixes node:crypto TS2307)
- Vendor topology.json into testdata/ (removes monorepo path dependency)
- Fix topology test path from ../../../../specification/... to ../testdata/
- Skip queue-publish topology test (not yet implemented for NATS)
@peter-svensson peter-svensson disabled auto-merge March 8, 2026 10:40
@peter-svensson peter-svensson merged commit 0900390 into main Mar 8, 2026
4 checks passed
@peter-svensson peter-svensson deleted the fix/nats-healthcheck branch March 8, 2026 10:40
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