Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Alert randomization #248

Merged
merged 2 commits into from
Jun 12, 2024
Merged

feat: Alert randomization #248

merged 2 commits into from
Jun 12, 2024

Conversation

drstrangelooker
Copy link
Collaborator

@drstrangelooker drstrangelooker commented Jun 11, 2024

Change the time alerts run by a random number +/- 30 minutes with a default 60 minute window, or by a smaller window if specified with the --window flag. By default do this for owned alerts, or for all alerts if the --all flag is specified.

@drstrangelooker drstrangelooker requested a review from a team as a code owner June 11, 2024 19:44

This comment has been minimized.

@drstrangelooker drstrangelooker changed the title feat: Randomize alert feat: Alert randomization Jun 12, 2024
@drstrangelooker drstrangelooker requested a review from jkaster June 12, 2024 18:44
Copy link
Contributor

@jkaster jkaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If my question doesn't raise an issue, this looks good to go

lib/gzr/commands/alert/randomize.rb Outdated Show resolved Hide resolved
Copy link
Contributor

Ruby-CI Tests

    4 files      4 suites   55s ⏱️
139 tests 139 ✔️ 0 💤 0 ❌
556 runs  556 ✔️ 0 💤 0 ❌

Results for commit f367d8e.

@drstrangelooker drstrangelooker merged commit ece058c into main Jun 12, 2024
11 checks passed
@drstrangelooker drstrangelooker deleted the randomize-alert branch June 12, 2024 19:11

This comment has been minimized.

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.

2 participants