Skip to content

Add dashboard server module & daemon#2355

Open
Marketen wants to merge 3 commits intodevelopfrom
marc/add-dashboard-server-module
Open

Add dashboard server module & daemon#2355
Marketen wants to merge 3 commits intodevelopfrom
marc/add-dashboard-server-module

Conversation

@Marketen
Copy link
Copy Markdown
Contributor

@Marketen Marketen commented Jan 29, 2026

This pull request introduces a new @dappnode/dashboard-server package and integrates a new daemon into the system to periodically sync validator indices with an external dashboard server. The changes include the implementation of the dashboard server client, logic for fetching and posting validator data, utility functions for change detection, and the wiring up of the daemon within the main daemons process.

Major features and integration:

  • Addition of the @dappnode/dashboard-server package, providing all core logic, types, and utilities for dashboard server integration. [1] [2] [3] [4] [5] [6]
  • Implementation of a new daemon in @dappnode/daemons to periodically check, detect changes, and sync validator indices to the dashboard server. [1] [2]

Detailed breakdown of the most important changes:

1. New Dashboard Server Package Implementation

  • Created the @dappnode/dashboard-server package with all required source files, types, utility functions, and test configuration for fetching validator indices from the "brain" API, posting to the dashboard server, and handling change detection. [1] [2] [3] [4] [5] [6] [7]

2. Daemon Logic for Validator Sync

  • Added checkAndSyncValidators.ts to implement the logic for periodically fetching validator indices, detecting changes, and posting updates to the dashboard server, including error handling and state tracking.

3. Daemon Integration and Scheduling

  • Added the new dashboard server daemon to the main daemons startup process, ensuring it runs alongside other daemons and increases the allowed number of listeners. [1] [2] [3]
  • Implemented the daemon runner in index.ts to periodically trigger sync logic, with configurable polling and posting intervals, and feature flagging via environment variables.

4. Dependency and Configuration Updates

  • Updated packages/daemons/package.json to add a dependency on the new dashboard server package.

These changes collectively enable automated, robust, and configurable syncing of validator data to an external dashboard server, with clear separation of concerns and error handling throughout.

@Marketen Marketen requested a review from a team as a code owner January 29, 2026 11:09
@github-actions github-actions bot temporarily deployed to commit January 29, 2026 15:34 Inactive
@github-actions
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant