mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-25 04:33:03 +00:00
c4523aaf11
Cached discoveries from before the surface/fast-path/nested fixes still counted as 'fresh' by the time-based window, so the panel showed worse pre-fix data (what 'surely this isnt done?' surfaced on esphome). Add servicediscovery.DiscoveryEngineVersion (currently 1), stamped onto every freshly built discovery (LXC/VM and Docker build sites). Unlike CLIAccessVersion it is NOT auto-upgraded on read, so a missing/older value reliably means the result predates the current engine. The per-guest panel shows an amber 're-run for improved results' nudge when engine version is below current (CURRENT_DISCOVERY_ENGINE_VERSION, kept in sync). Contract-neutral re: unified-resources (DiscoveryTab is a consumer; this is a UI nudge + discovery field, no consumption-contract delta) — landed via PULSE_ALLOW_CONTRACT_NEUTRAL_COMMIT. Go package + version-stamp test pass; type-check + eslint clean.