Skip to content

fix: don't fail integration test jobs on artifact upload errors#3296

Merged
Stringy merged 1 commit intomasterfrom
giles/fix-store-artifacts-false-positives
Apr 29, 2026
Merged

fix: don't fail integration test jobs on artifact upload errors#3296
Stringy merged 1 commit intomasterfrom
giles/fix-store-artifacts-false-positives

Conversation

@Stringy
Copy link
Copy Markdown
Collaborator

@Stringy Stringy commented Apr 29, 2026

Description

The Store artifacts step uploads debug logs for human inspection but is not consumed by any downstream job. Network errors (ECONNRESET) during upload were causing passing test runs to be marked as failed — 9 false positives in the last week alone.

Test failures still fail the job via the Run Tests step.

Checklist

  • Investigated and inspected CI test results
  • Updated documentation accordingly

Automated testing

  • Added unit tests
  • Added integration tests
  • Added regression tests

If any of these don't apply, please comment below.

Testing Performed

Trivial CI fix.

The Store artifacts step uploads debug logs for human inspection
but is not consumed by any downstream job. Network errors
(ECONNRESET) during upload were causing passing test runs to be
marked as failed — 9 false positives in the last week alone.

Test failures still fail the job via the Run Tests step.
@Stringy Stringy requested a review from a team as a code owner April 29, 2026 10:17
Copy link
Copy Markdown
Collaborator

@Molter73 Molter73 left a comment

Choose a reason for hiding this comment

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

LGTM!

Could you make this same change in stackrox/fact? I've seen this same problem a bunch but have not had time to look into it.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 27.31%. Comparing base (c320b8c) to head (efaec6c).
⚠️ Report is 12 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3296      +/-   ##
==========================================
- Coverage   27.38%   27.31%   -0.07%     
==========================================
  Files          95       95              
  Lines        5427     5425       -2     
  Branches     2548     2548              
==========================================
- Hits         1486     1482       -4     
- Misses       3214     3216       +2     
  Partials      727      727              
Flag Coverage Δ
collector-unit-tests 27.31% <ø> (-0.07%) ⬇️

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.

@Stringy Stringy enabled auto-merge (squash) April 29, 2026 10:27
@Stringy Stringy merged commit 1a6c19f into master Apr 29, 2026
71 of 72 checks passed
@Stringy Stringy deleted the giles/fix-store-artifacts-false-positives branch April 29, 2026 11:33
Stringy added a commit that referenced this pull request May 6, 2026
… (#3326)

The Store artifacts step uploads debug logs for human inspection
but is not consumed by any downstream job. Network errors
(ECONNRESET) during upload were causing passing test runs to be
marked as failed — 9 false positives in the last week alone.

Test failures still fail the job via the Run Tests step.
Stringy added a commit that referenced this pull request May 6, 2026
… (#3327)

The Store artifacts step uploads debug logs for human inspection
but is not consumed by any downstream job. Network errors
(ECONNRESET) during upload were causing passing test runs to be
marked as failed — 9 false positives in the last week alone.

Test failures still fail the job via the Run Tests step.
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