Skip to content

chore: add Service trait in monitor#2003

Draft
SantiagoPittella wants to merge 1 commit intosantiagopittella-dynamic-server-statefrom
santiagopittella-service-trait
Draft

chore: add Service trait in monitor#2003
SantiagoPittella wants to merge 1 commit intosantiagopittella-dynamic-server-statefrom
santiagopittella-service-trait

Conversation

@SantiagoPittella
Copy link
Copy Markdown
Collaborator

Refactors the network monitor's checker tasks around a common Service trait and splits the remote prover monitor into two cooperating tasks.

Service trait

Every checker now implements a single Service trait withname / interval / initial_status / check and a default run loop. Tasks::spawn_service seeds the watch::channel from initial_status() and drives the service.

Screenshot 2026-04-24 at 17 29 18

@SantiagoPittella SantiagoPittella added the no changelog This PR does not require an entry in the `CHANGELOG.md` file label Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog This PR does not require an entry in the `CHANGELOG.md` file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant