Skip to content

fix(job): Sanitize dotted hostnames in NATS subject routing#144

Merged
retr0h merged 1 commit intomainfrom
fix/dotted-hostname-routing
Feb 18, 2026
Merged

fix(job): Sanitize dotted hostnames in NATS subject routing#144
retr0h merged 1 commit intomainfrom
fix/dotted-hostname-routing

Conversation

@retr0h
Copy link
Collaborator

@retr0h retr0h commented Feb 18, 2026

Hostnames containing dots (e.g., Johns-MacBook-Pro-2.local) broke NATS subject routing because dots are subject delimiters. Apply SanitizeHostname consistently across all publish and subscribe paths so both sides produce matching subjects.

🤖 Generated with Claude Code

Hostnames containing dots (e.g., Johns-MacBook-Pro-2.local) broke NATS
subject routing because dots are subject delimiters. Apply
SanitizeHostname consistently across all publish and subscribe paths
so both sides produce matching subjects.

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions
Copy link
Contributor

Thank you for contributing to this project! 😊🕹️

@codecov
Copy link

codecov bot commented Feb 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #144   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           99        99           
  Lines         2540      2541    +1     
=========================================
+ Hits          2540      2541    +1     
Files with missing lines Coverage Δ
internal/job/client/jobs.go 100.00% <100.00%> (ø)
internal/job/subjects.go 100.00% <100.00%> (ø)
internal/job/worker/consumer.go 100.00% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cae506c...3ead9c5. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@retr0h retr0h merged commit fd53322 into main Feb 18, 2026
7 checks passed
@retr0h retr0h deleted the fix/dotted-hostname-routing branch February 18, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments