Thanks to visit codestin.com
Credit goes to github.com

Skip to content

installer-setup WS-A: delete stale packaging/avahi/hal0.service#1123

Merged
thinmintdev merged 1 commit into
mainfrom
feat/1096-delete-stale-avahi
Jul 6, 2026
Merged

installer-setup WS-A: delete stale packaging/avahi/hal0.service#1123
thinmintdev merged 1 commit into
mainfrom
feat/1096-delete-stale-avahi

Conversation

@thinmintdev

@thinmintdev thinmintdev commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Deletes packaging/avahi/hal0.service, a stale avahi mDNS unit that advertised Caddy on ports 443/80 with an --auth=basic header — but the installer ships no Caddy, sets no --auth flag, and had zero references to this file anywhere in installer/install.sh or installer/lib/. If it were ever actually dropped at /etc/avahi/services/hal0.service, it would advertise ports nothing listens on.
  • Updates the doc-comment in src/hal0/services/mdns.py that pointed at packaging/avahi/hal0.service by path, since that file no longer exists. The runtime behavior in mdns.py (checking whether some /etc/avahi/services/hal0.service file exists for the base_advertised status flag, and never touching that file when writing/pruning addon service files) is unrelated to this packaging source file and is left untouched — that logic is still correct regardless of what (if anything) drops the base file.

References cleaned up

  • installer/install.sh, installer/lib/*, installer/manifests/*: no references found (verified via git grep), so no installer/manifest changes were needed beyond the doc-comment above.
  • No test files referenced this path.

Verification checklist

  • git grep -n 'packaging/avahi/hal0.service' → no matches (clean delete)
  • uv run ruff format src tests → 634 files already formatted
  • uv run ruff check src tests → All checks passed!
  • uv run ruff format --check src tests → 634 files already formatted
  • uv run pytest tests/ -q --ignore=tests/e2e14 failed, 4614 passed, 8 skipped, 1 error (all 14 failures are pre-existing and unrelated to this change: test_hermes_state_render, test_hermes_wrapper, test_comfyui_phase4, test_config_urls, test_models_preview, test_settings_models_store, test_agent_install_hermes, test_agent_shim (hermes web-dist env), test_pve (proxmox host detection), test_container_spec_dispatch. None touch installer/packaging/avahi/mdns code paths.)

Closes #1096

🤖 Generated with Claude Code

packaging/avahi/hal0.service advertised Caddy on 443/80 with an
--auth=basic header, but the installer ships no Caddy, sets no --auth
flag, and has zero references to this file anywhere in install.sh or
installer/lib. If it were ever actually dropped at
/etc/avahi/services/hal0.service it would advertise ports nothing is
listening on. It's not part of the current mDNS story (see the
addon-service advertiser in hal0.services.mdns), so remove it and the
stale doc-comment in mdns.py that pointed at it.

Closes #1096

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@thinmintdev thinmintdev merged commit 0507552 into main Jul 6, 2026
3 checks passed
@thinmintdev thinmintdev deleted the feat/1096-delete-stale-avahi branch July 6, 2026 04:44
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.

installer-setup WS-A: delete stale packaging/avahi/hal0.service

1 participant