Skip to content

Backport cli e2e 1.3#2300

Merged
weshayutin merged 4 commits into
openshift:oadp-1.3from
NicholasYancey:backport-cli-e2e-1.3
Jul 14, 2026
Merged

Backport cli e2e 1.3#2300
weshayutin merged 4 commits into
openshift:oadp-1.3from
NicholasYancey:backport-cli-e2e-1.3

Conversation

@NicholasYancey

@NicholasYancey NicholasYancey commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Why the changes were made

oadp-1.3 is missing CLI integration test coverage that exists on oadp-1.6. On oadp-1.6, Prow runs e2e-test-cli-aws to verify backup/restore via kubectl oadp. oadp-1.3 never received this because the operator side was never backported.

This PR backports the CLI e2e suite and TEST_CLI Makefile support from oadp-1.6, pins the runtime oadp-cli clone to the oadp-1.3 branch in ci-Dockerfile, and adds IsBackupPhaseNotDone/IsRestorePhaseNotDone as shared exported helpers keeping existing function signatures unchanged to avoid touching backup_restore_suite_test.go on the 1.3 dependency line.

related: openshift/release#81883

How to test the changes made

On a cluster with OADP installed:

make TEST_CLI=true test-e2e

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 9c46222c-3016-48fb-afd7-497fb15b6305

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@NicholasYancey NicholasYancey force-pushed the backport-cli-e2e-1.3 branch 3 times, most recently from d65b40b to 71d342b Compare July 14, 2026 19:36
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 3.09598% with 313 lines in your changes missing coverage. Please review.
✅ Project coverage is 29.46%. Comparing base (059bc65) to head (9f37036).
⚠️ Report is 6 commits behind head on oadp-1.3.

⚠️ Current head 9f37036 differs from pull request most recent head 9f20b0b

Please upload reports for the commit 9f20b0b to get more accurate results.

Files with missing lines Patch % Lines
controllers/cli_download_controller.go 0.00% 294 Missing ⚠️
main.go 0.00% 18 Missing ⚠️
controllers/console.go 90.90% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           oadp-1.3    #2300      +/-   ##
============================================
- Coverage     31.36%   29.46%   -1.90%     
============================================
  Files            28       30       +2     
  Lines          4489     4812     +323     
============================================
+ Hits           1408     1418      +10     
- Misses         2915     3228     +313     
  Partials        166      166              

☔ 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.

@NicholasYancey NicholasYancey self-assigned this Jul 14, 2026
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 14, 2026
@openshift-ci

openshift-ci Bot commented Jul 14, 2026

Copy link
Copy Markdown

@NicholasYancey: 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.

@weshayutin weshayutin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

/LGTM

@weshayutin weshayutin merged commit 5000c2e into openshift:oadp-1.3 Jul 14, 2026
9 of 10 checks passed
@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 14, 2026
@openshift-ci

openshift-ci Bot commented Jul 14, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kaovilai, NicholasYancey, weshayutin

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

@NicholasYancey NicholasYancey deleted the backport-cli-e2e-1.3 branch July 15, 2026 01:35
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants