Conversation
nikw9944
force-pushed
the
nikw9944/adhoc-602
branch
from
September 14, 2026 22:31
73b703b to
a559402
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
system-ipv4-doesnt-workat fetch time, so it can never be chosen as a measurement target, a measurement source, or a fallback candidate.Probegains aTagsfield;/probes/already returnstagsin the default representation, so no API change was needed.filterValidProbes, the single chokepoint every probe fetch path runs through. One Info log line names each excluded probe and the tag.Why
Columbus (
cmh) has no RIPE anchor, so the collector falls back to the nearest Connected probe carrying an IPv4 address. That is probe 1009793 at 0.36 km. RIPE auto-assigns itsystem-ipv4-doesnt-work— the probe cannot perform IPv4 measurements — and it never answers a ping.The result was a loop with no exit. The collector selected it, waited an hour, marked it
never_exported, blacklisted it for 24h, then the mark expired and it was re-selected because it was still nearest. Production logs on the mainnet-beta collector host show the full cycle: marked 2026-09-13T19:00:29Z, pruned 2026-09-14T19:00:29Z, re-adopted 2026-09-14T20:00:30Z (Measurement has outdated target probe, marking for recreation ... existing_probe_id 12651, wanted_probe_id 1009793). Excluding the tag at fetch time removes the probe from candidacy permanently and adds no new state.The collector only ever measures IPv4 (
Probe.Addressisaddress_v4), so a probe whose IPv4 does not work is unusable in every role.The mirror tag
system-ipv4-worksis deliberately not required. Probe 1012487 near cmh answers pings and carries neither tag, so only the explicit negative is a safe exclusion.Notes for reviewers
list-probesoutput also omits tagged probes, since it reaches probes through the same filter. For a diagnostic view, annotating rather than omitting them would be more useful — worth a follow-up.Tagsfield with the same shape and placement, so it needs a trivial rebase once this merges.Testing Verification
filterValidProbestable test: a probe taggedsystem-ipv4-doesnt-workis dropped despite a routable address; the same holds when it also carriessystem-ipv4-works; probes taggedsystem-ipv4-works, tagged only with unrelated slugs, or carrying no tags at all are kept; the existing empty-address, private-address and loopback rejections and the routable-IPv6 acceptance still hold./probes/response body with atagsarray populatesProbe.Tagswith bothnameandslug, andhasTagmatches on slug.go test ./controlplane/internet-latency-collector/...andgolangci-lint runon the same tree pass.