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

graphprotocol / indexer-rs / 21634667492 / 1
69%
main: 69%

Build:
DEFAULT BRANCH: main
Ran 03 Feb 2026 02:47PM UTC
Files 97
Run time 2s
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

03 Feb 2026 02:39PM UTC coverage: 68.849% (+0.02%) from 68.828%
21634667492.1

push

github

web-flow
Add network subgraph data staleness protection (#916)

* chore: log block number

* feat(monitor): add timestamp-based freshness validation for allocations

Prevent stale network subgraph data from replacing fresher data when the
Gateway routes queries to indexers synced to different blocks.

Acceptance rules:
- Fresh data (within max_data_staleness_mins): always accepted
- Stale but fresher than current best: accepted (improvement)
- Stale and not fresher than current: rejected

This ensures:
- Service always starts (any data beats initial state)
- Stale-but-better data progressively improves state
- Fresh data always wins (even with 0 allocations)
- Bad data never replaces good data

Add AllocationQueryResponse struct with block metadata, AtomicI64 to
track best known timestamp, and check_and_update_freshness() for
validation logic.

* chore: apply formatting

10697 of 15537 relevant lines covered (68.85%)

79.9 hits per line

Source Files on job 21634667492.1
  • Tree
  • List 97
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21634667492
  • d5b4c224 on github
  • Prev Job for on main (#21612257228.1)
  • Next Job for on main (#21646786992.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc