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

input-output-hk / catalyst-voices / 17213689055
23%

Build:
DEFAULT BRANCH: main
Ran 25 Aug 2025 04:59PM UTC
Jobs 3
Files 1335
Run time 3min
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

25 Aug 2025 03:44PM UTC coverage: 22.986% (-0.07%) from 23.059%
17213689055

push

github

web-flow
feat(cat-gateway): Add Index DB session cache manager (#3241)

* wip(cat-gateway): CacheWrapper builds cache with weigher function

* fix(cat-gateway): refactor rbac caches into CacheWrapper type

* fix(cat-gateway): Set weighted-size as number of TXOs for asset caches

* fix(cat-gateway): Disable work when cache is disabled

* refactor(cat-gateway): move db::index::session into module directory

* refactor(cat-gateway): rbac stake address cache into cassandra session manager

* refactor(cat-gateway): rename CacheWrapper struct to Cache

* chore(cat-gateway): cleanup 'allow(dead_code)' attributes

* chore(cat-gateway): cleanup

* refactor(cat-gateway): move utxo caches into 'assets' module

* refactor(cat-gateway): refactor asset caches into manager

* refactor(cat-gateway): update metrics via functions

* refactor(cat-gateway): refactor rbac public key cache into manager

* fix(cat-gateway): minor fixes to rbac stake address cache

* fix(cat-gateway): finish refactoring rbac pub key cache

* feat(cat-gateway): Add get-size2 crate to dependencies

* wip(cat-gateway): refactor rbac transaction ids and chains caches

* refactor(cat-gateway): refactor rbac transaction ids and chains caches

* feat(cat-gateway): Session caches use weigher functions

* fix(cat-gateway): correct imports

* chore(cat-gateway): fix spelling

* feat(cat-gateway): RBAC caches report size and entry count as metrics

* refactor(cat-gateway): move metrics::rbac to metrics::caches::rbac

* refactor(cat-gateway): cleanup cache metric updates

* refactor(cat-gateway): move weigher_fn into service::utilities::cache::Cache

0 of 806 new or added lines in 24 files covered. (0.0%)

16 existing lines in 11 files now uncovered.

11560 of 50291 relevant lines covered (22.99%)

1.58 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% catalyst-gateway/bin/src/db/index/block/rbac509/mod.rs
1
0.0
0.0% catalyst-gateway/bin/src/db/index/queries/staked_ada/update_txo_spent.rs
1
0.0
0.0% catalyst-gateway/bin/src/metrics/caches/mod.rs
2
0.0
0.0% catalyst-gateway/bin/src/rbac/get_chain.rs
3
0.0
0.0% catalyst-gateway/bin/src/rbac/validation.rs
4
0.0
catalyst-gateway/bin/src/db/index/session/mod.rs
5
0.0
0.0% catalyst-gateway/bin/src/db/index/queries/staked_ada/get_txo_by_stake_address.rs
7
0.0
0.0% catalyst-gateway/bin/src/cardano/mod.rs
11
0.0
0.0% catalyst-gateway/bin/src/service/utilities/cache.rs
12
0.0
0.0% catalyst-gateway/bin/src/db/index/queries/staked_ada/get_assets_by_stake_address.rs
18
0.0
0.0% catalyst-gateway/bin/src/rbac/chains_cache.rs
23
0.0
catalyst-gateway/bin/src/db/index/queries/caches/rbac/chains.rs
23
0.0
0.0% catalyst-gateway/bin/src/db/index/queries/rbac/get_catalyst_id_from_transaction_id.rs
23
0.0
0.0% catalyst-gateway/bin/src/metrics/caches/native_assets.rs
26
0.0
catalyst-gateway/bin/src/db/index/queries/caches/rbac/public_key.rs
26
0.0
catalyst-gateway/bin/src/db/index/queries/caches/rbac/stake_address.rs
26
0.0
catalyst-gateway/bin/src/db/index/queries/caches/rbac/transaction_id.rs
26
0.0
0.0% catalyst-gateway/bin/src/metrics/caches/txo_assets.rs
27
0.0
0.0% catalyst-gateway/bin/src/db/index/queries/rbac/get_catalyst_id_from_public_key.rs
28
0.0
catalyst-gateway/bin/src/db/index/session/cache_manager.rs
33
0.0
0.0% catalyst-gateway/bin/src/db/index/queries/rbac/get_catalyst_id_from_stake_address.rs
37
0.0
catalyst-gateway/bin/src/db/index/queries/caches/assets/native.rs
86
0.0
catalyst-gateway/bin/src/db/index/queries/caches/assets/ada.rs
357
0.0
catalyst-gateway/bin/src/metrics/caches/rbac.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% catalyst-gateway/bin/src/db/index/queries/rbac/get_catalyst_id_from_public_key.rs
1
0.0
0.0% catalyst-gateway/bin/src/db/index/queries/staked_ada/get_txo_by_stake_address.rs
1
72.73
0.0% catalyst-gateway/bin/src/settings/cardano_assets_cache.rs
1
0.0
0.0% catalyst-gateway/bin/src/db/index/queries/rbac/get_rbac_invalid_registrations.rs
1
0.0
0.0% catalyst-gateway/bin/src/db/index/queries/rbac/get_catalyst_id_from_transaction_id.rs
1
0.0
0.0% catalyst-gateway/bin/src/metrics/caches/mod.rs
2
0.0
0.0% catalyst-gateway/bin/src/db/index/queries/rbac/get_catalyst_id_from_stake_address.rs
2
0.0
0.0% catalyst-gateway/bin/src/rbac/validation.rs
2
0.0
0.0% catalyst-gateway/bin/src/db/event/signed_docs/full_signed_doc.rs
2
0.0
0.0% catalyst-gateway/bin/src/rbac/chains_cache.rs
2
0.0
0.0% catalyst-gateway/bin/src/rbac/get_chain.rs
Jobs
ID Job ID Ran Files Coverage
1 api-test - 17213689055.1 25 Aug 2025 04:59PM UTC 11
83.49
GitHub Action Run
2 rust-unit-test - 17213689055.2 25 Aug 2025 04:59PM UTC 226
20.6
GitHub Action Run
3 flutter-test - 17213689055.3 25 Aug 2025 04:59PM UTC 1098
23.03
GitHub Action Run
Source Files on build 17213689055
  • Tree
  • List 1335
  • Changed 22
  • Source Changed 21
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17213689055
  • bd0c3e66 on github
  • Prev Build on main (#17207443744)
  • Next Build on main (#17240120849)
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