UPSTREAM: <carry>: Disable irrelevant CI workflows#18
UPSTREAM: <carry>: Disable irrelevant CI workflows#18openshift-merge-bot[bot] merged 2 commits intomigtools:oadp-devfrom
Conversation
Disable 16 upstream kopia GitHub Actions workflows that are not relevant to our downstream fork (renamed to .yml.disabled): - auto-merge.yml: missing secrets, kopia-specific - check-pr-title.yml: kopia-specific title checks - code-coverage.yml: not needed for downstream - compat-test.yml: kopia compatibility tests - dependency-review.yml: dependency graph not enabled - endurance-test.yml: kopia repo guard, irrelevant - htmlui-tests.yml: no HTML UI in downstream - license-check.yml: not needed - make.yml: kopia-specific builds, secrets, UI artifacts - ossf-scorecard.yml: kopia-specific scorecard - providers-core.yml: kopia cloud provider tests - providers-extra.yml: kopia cloud provider tests - race-detector.yml: not needed - stale.yml: kopia-specific stale management - stress-test.yml: kopia repo guard, irrelevant - volume-shadow-copy-test.yml: Windows VSS not relevant Signed-off-by: Michal Pryc <mpryc@redhat.com> Co-authored-by: Michal Pryc <mpryc@redhat.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
📝 WalkthroughWalkthroughCI workflows narrowed to Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested labels
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (2)
.github/workflows/tests.yml (1)
18-18: Same as lint.yml:UNIX_SHELL_ON_WINDOWSis now dead configuration.Consider removing this env var since Windows is no longer in the matrix.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In @.github/workflows/tests.yml at line 18, Remove the obsolete environment variable UNIX_SHELL_ON_WINDOWS from the tests workflow: locate the env block in the .github/workflows/tests.yml where UNIX_SHELL_ON_WINDOWS: true is declared and delete that entry (or the sole line) since Windows runners are no longer in the matrix; ensure the rest of the env block and YAML indentation remain valid after removal..github/workflows/lint.yml (1)
14-14: Consider removingUNIX_SHELL_ON_WINDOWSsince Windows is no longer in the matrix.With the OS matrix reduced to
ubuntu-latestonly, theUNIX_SHELL_ON_WINDOWS: trueenvironment variable is now unused. This is harmless but could be cleaned up to avoid confusion.🧹 Optional cleanup
env: # environment variables shared between build steps # do not include sensitive credentials and tokens here, instead pass them # directly to tools that need them to limit the blast radius in case one of them # becomes compromised and leaks credentials to external sites. - # required by Makefile - UNIX_SHELL_ON_WINDOWS: true # set (to any value other than false) to trigger random unicode filenames testing (logs may be difficult to read)Also applies to: 24-24
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In @.github/workflows/lint.yml at line 14, Remove the now-unused UNIX_SHELL_ON_WINDOWS environment variable from the GitHub Actions lint workflow: locate the env entry named UNIX_SHELL_ON_WINDOWS in the lint workflow's environment block and delete that key (and any duplicate occurrence noted around the second mention) so the workflow no longer exposes an unused Windows-specific flag; ensure the workflow remains valid YAML after removal.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In @.github/workflows/lint.yml:
- Line 14: Remove the now-unused UNIX_SHELL_ON_WINDOWS environment variable from
the GitHub Actions lint workflow: locate the env entry named
UNIX_SHELL_ON_WINDOWS in the lint workflow's environment block and delete that
key (and any duplicate occurrence noted around the second mention) so the
workflow no longer exposes an unused Windows-specific flag; ensure the workflow
remains valid YAML after removal.
In @.github/workflows/tests.yml:
- Line 18: Remove the obsolete environment variable UNIX_SHELL_ON_WINDOWS from
the tests workflow: locate the env block in the .github/workflows/tests.yml
where UNIX_SHELL_ON_WINDOWS: true is declared and delete that entry (or the sole
line) since Windows runners are no longer in the matrix; ensure the rest of the
env block and YAML indentation remain valid after removal.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 11332781-e010-474f-afee-d369f8c0c309
📒 Files selected for processing (18)
.github/workflows/auto-merge.yml.disabled.github/workflows/check-pr-title.yml.disabled.github/workflows/code-coverage.yml.disabled.github/workflows/compat-test.yml.disabled.github/workflows/dependency-review.yml.disabled.github/workflows/endurance-test.yml.disabled.github/workflows/htmlui-tests.yml.disabled.github/workflows/license-check.yml.disabled.github/workflows/lint.yml.github/workflows/make.yml.disabled.github/workflows/ossf-scorecard.yml.disabled.github/workflows/providers-core.yml.disabled.github/workflows/providers-extra.yml.disabled.github/workflows/race-detector.yml.disabled.github/workflows/stale.yml.disabled.github/workflows/stress-test.yml.disabled.github/workflows/tests.yml.github/workflows/volume-shadow-copy-test.yml.disabled
|
/hold |
17b9975 to
3d57d7c
Compare
- Update branch filters from master to oadp-dev/oadp-1.* - Trim OS matrix to ubuntu-latest only - Remove Windows/macOS-specific install steps - Remove scheduled CI runs - Remove ci-integration-tests (uses upstream kopia commands) Signed-off-by: Michal Pryc <mpryc@redhat.com> Co-authored-by: Michal Pryc <mpryc@redhat.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
3d57d7c to
8a94073
Compare
|
/unhold |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
.github/workflows/tests.yml (1)
42-45: Integration tests removed from CI pipeline.The workflow now only runs
test-index-blob-v0andci-tests(unit tests). Theci-integration-testsstep (which runsrobustness-tool-testsandsocket-activation-tests) has been removed entirely.This eliminates integration test coverage from CI. If this is intentional for the downstream fork, consider documenting where/how integration tests are validated (e.g., separate pipeline, manual testing, or upstream reliance).
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In @.github/workflows/tests.yml around lines 42 - 45, The CI workflow removed the integration test job "ci-integration-tests" (which ran steps "robustness-tool-tests" and "socket-activation-tests"), removing integration coverage; to fix either restore the missing job or explicitly document the new integration test strategy: re-add a job named "ci-integration-tests" with steps that run "robustness-tool-tests" and "socket-activation-tests" (or call the existing target that runs both) and wire its needs/permissions/runner matching the original pipeline, or add a clear comment in the workflow header and repository README describing where/how integration tests are executed (e.g., separate pipeline name, manual run instructions, or relying on upstream CI).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In @.github/workflows/tests.yml:
- Around line 42-45: The CI workflow removed the integration test job
"ci-integration-tests" (which ran steps "robustness-tool-tests" and
"socket-activation-tests"), removing integration coverage; to fix either restore
the missing job or explicitly document the new integration test strategy: re-add
a job named "ci-integration-tests" with steps that run "robustness-tool-tests"
and "socket-activation-tests" (or call the existing target that runs both) and
wire its needs/permissions/runner matching the original pipeline, or add a clear
comment in the workflow header and repository README describing where/how
integration tests are executed (e.g., separate pipeline name, manual run
instructions, or relying on upstream CI).
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 444b1b2c-e493-481c-ad0a-9606a7a9cd94
📒 Files selected for processing (3)
.github/workflows/lint.yml.github/workflows/tests.ymlrepo/blob/azure/patch.go
✅ Files skipped from review due to trivial changes (1)
- repo/blob/azure/patch.go
🚧 Files skipped from review as they are similar to previous changes (1)
- .github/workflows/lint.yml
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kaovilai, mpryc, shubham-pampattiwar The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Summary
Structured as 2 clean commits for easy cherry-pick to oadp-1.6 (and oadp-vmdp).
Signed-off-by: Michal Pryc mpryc@redhat.com
🤖 Generated with Claude Code
Summary by CodeRabbit