Repository navigation
Conversation
Adds a developer page on how a node package reports its sync phase through its healthcheck, documents `nodes` in the manifest reference and marks `chain` as no longer driving a status display.
✅ Deploy Preview for steady-daffodil-d78dee ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This branch was successfully 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
Node packages can now declare the nodes they run in the manifest
nodesfield and report their sync phase through their Docker healthcheck. The dappmanager uses the report for the phase and percentage on the dashboard while deciding by itself whether the node is synced. The dappmanager side is in dappnode/DNP_DAPPMANAGER#2520, the shared helpers in dappnode/staker-package-scripts#12, and the SDK checks in dappnode/DAppNodeSDK#489.Approach
docs/dev/node-status.md, "Node Status Reports", in the developer sidebar after "Package Notifications". It covers what the user sees, who decides what, the manifest declaration, the status report fields and limits, the healthcheck conventions, how missing or invalid reports are handled, the shared helpers with a worked example, how to test a script locally, and a "Not used yet" table for the parts of the contract the dappmanager does not consume yet.nodesentry with the node andprobeproperties and a root and variant example.chain: the entry now says the field is still valid but no longer drives a sync status display, and points tonodes. That matches the dappmanager change, which removes the chain drivers.Where the written contract and the dappmanager code differed, the page follows the code.
Merge order
This describes behaviour that ships with dappnode/DNP_DAPPMANAGER#2520, so it should be published together with or after that release.
Test instructions
npm run buildsucceeds, with no broken links or anchors from these changes. The warnings it prints are in existing pages (setup-wizard,migrating-from-avado).npm cifails on the currentpackage-lock.json, which is out of sync withpackage.json; the build was run afternpm install --package-lock=false, leaving the lockfile unchanged.