You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow major-version mismatch toggle + version-compat gate in pick_build_path #607
The 7b offloader Settings UI shipped (#574) with every toggle except Allow major-version mismatch. The compile-side enforcement gate hasn't landed either: pick_build_path doesn't consume StoredPairing.esphome_version today, so a remote receiver running a different major ESPHome version than the offloader is silently treated as eligible.
The offloader captures it into StoredPairing.esphome_version (validator-capped at PAIRING_VERSION_MAX_LEN=64).
The field is surfaced on PairingSummary so the Settings UI can show it.
What's missing
A version-compat gate in pick_build_path that filters peers whose esphome_version differs from the offloader's esphome.const.__version__ at the major level.
A user-facing "Allow major-version mismatch" toggle on the offloader Settings UI (per-pairing or master — TBD) that widens the gate.
The compile-time check that catches the mismatch before the receiver wastes CPU on an incompatible YAML.
Why deferred
Silently filtering eligible peers without an operator-visible override would be the wrong default — a user wouldn't know why their freshly-paired receiver suddenly stopped getting jobs. The gate and the toggle land together.
Acceptance
pick_build_path exposes a version-compat gate (default-on) that drops mismatched peers from the eligible set.
--no-X / explicit-on toggle on OffloaderRemoteBuildSettings + per-pairing override widens the gate.
Settings UI surfaces both (master + per-row).
Tests pin the matrix: matched-major eligible, mismatched-major filtered by default, override re-enables.
changed the title [-]7b follow-up: Allow major-version mismatch toggle + version-compat gate in pick_build_path[/-][+]Allow major-version mismatch toggle + version-compat gate in pick_build_path[/+]on May 11, 2026
Activity
[-]7b follow-up: Allow major-version mismatch toggle + version-compat gate in pick_build_path[/-][+]Allow major-version mismatch toggle + version-compat gate in pick_build_path[/+]