Repository navigation
[CI] Let the first v3.6.0 tag build upload and name its release artifacts - #10282
Conversation
…acts 3.6.0 is tagged without a release candidate, so its tag build is the first run of release.yml's tag path. The nightly never exercises three parts of it: - Upload: dst is /OpenMSInstaller/release/3.6.0, but the archive has no OpenMSInstaller/release/ yet, and rsync without --mkpath creates only the last directory. The failed upload would also skip Publish Release (the GitHub release) and the website update, which depend on it. Pass mkpath for releases only, so the working nightly upload stays as it is. - Package names: a tag checkout is a detached HEAD, so CMake named the packages 3.6.0-pre-HEAD-<date>. If HEAD is exactly the tag v<version> of this version, use the tag as refspec and name them 3.6.0. - Source tarball: it was OpenMS-release-3.6.0.tar.gz; the Bioconda recipe downloads OpenMS-<version>.tar.gz. Nightly tarballs keep their name. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YC1T2K9HQEUk2kQMZqC8h7
|
@poshul, could you quickly check the server side of this? The
If it is simpler, a one-time Generated by Claude Code |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughCMake recognizes an exact tag matching the package version as a plain version. The release workflow computes a source archive filename based on build version state and uses it for archive creation, upload, and download. It excludes build-generated workspace contents and sets installer deployment’s ChangesRelease Versioning
Suggested reviewers: Priority: ➖ Normal Change: Bug fix Merge Risk: ⚪ Minimal · up to No demonstrated issue blocks merging. Confirm the release destination with the server operator as part of deployment. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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. A rabbit checks the version tag, Comment |
The tarball is taken from the workspace after the build, which also holds .ccache, .vcpkg-cache and the third-party tools in _thirdparty. The nightly's OpenMS-nightly-2026.09.25.tar.gz was 1.34 GB for that reason; OpenMS-3.5.0.tar.gz was 260 MB. With this PR the release tarball becomes the source the Bioconda recipes download, so exclude the three directories. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YC1T2K9HQEUk2kQMZqC8h7
|
checked on build archive. should work |
Description
3.6.0 will be released from the tag
v3.6.0without a release candidate, so that tag build is the first run of the tag path inrelease.yml(#9523). The nightly never runs three parts of it. A fourth problem also affects the nightly.deploy-installeruploads to/OpenMSInstaller/release/3.6.0. The archive has noOpenMSInstaller/release/yet, onlynightly/andexperimental/.--mkpath, rsync creates only the last directory of the destination, so the upload fails.publish-release(the GitHub release) andcreate-website-updatedepend on this upload, so they would be skipped too.mkpathinput. It is now set fromhas_version, so it applies only to releases and the nightly upload runs as before.Documentation/release/exists.git rev-parse --abbrev-ref HEAD) isHEAD. Until now only the refspecsrelease*andmastergot the plain version, so the tag build's installers would have been named3.6.0-pre-HEAD-<date>.HEADand HEAD is exactly the tagv<version>of the version in CMakeLists.txt, the tag becomes the refspec and the packages are named3.6.0.-pre-HEAD-name, which makes the mismatch visible.VersionInfo::getBranch()reportsv3.6.0.OpenMS-release-3.6.0.tar.gz, but the Bioconda recipes downloadOpenMS-<version>.tar.gz. A release's tarball is nowOpenMS-3.6.0.tar.gz. Nightly tarballs keep their name,OpenMS-nightly-<date>.tar.gz..ccache/,.vcpkg-cache/and the third-party tools in_thirdparty/. Thetarcommand now excludes these three directories.OpenMS-nightly-2026.09.25.tar.gz(run 36082352087) was 1.34 GB for that reason;OpenMS-3.5.0.tar.gzwas 260 MB.Server side
--mkpathworks with the deploy key. The vcpkg cache upload in the same nightly run callsrsync … --mkpath …with the sameARCHIVE_RRSYNC_*secrets, and it succeeds./OpenMSInstaller/release/<version>is the intended place for releases. This is the "rsync server layout" item from New CI Build/Release Workflows #9523 (comment).Not part of this PR
releases/download/release%2F{{ version }}/…) has to move to thevtag (releases/download/v{{ version }}/…) when the recipes are bumped to 3.6.0. That change belongs in bioconda-recipes.Validation
Package names were checked with the real
cmake/Modules/GetGitRevisionDescription.cmakeand the changed block, configured in a scratch repository at version 3.6.0:v3.6.03.6.0v3.6.03.6.0v3.6.0, withv3.6.1on a later commitv3.6.03.6.0nightlybranchnightly3.6.0-pre-nightly-<date>(as before)v3.6.1, which does not match CMakeHEAD3.6.0-pre-HEAD-<date>(as before)HEAD3.6.0-pre-HEAD-<date>(as before)release/3.6.0branchrelease/3.6.03.6.0(as before)OpenMS-3.6.0.tar.gzforv3.6.0andOpenMS-nightly-<date>.tar.gzfor a nightly. The nightly name is unchanged.tarcommand on a mock workspace. Before this change the archive contained.ccache/,.vcpkg-cache/and_thirdparty/; now it does not, and the source files are still in it.actionlintandshellcheckreport no new findings forrelease.yml.Checklist
🤖 Generated with Claude Code
https://claude.ai/code/session_01YC1T2K9HQEUk2kQMZqC8h7
Summary by CodeRabbit