Skip to content

ci(upgrade): expand upgrade test coverage - #4577

Open
jkhelil wants to merge 1 commit into
tektoncd:mainfrom
jkhelil:ci/upgrade-event-pruner-and-all
Open

jkhelil wants to merge 1 commit into
tektoncd:mainfrom
jkhelil:ci/upgrade-event-pruner-and-all

Conversation

@jkhelil

@jkhelil jkhelil commented Dec 3, 2026

Copy link
Copy Markdown
Member

Changes

  • Default upgrade switches to the event-based pruner before upgrade.
  • New nightly/manual Upgrade all job: cert-manager, upstream Kueue, Shipwright, Tekton Kueue. Multi-cluster stays off.
  • PRs into main that change components.yaml run the default upgrade; release-branch bumps do not.

Submitter Checklist

Release Notes

NONE

@tekton-robot tekton-robot added the release-note-none Denotes a PR that doesnt merit a release note. label Dec 3, 2026
@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Dec 3, 2026
Comment thread .github/workflows/ci.yaml Fixed
Comment thread .github/workflows/ci.yaml Fixed
@codecov

codecov Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 32.34%. Comparing base (c77b7cf) to head (750e960).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4577   +/-   ##
=======================================
  Coverage   32.34%   32.34%           
=======================================
  Files         530      530           
  Lines       25627    25627           
=======================================
  Hits         8288     8288           
  Misses      17339    17339           
Flag Coverage Δ
unit-tests 32.34% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The upgrade test can accept stale readiness before new components exist, and the all-profile setup patches the wrong platform block on OpenShift, preventing Shipwright installation.

2 open issues
What changed in this PR

Expands Tekton Operator upgrade coverage and adds upgrade testing to main-branch component bump PRs.

Changes:

  • Enables the event-based pruner before upgrades.
  • Adds nightly/manual coverage for Shipwright and Tekton Kueue.
  • Includes component-bump upgrade results in the CI summary.
File Description
test/​upgrade-tests.sh Adds upgrade profiles, dependencies, and readiness assertions.
test/​README.md Documents profiles and CI triggers.
docs/​ci.md Updates workflow and CI gate documentation.
.github/​workflows/​upgrade-tests.yml Allows reuse for component-bump PRs.
.github/​workflows/​upgrade-all-tests.yml Adds nightly/manual all-profile testing.
.github/​workflows/​ci.yaml Detects component bumps and gates on upgrade results.

Review effort: Balanced

Comment thread test/upgrade-tests.sh Resolved
Comment thread test/upgrade-tests.sh Resolved

@jkhelil jkhelil left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

/approve

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 3, 2026
@pratap0007

Copy link
Copy Markdown
Contributor

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 4, 2026
@jkhelil
jkhelil force-pushed the ci/upgrade-event-pruner-and-all branch from 801138b to 98fe639 Compare December 4, 2026 06:15
@tekton-robot tekton-robot removed the lgtm Indicates that a PR is ready to be merged. label Dec 4, 2026
@jkhelil

jkhelil commented Dec 4, 2026

Copy link
Copy Markdown
Member Author

/approve cancel

@tekton-robot tekton-robot removed the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 4, 2026

@jkhelil jkhelil left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

/approve

@tekton-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jkhelil

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

The pull request process is described 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

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 4, 2026
Signed-off-by: Jawed khelil <jkhelil@redhat.com>
@jkhelil
jkhelil force-pushed the ci/upgrade-event-pruner-and-all branch from 54fada0 to 750e960 Compare December 4, 2026 08:51

@infernus01 infernus01 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.

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesnt merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants