Repository navigation
Conversation
Node status now carries a sync state, the phase a client is in, its progress and distance to the head, background work and issues, so the dashboard can show what each client is doing instead of synced/syncing.
Clients report sync very differently, so the CC is judged against the wall clock and optimistic/EL-offline flags, the EC against its head age and the CC head, with a parser per EC to name the phase and measure it.
The details tooltip printed the raw eth_syncing object and unformatted values, and error tooltips could quote a response body. Clients now send labelled, formatted lines and a short error description.
Pills stretched to the width of the line above them, so the execution, consensus and validator pills differed. They now share one size, sit right-aligned, and the block and slot labels match the other labels.
Marketen
approved these changes
Nov 30, 2026
Adds the optional manifest field `nodes`, keyed by compose service, and the status report a node's healthcheck prints. Bumps types and schemas so the SDK can pick them up.
The consensus client cannot give the execution block number of its head from the Gloas fork on, so the execution client is now judged by the age of its latest block and catch-up is measured in chain time. The slot length comes from SLOT_DURATION_MS, which newer specs define instead of SECONDS_PER_SLOT. Phase and progress now come from the status report a package prints through its healthcheck, declared in the manifest `nodes` field. The per-client parsers and the metrics scraping are removed.
Nothing has shown their data since the staking dashboard replaced the chain cards. Node packages now declare themselves with the manifest `nodes` field; the `chain` field stays valid in the schema.
This was referenced Nov 30, 2026
Merged
Open
This was referenced Nov 30, 2026
Open
Open
Open
This branch was previously deployed
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 staking dashboard's node status card read each client's own sync flag (
eth_syncing,/eth/v1/node/syncing) and computed one progress number. Clients report sync in very different ways, so the card was often wrong. Checked against the source of each client at the versions our packages pin:head/(head+distance)reads 99% or more almost immediately. Teku, Nimbus, Prysm and Lodestar report "not syncing" just after a restart, when stalled or without peers, or while waiting for their execution client. An optimistic node (EL still syncing) was shown as synced.eth_syncing: falsebefore reaching the head, and others keep returning an object long after reaching it (Geth indexing, Nethermind downloading old receipts). Geth and Nethermind keep the latest block at genesis until the state sync ends.blinded_blocksis deprecated, a Gloas block carries only the payload's hash, and the mainnet spec config definesSLOT_DURATION_MSinstead ofSECONDS_PER_SLOT.This supersedes the approach in #2491, which only handled Besu.
Approach
/eth/v1/beacon/genesisand/eth/v1/config/spec), it isn't optimistic andel_offlineis false. The slot length is read fromSLOT_DURATION_MS, withSECONDS_PER_SLOTas the fallback for older clients. Progress is measured from the head first seen, with a time estimate.nodes, and its Docker healthcheck prints a small JSON status report (phase, progress, background work, issues). The dappmanager reads it from the container's health log, treats every string as untrusted, and uses it only for detail: it never marks a node synced because of a report. This replaces the per-client parsers and metrics scraping an earlier revision of this PR had, so an upstream change is fixed in the package that pins the client.ClientDatagainsstate,phase,phaseProgress,behind,etaSeconds,background,issuesanddetails. The old fields stay for older consumers.@dappnode/typesmoves to 0.1.42 and@dappnode/schemasto 0.1.27 for thenodesfield.packages/chainsworkspace, thechainDataGetroute with its types and events, and the chain card. Nothing has shown their data since the staking dashboard was introduced. The manifestchainfield stays valid.Related PRs
nodes: feat(spec): accept and check the manifest nodes field DAppNodeSDK#489A package without a
nodesdeclaration or without a report still works: its card shows the generic phases ("Catching up", "Syncing") and the same synced verdict.Test instructions
yarn workspace @dappnode/dappmanager test. The new tests are inpackages/dappmanager/test/unit/nodeSyncStatus/.cd packages/admin-ui && yarn mock-standalone, then open the dashboard. The mock covers synced with background work, syncing with and without measured progress, an approximate distance behind, waiting, stalled and a starting client with a phase.docker inspect --format '{{json .State.Health}}' <execution client container>shows the report the dappmanager reads.Not yet tested on a node: reading a real container's health log is covered by unit tests only, and the Gloas behaviour was checked against the consensus specs and beacon API definitions, not against a Gloas network.