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

tari-project / tari / 16017934618 / 1
62%
development: 62%

Build:
DEFAULT BRANCH: development
Ran 02 Jul 2025 11:34AM UTC
Files 698
Run time 25s
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

02 Jul 2025 06:38AM UTC coverage: 71.89% (+0.3%) from 71.633%
16017934618.1

push

github

web-flow
feat!: expand gRPC readiness status to contain current processed block info (#7262)

Description
---
Fixes: #7222 
Continues previous PR #7240 to contain more granular data including
newest processed block.

The response now contains current progress of migration as current
processed block and total blocks and also current database version and
the latest db version:

```json
{
  "metadata": null,
  "initialSyncAchieved": false,
  "baseNodeState": "START_UP",
  "failedCheckpoints": false,
  "reward": "0",
  "sha3xEstimatedHashRate": "0",
  "moneroRandomxEstimatedHashRate": "0",
  "numConnections": "0",
  "livenessResults": [],
  "tariRandomxEstimatedHashRate": "0",
  "readinessStatus": {
    "migration": {
      "currentBlock": "2800",
      "totalBlocks": "3934",
      "progressPercentage": 71.17437722419929,
      "currentDbVersion": "1",
      "targetDbVersion": "3"
    },
    "timestamp": "1751223176570"
  }
}
```

Motivation and Context
---
This should help gRPC consumers like Tari Universe to get a better
feedback of overall `minotari_node` health status.

How Has This Been Tested?
---
Cleared whole database and launched older version of `minotari_node` in
my case it was 4.1.0. This should initialize blockchain database with
version `1`. After syncing launch newer version - in my case it was
4.5.0 and let `minotari_node` run migration on the database.
Periodically fetch `GetNetworkStatus` from `readiness_grpc_server` to
watch migration progress with command like this:
```sh
watch -n 1 grpcurl -plaintext --emit-defaults -import-path applications/minotari_app_grpc/proto/ -proto applications/minotari_app_grpc/proto/base_node.proto 127.0.0.1:33277 tari.rpc.BaseNode/GetNetworkState
```

What process can a PR reviewer use to test or verify this change?
---
Same as above. Preferably run older version of `minotari_node` like
4.0.0 or 4.1.0.

<!-- Checklist -->
<!-- 1. Is the title of your PR in the form that would make nice release
notes? The title, excl... (continued)

83410 of 116025 relevant lines covered (71.89%)

238897.48 hits per line

Source Files on job 16017934618.1
  • Tree
  • List 698
  • Changed 28
  • Source Changed 6
  • Coverage Changed 27
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16017934618
  • ee9f76da on github
  • Prev Job for on development (#15998966652.1)
  • Next Job for on development (#16123384529.1)
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