Skip to content

CI | Upgrade tests | workflow fixes#1670

Merged
romayalon merged 1 commit intonoobaa:masterfrom
romayalon:romy-upgrade-tests
Aug 7, 2025
Merged

CI | Upgrade tests | workflow fixes#1670
romayalon merged 1 commit intonoobaa:masterfrom
romayalon:romy-upgrade-tests

Conversation

@romayalon
Copy link
Contributor

@romayalon romayalon commented Aug 7, 2025

Explain the changes

  1. Continuation of CI | Upgrade Tests #1662

Issues: Fixed #xxx / Gap #xxx

Testing Instructions:

  • Doc added/updated
  • Tests added

Summary by CodeRabbit

Summary by CodeRabbit

  • Chores
    • Updated the name of a workflow in GitHub Actions for clarity.
    • Modified the Makefile so that the test-upgrade process now depends on updated targets, ensuring necessary components are generated before testing.

@coderabbitai
Copy link

coderabbitai bot commented Aug 7, 2025

Walkthrough

The changes update the name of a GitHub Actions workflow from "Full Upgrade Test" to "Manual Upgrade Test" and modify the Makefile so that the test-upgrade target now depends on gen and cli instead of vendor. No other logic or code was altered.

Changes

Cohort / File(s) Change Summary
Workflow Name Update
.github/workflows/manual-upgrade-tests.yaml
Renamed the workflow from "Full Upgrade Test" to "Manual Upgrade Test" and updated the job identifier accordingly.
Makefile Target Dependencies
Makefile
Updated test-upgrade target dependencies from vendor to gen and cli; command unchanged.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • CI | Upgrade Tests #1662: Adds the initial upgrade test framework, including the Makefile test-upgrade target and the manual upgrade test workflow, which are directly modified in this PR.

Suggested reviewers

  • Neon-White

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.


📜 Recent review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 58b046b and de56ed6.

📒 Files selected for processing (2)
  • .github/workflows/manual-upgrade-tests.yaml (2 hunks)
  • Makefile (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
  • .github/workflows/manual-upgrade-tests.yaml
  • Makefile
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (13)
  • GitHub Check: run-cli-tests
  • GitHub Check: run-kms-dev-test
  • GitHub Check: run-hac-test
  • GitHub Check: golangci-lint
  • GitHub Check: cnpg-deployment-test
  • GitHub Check: run-kms-key-rotate-test
  • GitHub Check: run-admission-test
  • GitHub Check: run-kms-tls-sa-test
  • GitHub Check: run-operator-tests
  • GitHub Check: run-azure-vault-test
  • GitHub Check: run-core-config-map-tests
  • GitHub Check: run-kms-kmip-test
  • GitHub Check: run-kms-tls-token-test
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@romayalon romayalon force-pushed the romy-upgrade-tests branch from 4b8ad57 to 58b046b Compare August 7, 2025 14:45
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (2)
.github/workflows/manual-upgrade-tests.yaml (1)

1-1: Consider aligning the job identifier with the new workflow name

The workflow has been renamed to “Manual Upgrade Test”, but the single job inside is still called nightly-upgrade-tests (Line 13). This mismatch is only cosmetic, yet keeping names consistent helps avoid confusion when debugging in the Actions UI or when referencing the job in reusable workflows.

Makefile (1)

308-308: Redundant dependency – gen is already pulled in via cli

test-upgrade: gen cli lists both gen and cli, while the cli target itself depends on gen.
Make will run gen, then cli, and skip re-running gen, so there is no functional bug—just an unnecessary extra prerequisite that lengthens the command line and can confuse future maintainers.

Minimal, cleaner alternative:

-test-upgrade: gen cli
+test-upgrade: cli

Functionality remains identical and the intent is clearer.

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2d33c0b and 58b046b.

📒 Files selected for processing (2)
  • .github/workflows/manual-upgrade-tests.yaml (1 hunks)
  • Makefile (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (12)
  • GitHub Check: run-operator-tests
  • GitHub Check: cnpg-deployment-test
  • GitHub Check: run-core-config-map-tests
  • GitHub Check: run-cli-tests
  • GitHub Check: run-azure-vault-test
  • GitHub Check: run-admission-test
  • GitHub Check: run-kms-key-rotate-test
  • GitHub Check: run-kms-tls-token-test
  • GitHub Check: run-kms-tls-sa-test
  • GitHub Check: run-hac-test
  • GitHub Check: run-kms-dev-test
  • GitHub Check: run-kms-kmip-test

Signed-off-by: Romy <35330373+romayalon@users.noreply.github.com>
@romayalon romayalon force-pushed the romy-upgrade-tests branch from 58b046b to de56ed6 Compare August 7, 2025 15:10
@romayalon romayalon merged commit 7800149 into noobaa:master Aug 7, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants