You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "hainenber (via GitHub)" <gi...@apache.org> on 2026/03/26 15:36:16 UTC
[PR] fix(ci): resolve failed CodeCov upload for backend tests [superset]
hainenber opened a new pull request, #38885:
URL: https://github.com/apache/superset/pull/38885
<!---
Please write the PR title following the conventions at https://www.conventionalcommits.org/en/v1.0.0/
Example:
fix(dashboard): load charts correctly
-->
fix(ci): resolve failed CodeCov upload for backend tests
### SUMMARY
<!--- Describe the change below, including rationale and design decisions -->
Fixes issue where code coverage report is not uploaded to CodeCov for backend tests
[Sample CI run](https://github.com/apache/superset/actions/runs/23594366897/job/68707208213) and screenshot below
<img width="1145" height="684" alt="image" src="https://github.com/user-attachments/assets/2fe925de-d860-49a6-afbe-97b28307c300" />
### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
<!--- Skip this if not applicable -->
### TESTING INSTRUCTIONS
<!--- Required! What steps can be taken to manually verify the changes? -->
### ADDITIONAL INFORMATION
<!--- Check any relevant boxes with "x" -->
<!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
- [ ] Has associated issue:
- [ ] Required feature flags:
- [ ] Changes UI
- [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351))
- [ ] Migration is atomic, supports rollback & is backwards-compatible
- [ ] Confirm DB migration upgrade and downgrade tested
- [ ] Runtime estimates and downtime expectations provided
- [ ] Introduces new feature or API
- [ ] Removes existing feature or API
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ci): resolve failed CodeCov upload for backend tests [superset]
Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke commented on PR #38885:
URL: https://github.com/apache/superset/pull/38885#issuecomment-4142054985
Approved!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ci): resolve failed CodeCov upload for backend tests [superset]
Posted by "hainenber (via GitHub)" <gi...@apache.org>.
hainenber commented on PR #38885:
URL: https://github.com/apache/superset/pull/38885#issuecomment-4140602973
Alright, [code coverage upload for backend is now functional](https://app.codecov.io/github/apache/superset/tree/fix%2Fresolve-failed-codecov-upload-for-backend-tests/superset). @sfirke can you help approving this to unblock other contributor's PR? Thanks
<img width="1416" height="911" alt="image" src="https://github.com/user-attachments/assets/2ac44e71-9b33-4329-a5d6-5d4c63d508c6" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ci): resolve failed CodeCov upload for backend tests [superset]
Posted by "codeant-ai-for-open-source[bot] (via GitHub)" <gi...@apache.org>.
codeant-ai-for-open-source[bot] commented on PR #38885:
URL: https://github.com/apache/superset/pull/38885#issuecomment-4136046855
## **Sequence Diagram**
This PR updates Python backend and integration test workflows so their coverage uploads to Codecov use GitHub OIDC-based authentication instead of a stored Codecov token, reducing upload failures in CI.
```mermaid
sequenceDiagram
participant Workflow
participant TestJob
participant GitHubOIDC
participant Codecov
Workflow->>TestJob: Run Python backend and integration tests
TestJob->>GitHubOIDC: Request id token for coverage upload
GitHubOIDC-->>TestJob: Return signed id token
TestJob->>Codecov: Upload coverage using OIDC authentication
Codecov-->>TestJob: Confirm coverage received
```
---
*Generated by [CodeAnt AI](https://codeant.ai)*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ci): resolve failed CodeCov upload for backend tests [superset]
Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke commented on PR #38885:
URL: https://github.com/apache/superset/pull/38885#issuecomment-4142431735
I'm not a code owner so can't merge.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ci): resolve failed CodeCov upload for backend tests [superset]
Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke merged PR #38885:
URL: https://github.com/apache/superset/pull/38885
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ci): resolve failed CodeCov upload for backend tests [superset]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #38885:
URL: https://github.com/apache/superset/pull/38885#issuecomment-4136206367
## [Codecov](https://app.codecov.io/gh/apache/superset/pull/38885?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 54.61%. Comparing base ([`e045f49`](https://app.codecov.io/gh/apache/superset/commit/e045f49787ccdd2c918ca171c633c0fb1c6154bd?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`fb06a00`](https://app.codecov.io/gh/apache/superset/commit/fb06a0066ec26a715e2227889fd881ebd1d2dac0?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
:warning: Report is 3 commits behind head on master.
:x: Your project check has failed because the head coverage (99.85%) is below the target coverage (100.00%). You can increase the head coverage or adjust the [target](https://docs.codecov.com/docs/commit-status#target) coverage.
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## master #38885 +/- ##
===========================================
- Coverage 65.80% 54.61% -11.19%
===========================================
Files 1823 2536 +713
Lines 73181 130724 +57543
Branches 23448 30318 +6870
===========================================
+ Hits 48156 71398 +23242
- Misses 25025 58981 +33956
- Partials 0 345 +345
```
| [Flag](https://app.codecov.io/gh/apache/superset/pull/38885/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [presto](https://app.codecov.io/gh/apache/superset/pull/38885/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `40.39% <ø> (?)` | |
| [python](https://app.codecov.io/gh/apache/superset/pull/38885/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `40.39% <ø> (?)` | |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
</details>
[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/superset/pull/38885?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ci): resolve failed CodeCov upload for backend tests [superset]
Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #38885:
URL: https://github.com/apache/superset/pull/38885#issuecomment-4136036964
AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org