Skip to content

fix(listener): retry dropped subgraph requests and log why - #836

Merged
MoonBoi9001 merged 2 commits into
mainfrom
mb9/retry-dropped-subgraph-requests-and-log-their-cause
Nov 16, 2026
Merged

MoonBoi9001 merged 2 commits into
mainfrom
mb9/retry-dropped-subgraph-requests-and-log-their-cause

Conversation

@MoonBoi9001

Copy link
Copy Markdown
Member

When the agreements subgraph's server closed a kept-open connection just as dipper reused it, dipper didn't retry, so the whole poll failed and waited for the next one. It now retries at once, and failed agreement, entity count and indexer list queries log the underlying cause, such as "connection closed before message completed", instead of only "error sending request".

When the agreements subgraph's server closes a kept-open connection just as dipper reuses
it, the request fails unanswered. Dipper didn't retry that, so the whole poll failed and
waited 30 seconds for the next one; it now retries at once on a new connection.
Failed subgraph requests logged only the HTTP client's top-level text, such as "error
sending request", which hides whether the connection was refused, dropped or timed out.
The agreement, entity count and indexer list queries now log each error behind it too.
@MoonBoi9001
MoonBoi9001 marked this pull request as ready for review November 16, 2026 16:23
@MoonBoi9001
MoonBoi9001 merged commit 814a730 into main Nov 16, 2026
13 checks passed
MoonBoi9001 pushed a commit that referenced this pull request Nov 16, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.3.1](v0.3.0...v0.3.1)
(2026-11-16)


### Fixed

* **listener:** retry dropped subgraph requests and log why
([#836](#836))
([814a730](814a730))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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