Project

General

Profile

Actions

action #120843

open

[sporadic] Codecov upload errors for branches other than master - github <--> codecov api 404

Added by kraih over 1 year ago. Updated 4 days ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2022-11-22
Due date:
% Done:

0%

Estimated time:

Description

Observation

Since #120175 added an upload token for the master branch there are no more upload errors. But since branches outside the os-autoinst org cannot use the token, they can still run into the problem when opening pull requests.

Acceptance criteria

  • AC1:: No more upload errors for branches outside the os-autoinst org

Suggestions

  • Maybe revisit unimplemented solutions from #120175 (action retry, ignore failed uploads)

Related issues 1 (0 open1 closed)

Related to openQA Project - action #120175: [sporadic]The CI badge in https://github.com/os-autoinst/os-autoinst shows failed - github <--> codecov api 404 size:MResolvedkraih2022-10-262022-11-29

Actions
Actions #1

Updated by kraih over 1 year ago

  • Related to action #120175: [sporadic]The CI badge in https://github.com/os-autoinst/os-autoinst shows failed - github <--> codecov api 404 size:M added
Actions #2

Updated by tinita 4 days ago

This is still happening sporadically in github workflows.

One workaround to use secrets would be https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run

The workflow started by the workflow_run event is able to access secrets and write tokens, even if the previous workflow was not. This is useful in cases where the previous workflow is intentionally not privileged, but you need to take a privileged action in a later workflow.

We would upload the coverage data as an artifact, and trigger another workflow that uploads it to codecov.

Actions

Also available in: Atom PDF