Skip to content

[WIP] - Add periodic Codecov coverage job for kueue-operator#74836

Open
anahas-redhat wants to merge 1 commit intoopenshift:mainfrom
anahas-redhat:codecov
Open

[WIP] - Add periodic Codecov coverage job for kueue-operator#74836
anahas-redhat wants to merge 1 commit intoopenshift:mainfrom
anahas-redhat:codecov

Conversation

@anahas-redhat
Copy link
Contributor

Following the initial Codecov onboarding #1446, this PR implements the second phase of the integration. The goal is to establish a consistent baseline of coverage data for the main branch.

Proposed Changes

  • Periodic Job: Configures a new CI job to run coverage tests every 96 hours (4 days).
  • Codecov Sync: Automates the upload of these periodic results to Codecov to track coverage trends over time.

Dependencies

  • This PR requires the creation of the kueue-operator-codecov-token secret in the openshift-ci vault.

Related PRs:

  • Part 1 (Initial Config): #1446

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 12, 2026
@openshift-ci openshift-ci bot requested review from cpmeadors and kannon92 February 12, 2026 18:19
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 12, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: anahas-redhat
Once this PR has been reviewed and has the lgtm label, please assign kannon92 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Configure a periodic coverage test for the kueue-operator main branch
that runs every 96 hours (4 days) and uploads results to Codecov.

Changes:
- Add 'coverage' test to ci-operator config with minimum_interval of 96h
- Use kueue-operator-codecov-token secret for Codecov authentication
- Fix indentation of coverage test fields to match repo conventions
- Remove duplicate coverage definition and unused postsubmit job
- Generate corresponding Prow periodic job definition
@openshift-ci-robot
Copy link
Contributor

[REHEARSALNOTIFIER]
@anahas-redhat: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
periodic-ci-openshift-kueue-operator-main-coverage N/A periodic Periodic changed
Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 12, 2026

@anahas-redhat: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

minimum_interval: 96h
secret:
mount_path: /tmp/secret
name: kueue-operator-codecov-token
Copy link
Member

Choose a reason for hiding this comment

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

So if this is intended as a periodic job, it would probably make sense to replace the job "test" (on line 60) with this, which adds that extra step to upload the coverage to codecov in PR.

not required though, just a recommendation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants