• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hyperglass-community / hyperglass / 45115442842
89%

Build:
DEFAULT BRANCH: main
Ran 23 Nov 2026 05:04AM UTC
Jobs 2
Files 445
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Nov 2026 05:03AM UTC coverage: 86.955%. Remained the same
45115442842

push

github

web-flow
fix(ui): don't resend a looking-glass query on its own (#563)

* fix(ui): give each query request its own abort controller and timeout

useLGQuery kept one AbortController for the life of the hook, and
fetchWithTimeout started a timer on every request that aborted that
controller and was never cleared. Once requestTimeout had passed since
the first request, the controller stayed aborted, so the requery button
or any refetch from the same result failed at once with AbortError.

fetchWithTimeout now creates a controller per call, clears its timer
when fetch settles, and aborts the request when a signal passed in its
options aborts. useLGQuery passes React Query's signal, which React
Query aborts when the query is cancelled, such as when the last
component using it unmounts, so a running request is still aborted on
unmount. The DNS and IP lookups drop the controller argument.

Closes #511

* fix(ui): don't retry a failed looking-glass query

Both production query clients use React Query's defaults, so a
looking-glass query whose request timed out, failed on the network or
returned a body that isn't JSON was retried three more times with
backoff. Each attempt is a new request to the backend and a new session
on the device, so one failed submission could reach the device four
times, most often when it was already slow or unreachable.

Set `retry: false` on the query and remove `retry` from the options a
caller can pass, like the other refetch settings. Requerying stays a
user action.

The new tests use a client with the production defaults rather than the
test helper's, which turns retries off for every query.

* fix(ui): don't refetch a looking-glass query on reconnect or remount

React Query's `refetchOnReconnect` defaults to true: when the browser
fires `online` after a network drop, every mounted result panel sent its
query to the backend again, after a success as well as after an error,
with no user action.

`retryOnMount` also defaults to true, so a ... (continued)

581 of 842 branches covered (69.0%)

Branch coverage included in aggregate %.

18636 of 21258 relevant lines covered (87.67%)

14.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 frontend - 45115442842.1 23 Nov 2026 05:04AM UTC 125
76.28
GitHub Action Run
2 backend - 45115442842.2 23 Nov 2026 05:07AM UTC 320
88.55
GitHub Action Run
Source Files on build 45115442842
  • Tree
  • List 445
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45115442842
  • 14aa1d11 on github
  • Prev Build on main (#45114421767)
  • Next Build on main (#45115834014)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc