Repository navigation
Conversation
The healthcheck prints a status report that says whether the node is synced and what it is doing, declared in the manifest `nodes` field with the status-report probe.
|
Dappnode bot has built and pinned the built packages to an IPFS node, for commit: a45d5a9 This is a development version and should only be installed for testing purposes.
Hash: (by dappnodebot/build-action) |
🛠️ Package harness hit an infrastructure error
Run overview
Baseline vs candidate
Hard-check reasons
Container comparison
Container inventoryBaseline
Candidate No container snapshot was available. Runtime analysis advisory⚪ Inconclusive — Log analysis was unavailable
✅ No new runtime findings were reported. Analyzer diagnostics
Cleanup and diagnostics
Deterministic checks decide the verdict. Runtime log analysis is advisory. TropiBot publishes bounded summaries and never posts raw logs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
The dappmanager dashboard is gaining a status card for every node package, not only Ethereum staking clients. For a node it has no built-in knowledge of, the package itself says whether the node is synced, how far along it is and what it is doing, through its Docker healthcheck. The dappmanager adds what is the same for every chain: stall detection, time left and waiting on a required node. The contract and the dappmanager side are in dappnode/DNP_DAPPMANAGER#2520; the shared shell helpers are released in
staker-package-scriptsv0.1.3 (dappnode/staker-package-scripts#12).The dappmanager does not display
status-reportnodes yet: #2520 reads reports from Ethereum execution clients only. This package ships the declaration and the healthcheck ahead of that, which is safe: current dappmanagers ignore both.Approach
nodesdeclares thejunoservice as anodewith thestatus-reportprobe,maxHeadAgeSeconds: 300andreport: healthcheck. Each variant adds itsnetwork(starknetorstarknet-sepolia) andrequiresthe Ethereum execution client of its L1.juno/node-status.shreadsstarknet_syncingand the latest block from the RPC and a few gauges from the metrics endpoint, and prints one JSON line. It exits 0 while starting or syncing./tmp/node-status, so the healthcheck can report them before Juno serves its RPC. What the steps do and how they fail is unchanged; if the FIFO cannot be created the download runs exactly as before.curlandjq, addsnode_status_tools.shfrom the v0.1.3 release and the script as/usr/local/bin/node-status.What it reports
Checked against the Juno source at v0.16.2.
starting"Downloading snapshot", with a percentagestarting"Extracting snapshot", with a percentagestarting"Migrating database"syncedstarknet_syncingis false or within 6 blocks of the head, and the latest block is at most 300 s oldsyncing"Downloading blocks", measured in blockscurrent_block_numtowardshighest_block_numsyncing"Catching up"l1_l2_finalised_heightl1_latest_heightis 0)starknet_syncingalone is not enough: Juno returnsfalsebefore it knows the chain head. Blocks come every 1 to 2 s, so 300 s leaves a wide margin.Test instructions
sh test/node_status_test.sh(151 checks). Passes under dash, busybox and inside the built image.Not seen live:
synced, which needs a fully synced node.Found on the way, not changed here
mainnet.tarin the container's root, not in the volume, and a partial extraction makes the next start skip the download.latestsnapshots are built with Juno v0.17.1 while the package pins v0.16.2; whether the older version can open them was not checked.printenvin the entrypoint logs the L1 URL, which can contain an API key.