Skip to content

ci: do not fail CI when Codecov test-results upload errors#1552

Merged
WilliamBergamin merged 1 commit into
mainfrom
ci-codecov-test-results-send-and-forget
Jul 20, 2026
Merged

ci: do not fail CI when Codecov test-results upload errors#1552
WilliamBergamin merged 1 commit into
mainfrom
ci-codecov-test-results-send-and-forget

Conversation

@WilliamBergamin

Copy link
Copy Markdown
Contributor

Summary

The unittest job's Upload test results to Codecov step currently sets fail_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 in the codecov job is left unchanged.

Testing

  • fail_ci_if_error: false is a documented codecov/codecov-action input; the workflow YAML still parses.
  • CI behavior is exercised by the workflow running on this PR.

Category

  • slack_bolt.App and/or its core components
  • slack_bolt.async_app.AsyncApp and/or its core components
  • Adapters in slack_bolt.adapter
  • Document pages under /docs
  • Others (CI workflow)

Requirements

  • I've read and understood the Contributing Guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've run ./scripts/install_all_and_run_tests.sh after making the changes. (CI-only change; no source code affected.)

🤖 Generated with Claude Code

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>
@WilliamBergamin
WilliamBergamin requested a review from a team as a code owner July 20, 2026 16:45
@WilliamBergamin WilliamBergamin self-assigned this Jul 20, 2026
@WilliamBergamin WilliamBergamin added the github_actions Pull requests that update GitHub Actions code label Jul 20, 2026

@zimeg zimeg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👁️‍🗨️ @WilliamBergamin Let's keep main green with passing CI!

with:
directory: ./reports/
fail_ci_if_error: true
fail_ci_if_error: false

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🤖 praise: An amazing option to toggle!

@WilliamBergamin
WilliamBergamin enabled auto-merge (squash) July 20, 2026 16:48
@codecov

codecov Bot commented Jul 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.54%. Comparing base (5a0cfb8) to head (317353e).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1552   +/-   ##
=======================================
  Coverage   91.54%   91.54%           
=======================================
  Files         228      228           
  Lines        7285     7285           
=======================================
  Hits         6669     6669           
  Misses        616      616           

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

@WilliamBergamin
WilliamBergamin merged commit a2f21ae into main Jul 20, 2026
16 checks passed
@WilliamBergamin
WilliamBergamin deleted the ci-codecov-test-results-send-and-forget branch July 20, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants