fix: Fail-closed pinned resolver, close session on HA stop, drop dead workflow step

- _PinnedResolver raises on unpinned hosts instead of falling back to
  live DNS: nothing legitimate resolves other hosts on a pinned session
  (redirects are off), so fail closed
- dedicated session is also closed on EVENT_HOMEASSISTANT_CLOSE: core
  stop does not unload entries, and the raw ClientSession has no HA
  auto-cleanup, which left 'Unclosed client session' logs at shutdown
- hassfest.yaml: remove the version-print step, hassfest runs inside
  the action's docker image and is never on the runner PATH
This commit is contained in:
SMKRV
2026-07-07 01:49:03 +03:00
parent fc59f584a3
commit 65dbb5dfc0
3 changed files with 20 additions and 11 deletions
-5
View File
@@ -35,11 +35,6 @@ jobs:
- name: Run hassfest validation
uses: home-assistant/actions/hassfest@master
- name: Print hassfest version
if: always()
run: |
echo "Hassfest version: $(hassfest --version)"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true