Skip to content

fix/2.3: Implement mDNS announcement via avahi-publish-service#122

Merged
detain merged 1 commit into
masterfrom
fix/2.3-mdns-announcement
May 23, 2026
Merged

fix/2.3: Implement mDNS announcement via avahi-publish-service#122
detain merged 1 commit into
masterfrom
fix/2.3-mdns-announcement

Conversation

@detain
Copy link
Copy Markdown
Owner

@detain detain commented May 23, 2026

Summary

  • Implement mDNS announcement by shelling to avahi-publish-service when available
  • Gracefully no-op (log warning, return false) when avahi is not installed
  • Changed announceServer() return type from void to bool
  • Added tests for the new behavior

Testing

  • PHP lint: ✅ No syntax errors
  • PHPStan level 9: ✅ No errors
  • PHPCS PSR-12: ✅ No errors
  • PHPUnit: ✅ All 9 tests pass

- announceServer() now checks for avahi-publish-service availability
- When available, forks a background process to advertise the service
- When not available, logs warning and returns false (graceful no-op)
- Changed return type from void to bool
- Added tests for the new behavior
@detain detain merged commit 36dbb7f into master May 23, 2026
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@detain detain deleted the fix/2.3-mdns-announcement branch May 23, 2026 11:52
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