ci: do not fail CI when Codecov test-results upload errors#1918
Merged
Conversation
The "Upload test results to Codecov" step in the unittest job is a best-effort reporting side-channel, not a gate on code correctness. Set fail_ci_if_error to false so a transient Codecov outage or upload error no longer fails an otherwise passing build. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
approved these changes
Jul 20, 2026
zimeg
left a comment
Member
There was a problem hiding this comment.
@WilliamBergamin squash and merge! 😉
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1918 +/- ##
=======================================
Coverage 84.17% 84.17%
=======================================
Files 118 118
Lines 13423 13423
=======================================
Hits 11299 11299
Misses 2124 2124 ☔ View full report in Codecov by Harness. |
WilliamBergamin
enabled auto-merge (squash)
July 20, 2026 17:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
unittestjob's Upload test results to Codecov step currently setsfail_ci_if_error: true, so a transient Codecov outage or upload hiccup fails the whole CI pipeline even when every test passed.Uploading test results to Codecov is a best-effort reporting side-channel, not a gate on code correctness. This PR flips that step to
fail_ci_if_error: false— a "send and forget" upload — so a third-party upload failure no longer reddens an otherwise green build.Scope is intentionally limited to the test-results upload. The separate coverage upload step (
report_type: coverage) is left unchanged.This mirrors slackapi/bolt-python#1552.
Testing
fail_ci_if_error: falseis a documentedcodecov/codecov-actioninput; the workflow YAML still parses.Category
/docs(Documents)/tutorial(PythOnBoardingBot tutorial).github/workflows/ci-build.yml)Requirements
python3 -m venv .venv && source .venv/bin/activate && ./scripts/run_validation.shafter making the changes. (CI-only change; no source code affected.)🤖 Generated with Claude Code