Skip to content

feat: added slo duplicates check during validate #799

Merged
slok merged 1 commit intoslok:mainfrom
r3code:add-slo-duplicate-validation
Apr 3, 2026
Merged

feat: added slo duplicates check during validate #799
slok merged 1 commit intoslok:mainfrom
r3code:add-slo-duplicate-validation

Conversation

@r3code
Copy link
Copy Markdown
Contributor

@r3code r3code commented Mar 13, 2026

It adds checks for SLO duplicates into sloth validate command.
Enabled by default.
To disable use --ignore-slo-duplicates=true param.

Closes #493

@r3code r3code requested a review from slok as a code owner March 13, 2026 16:13
@r3code r3code changed the title feat: added slo duplicates check during validate DRAFT: feat: added slo duplicates check during validate Mar 13, 2026
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 13, 2026

Codecov Report

❌ Patch coverage is 0% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 30.79%. Comparing base (3757b66) to head (e4dcef5).
⚠️ Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
cmd/sloth/commands/validate.go 0.00% 15 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #799      +/-   ##
==========================================
- Coverage   30.84%   30.79%   -0.05%     
==========================================
  Files         141      141              
  Lines        8689     8703      +14     
==========================================
  Hits         2680     2680              
- Misses       5770     5784      +14     
  Partials      239      239              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@r3code r3code force-pushed the add-slo-duplicate-validation branch 3 times, most recently from 5c86cae to 9023c71 Compare March 13, 2026 23:58
@r3code r3code changed the title DRAFT: feat: added slo duplicates check during validate feat: added slo duplicates check during validate Mar 14, 2026
Signed-off-by: Dmitriy S. Sinyavskiy <contact@r3code.ru>
@r3code r3code force-pushed the add-slo-duplicate-validation branch from 9023c71 to e4dcef5 Compare April 1, 2026 17:07
Copy link
Copy Markdown
Owner

@slok slok left a comment

Choose a reason for hiding this comment

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

Hey @r3code glad to see the PR again, thanks!

@slok slok merged commit 8a3f98c into slok:main Apr 3, 2026
12 checks passed
@r3code
Copy link
Copy Markdown
Contributor Author

r3code commented Apr 3, 2026

Awesome! Thanks man for your time.

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.

Recording rules duplicates check

3 participants