Skip to content

CI: install rclone and ccache on Windows from OpenMS/chocolatey-packages - #10560

Merged
timosachsenberg merged 3 commits into
developfrom
claude/happy-lovelace-ibw222
Oct 14, 2026
Merged

timosachsenberg merged 3 commits into
developfrom
claude/happy-lovelace-ibw222

Conversation

@timosachsenberg

@timosachsenberg timosachsenberg commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

The Chocolatey community feed fails often (e.g. a 504 on rclone.portable failed this job).

  • rclone (1.75.2) and ccache (4.14.1) now come from OpenMS/chocolatey-packages, like doxygen already does: its packages download pinned GitHub release zips and check their SHA256, and are installed from the local build (choco install -s .), so the community feed is not involved.
  • Used by tools/ci/deps-windows.sh and the pyOpenMS wheels Windows job.
  • rsync (pinned 6.2.7) and cmake/ninja still come from the community feed.

Depends on OpenMS/chocolatey-packages#1, which adds the two packages; merge it first, since the Windows jobs clone that repo's trunk.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UFThLd6bYAZiPrdrwGfx8d

Summary by CodeRabbit

  • Chores
    • Windows build workflows now install rclone and other CI tools from locally built Chocolatey packages instead of the community feed. The rsync version remains unchanged.

…A256 check

The Chocolatey community feed returned a 504 for rclone.portable and failed
the whole Windows job. Fetch pinned release zips with curl retries instead and
verify them against a recorded SHA256. rsync stays on choco (pinned 6.2.7,
no upstream release zip).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01AjPemB9tAThx27Re3pD7iU
RUNNER_TOOL_CACHE is C:\hostedtoolcache\windows; bash cannot use that in PATH,
so rclone was not found right after its install.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01AjPemB9tAThx27Re3pD7iU
@pjones

pjones commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

This is why I created this repo. I was working around the issues with installing doxygen.

Comment thread tools/ci/deps-windows.sh Outdated
ccache \
rclone
# These are only needed in CI (fetched from GitHub releases, SHA256-checked):
bash "$(dirname "$0")/install-windows-tools.sh" rclone ccache

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.

Why create a new file? I think it's already bad that we have these files (due to CI security issues) but I don't see a way around that.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

ok thanks, will improve

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done in 3c03649: install-windows-tools.sh is gone. rclone and ccache are now packages in OpenMS/chocolatey-packages (OpenMS/chocolatey-packages#1, same pattern as doxygen: pinned GitHub release, SHA256-checked), and deps-windows.sh and the wheels job install them from the local build with choco install -s .. That PR needs to be merged first, since the Windows jobs here clone its trunk.


Generated by Claude Code

@OpenMS OpenMS deleted a comment from coderabbitai Bot Oct 14, 2026
As suggested in review: instead of a separate download script, take the
two tools from the OpenMS/chocolatey-packages repository, which
deps-windows.sh already builds for doxygen. Its packages download the
same pinned GitHub releases and check their SHA256, so the community
feed is no longer involved. Drops tools/ci/install-windows-tools.sh;
Chocolatey's shims put rclone and ccache on PATH as before.

Needs the ccache and rclone packages on chocolatey-packages' trunk.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UFThLd6bYAZiPrdrwGfx8d
@timosachsenberg timosachsenberg changed the title CI: install rclone and ccache on Windows from GitHub releases CI: install rclone and ccache on Windows from OpenMS/chocolatey-packages Oct 14, 2026
@coderabbitai

coderabbitai Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: de17e27f-8a1b-4b3a-a74b-58dc2a85c292
📥 Commits

Reviewing files that changed from the base of the PR and between 3e75ce6 and 3c03649.

📒 Files selected for processing: 2
  • .github/workflows/pyopenms-wheels-cibuildwheel.yml
  • tools/ci/deps-windows.sh

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.

📝 Walkthrough

Windows CI now installs rclone from locally built Chocolatey packages. The dependency script also installs ccache from the local package source. The wheel workflow continues to install rsync at version 6.2.7.

Changes: Windows CI tools

Layer / File(s) Summary
Install tools from local packages
.github/workflows/pyopenms-wheels-cibuildwheel.yml, tools/ci/deps-windows.sh
The wheel workflow clones and builds OpenMS/chocolatey-packages before installing rclone. The dependency script installs ccache and rclone from the local package source. Its comment identifies the packages as pinned GitHub releases checked by SHA256.

Priority: ⬇️ Low

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 3c036

The Windows CI installation paths prepare their local package source before using it, leaving no identified merge-blocking issue in this change.

Pre-merge checks: Passed 5
Passed Passed checks: 5 passed
Check name Status Explanation
Docstring Coverage Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 2 files. (1 skipped: 1 …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: installing rclone and ccache on Windows from the OpenMS/chocolatey-packages repository.
✨ Finishing Touches: 💡 1
🛠️ Fix failing CI checks: 💡
  • Commit to this branch
  • Create a new PR
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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

A rabbit hops past packages built,
With SHA256 checks in place.
Rclone joins the Windows tools,
And ccache finds its local home.
The rabbit nibbles, pleased with the change.

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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants