Skip to content

fix: exclude destination hops from shared-hop matching#13

Merged
sagostin merged 1 commit into
masterfrom
fix/shared-hop-destination
May 6, 2026
Merged

fix: exclude destination hops from shared-hop matching#13
sagostin merged 1 commit into
masterfrom
fix/shared-hop-destination

Conversation

@sagostin
Copy link
Copy Markdown
Member

@sagostin sagostin commented May 6, 2026

Summary

  • Fix shared-hop detection to exclude the final destination hop from indexing
  • Only intermediate hops are now used when matching shared hops between agents
  • Prevents false positives when two agents probe each other bidirectionally

Changes

  • controller/internal/probe/analysis.go:2913: Changed to slice LatestHops[:len(pri.LatestHops)-1]

Co-authored-by: multica-agent <github@multica.ai>
@sagostin sagostin merged commit 5c7722e into master May 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant