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
Nothing stops a dependency bump from silently dropping the vendored mdns-sd fix, and the fix isn't upstream yet #319
Problem: Cmdr carries a fork of mdns-sd 0.20.3 in vendor/mdns-sd, swapped in with [patch.crates-io]. It fixes an endless multicast-join retry on VM bridge interfaces (9,322 retries and 29.4 MB of logs from one interface in a 39-hour run). Two gaps:
Nothing guards the patch.[patch] only applies while the requested version matches the vendored one. A bump past 0.20.x (Renovate would do it) makes cargo resolve crates.io again with only a "patch was not used" warning, and the retry storm quietly comes back.
The fix isn't upstream. The PR text and a patch against v0.21.4 are drafted and unsent, so the fork has no end date.
Impact: medium. A silent regression brings back a failed join every 5 s and ~0.75 MB of log lines an hour, on every Mac with a VM or container runtime, whenever a browse runs.
Solution:
A check (a Go check or a test) that fails unless mdns-sd resolves to the vendor/ path, for example by reading its source in cargo metadata or Cargo.lock.
Send the upstream PR (needs David's go-ahead, since it's public). Once a release carries the fix, drop the fork with the steps in the note's "Dropping the fork" section.
Size: small.
Clear win or tradeoff? A clear win.
Details: docs/notes/mdns-sd-multicast-join-retry-loop.md and docs/notes/mdns-sd-upstream-pr/pr-draft.md. Moved out of #92's follow-up list, since it doesn't move #92's RAM or CPU targets.
Part 1 is done in 1ecc696: a new fast-lane check, desktop-rust-vendor-patch-applied, fails if mdns-sd resolves from crates.io, lands under [[patch.unused]], or loses its dependents. Its fixture is real cargo output from a 0.21 bump. Part 2 (dropping the fork) waits for keepsimple1/mdns-sd#513 to merge and ship.
Done: upstream shipped the fix in mdns-sd 0.21.5 (keepsimple1/mdns-sd#513), so Cmdr now depends on 0.21.5 from crates.io as its floor and the vendor/mdns-sd fork is gone (local commit 086b71a5c, not pushed yet).
Activity
feat(checks): a dependency bump can no longer silently drop the vendo…
docs(perf): the hub's #319 follow-up names what's left (dropping the …
vdavid commentedon Oct 1, 2026
Part 1 is done in 1ecc696: a new fast-lane check,
desktop-rust-vendor-patch-applied, fails ifmdns-sdresolves from crates.io, lands under[[patch.unused]], or loses its dependents. Its fixture is real cargo output from a 0.21 bump. Part 2 (dropping the fork) waits for keepsimple1/mdns-sd#513 to merge and ship.vdavid commentedon Oct 5, 2026
Done: upstream shipped the fix in
mdns-sd0.21.5 (keepsimple1/mdns-sd#513), so Cmdr now depends on0.21.5from crates.io as its floor and thevendor/mdns-sdfork is gone (local commit086b71a5c, not pushed yet).