Skip to content

Add ItemFailed status when seencheck fails rather than panic#557

Merged
NGTmeaty merged 7 commits into
mainfrom
fix-seencheck
Feb 11, 2026
Merged

Add ItemFailed status when seencheck fails rather than panic#557
NGTmeaty merged 7 commits into
mainfrom
fix-seencheck

Conversation

@NGTmeaty

@NGTmeaty NGTmeaty commented Feb 6, 2026

Copy link
Copy Markdown
Collaborator

We currently don't believe seencheck failing should result in a panic. This causes an incredible amount of pain when we can fail that specific item after 5 attempts.

This didn't work at some point... but should? We'll see!
@codecov-commenter

codecov-commenter commented Feb 6, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 5.47945% with 69 lines in your changes missing coverage. Please review.
✅ Project coverage is 56.65%. Comparing base (8d29277) to head (f1e1f6c).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
internal/pkg/source/hq/seencheck.go 0.00% 29 Missing ⚠️
internal/pkg/source/hq/hq.go 0.00% 21 Missing ⚠️
internal/pkg/preprocessor/preprocessor.go 0.00% 7 Missing ⚠️
internal/pkg/stats/prometheus.go 0.00% 5 Missing ⚠️
internal/pkg/stats/methods.go 0.00% 4 Missing ⚠️
cmd/utils.go 0.00% 1 Missing ⚠️
internal/pkg/controler/pipeline.go 0.00% 1 Missing ⚠️
internal/pkg/stats/stats.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #557      +/-   ##
==========================================
- Coverage   56.66%   56.65%   -0.02%     
==========================================
  Files         131      132       +1     
  Lines        6621     6718      +97     
==========================================
+ Hits         3752     3806      +54     
- Misses       2495     2536      +41     
- Partials      374      376       +2     
Flag Coverage Δ
e2etests 42.20% <5.47%> (-0.03%) ⬇️
unittests 29.01% <0.00%> (+0.15%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@willmhowes willmhowes left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM!

}

// Debug print the seencheck response
// Debug print the seencheck request

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nice catch!

@NGTmeaty NGTmeaty merged commit b94c2e0 into main Feb 11, 2026
5 checks passed
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.

3 participants