Skip to content

chore: move silence state to silence package - #5045

Merged
siavashs merged 2 commits into
prometheus:mainfrom
siavashs:chore/move-silence-types
Feb 24, 2026
Merged

siavashs merged 2 commits into
prometheus:mainfrom
siavashs:chore/move-silence-types

Conversation

@siavashs

Copy link
Copy Markdown
Contributor
  • Move SilenceState and helper function to silence package
  • Rename CalcSilenceState to CurrentState
  • Remove unused Silence and SilenceStatus from types

Pull Request Checklist

Please check all the applicable boxes.

Which user-facing changes does this PR introduce?

[CHANGE] Move `SilenceState` to `silence` package
[CHANGE] Move `types.CalcSilenceState` to `silence.CurrentState`
[CHANGE] Remove unused `types.Silence` and `types.SilenceStatus`

@siavashs
siavashs requested a review from SoloJacobs February 24, 2026 11:38
- Move `SilenceState` and helper function to `silence` package
- Rename `CalcSilenceState` to `CurrentState`
- Remove unused `Silence` and `SilenceStatus` from `types`

Signed-off-by: Siavash Safi <[email protected]>
@siavashs
siavashs force-pushed the chore/move-silence-types branch from 74e046a to c00531e Compare February 24, 2026 11:39
Signed-off-by: Siavash Safi <[email protected]>
@siavashs
siavashs merged commit d601711 into prometheus:main Feb 24, 2026
6 checks passed
@siavashs
siavashs deleted the chore/move-silence-types branch February 24, 2026 16:59
@SoloJacobs SoloJacobs mentioned this pull request Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants