Skip to content

fix(gateway): deduplicate peer IDs in retrieval diagnostics#1058

Merged
lidel merged 3 commits intomainfrom
fix/gateway-deduplicate-retrieval-peer-ids
Oct 23, 2025
Merged

fix(gateway): deduplicate peer IDs in retrieval diagnostics#1058
lidel merged 3 commits intomainfrom
fix/gateway-deduplicate-retrieval-peer-ids

Conversation

@lidel
Copy link
Member

@lidel lidel commented Oct 23, 2025

peer IDs could appear multiple times in timeout errors due to repeated connection failures. add deduplication check.

cc @aschmahmann (thx for noticing!)

lidel added 2 commits October 23, 2025 22:14
peer IDs could appear multiple times in timeout errors due to
repeated connection failures. add deduplication check.
@lidel lidel requested a review from a team as a code owner October 23, 2025 20:17
@lidel lidel mentioned this pull request Oct 23, 2025
74 tasks
@codecov
Copy link

codecov bot commented Oct 23, 2025

Codecov Report

❌ Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.09%. Comparing base (3700687) to head (6ebb05a).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
retrieval/state.go 66.66% 1 Missing and 1 partial ⚠️

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1058      +/-   ##
==========================================
+ Coverage   60.73%   61.09%   +0.36%     
==========================================
  Files         268      268              
  Lines       33593    26130    -7463     
==========================================
- Hits        20402    15964    -4438     
+ Misses      11516     8496    -3020     
+ Partials     1675     1670       -5     
Files with missing lines Coverage Δ
retrieval/state.go 80.31% <66.66%> (-1.02%) ⬇️

... and 249 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@aschmahmann aschmahmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (albeit this code path is new and I'm not very familiar with it)

@lidel lidel merged commit 9f7f782 into main Oct 23, 2025
16 checks passed
@lidel lidel deleted the fix/gateway-deduplicate-retrieval-peer-ids branch October 23, 2025 21:06
@lidel lidel mentioned this pull request Oct 29, 2025
9 tasks
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.

2 participants