Skip to content

chore: ServiceStatus builder methods#1937

Merged
SantiagoPittella merged 4 commits intonextfrom
santiagopittella-service-status-builder-methods
Apr 16, 2026
Merged

chore: ServiceStatus builder methods#1937
SantiagoPittella merged 4 commits intonextfrom
santiagopittella-service-status-builder-methods

Conversation

@SantiagoPittella
Copy link
Copy Markdown
Collaborator

closes #1911

Adds ServiceStatus::healthy(), ::unhealthy(), ::unknown(), and ::error() constructors, replacing literal constructions across the codebase. Extracts all service status type definitions into a new service_status.rs module, keeping only checker task logic in status.rs.

@SantiagoPittella SantiagoPittella added the no changelog This PR does not require an entry in the `CHANGELOG.md` file label Apr 13, 2026
Comment thread bin/network-monitor/src/monitor/tasks.rs Outdated
@SantiagoPittella SantiagoPittella merged commit b4c6022 into next Apr 16, 2026
18 checks passed
@SantiagoPittella SantiagoPittella deleted the santiagopittella-service-status-builder-methods branch April 16, 2026 14:17
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.

Monitor: ServiceStatus builder methods

3 participants