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

graphprotocol / indexer-rs / 21646786992
69%

Build:
DEFAULT BRANCH: main
Ran 03 Feb 2026 08:37PM UTC
Jobs 1
Files 98
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

03 Feb 2026 08:33PM UTC coverage: 69.437% (+0.6%) from 68.849%
21646786992

push

github

web-flow
feat(tap-agent): use network subgraph for Horizon RAV redemption tracking (#922)

* feat(tap-agent): use network subgraph for Horizon RAV redemption tracking

Query paymentsEscrowTransactions from the network subgraph to detect
redeemed Horizon RAVs, replacing the LatestRavs query approach. This
enables more reliable detection of allocation redemptions by checking
for actual redeem transactions rather than comparing RAV values.

Also adds allocation redemption checking for the AllocationId check
to prevent accepting receipts for already-redeemed Horizon allocations.

* chore(indexer-cli): switch to main branch for indexer repository

The horizon branch has been merged, so use main instead.

* fix(tap-agent): encode allocation ID as 20-byte address for network subgraph

The network subgraph stores allocationId as a 20-byte address, not as
a 32-byte CollectionId. Use `as_address()` when encoding the allocation
ID for the GraphQL query.

Also remove redundant normalization logic in the response handling since
the subgraph already returns 20-byte addresses.

* fix(tap-agent): use ESCROW_POLLING_INTERVAL constant in test helper

Use the defined constant instead of Duration::default() for consistency
with other test configuration values.

* fix(watcher): handle receiver drop gracefully instead of panicking

When the watcher source receiver is dropped, log a debug message and
break out of the loop cleanly rather than panicking. This allows for
graceful shutdown when the source watcher is dropped.

* refactor(tap-agent): simplify Horizon allocation redemption query to 20-byte address only

The network subgraph consistently stores allocationId as the 20-byte address
derived from the collection_id (rightmost 20 bytes), so remove the redundant
32-byte format from the query.

* feat(tap-agent): add trace logging for Horizon RAV redemption queries

Log the allocation IDs being queried when checking for redeemed RAVs via
the network subgraph. This aids debugging pr... (continued)

351 of 410 new or added lines in 9 files covered. (85.61%)

7 existing lines in 2 files now uncovered.

11021 of 15872 relevant lines covered (69.44%)

78.27 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
73.08
0.53% crates/service/src/service/router.rs
2
0.0
0.0% crates/service/src/service.rs
2
78.05
0.28% crates/tap-agent/src/agent/sender_allocation.rs
2
82.65
-5.89% crates/watcher/src/lib.rs
5
96.35
crates/service/src/tap/checks/allocation_redeemed.rs
9
96.1
-3.9% crates/tap-agent/src/tap/context/checks/allocation_id.rs
38
85.72
0.89% crates/tap-agent/src/agent/sender_account.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
85.72
0.89% crates/tap-agent/src/agent/sender_account.rs
6
82.65
-5.89% crates/watcher/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 21646786992.1 03 Feb 2026 08:37PM UTC 98
69.44
GitHub Action Run
Source Files on build 21646786992
  • Tree
  • List 98
  • Changed 10
  • Source Changed 9
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21646786992
  • 1aafc9b3 on github
  • Prev Build on main (#21634667492)
  • Next Build on main (#21650457888)
  • 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