Skip to content

New CI Build/Release Workflows - #9523

Merged
timosachsenberg merged 21 commits into
OpenMS:developfrom
pjones:pjones/release
Jul 29, 2026
Merged

timosachsenberg merged 21 commits into
OpenMS:developfrom
pjones:pjones/release

Conversation

@pjones

@pjones pjones commented Jun 15, 2026 •

Copy link
Copy Markdown
Contributor

A sneak peak of what I'm up to.

Totally missing the release stuff right now.

Summary by CodeRabbit

  • New Features
    • Expanded release automation: multi-OS build/test, installer/source packaging, and publishing release assets plus website update PRs.
    • Added automated cherry-pick backports to release branches.
    • Improved release versioning/tag handling with generated release announcements.
  • Improvements
    • Refined deployment syncing for remote installer/docs publishing.
    • Updated test invocation and adjusted Thermo RAW conversion test coverage.
    • Refreshed CI dependency sets and streamlined CI workflow structure by removing legacy orchestration scripts.

@timosachsenberg timosachsenberg 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.

I found one CI coverage regression in this workflow replacement.

Comment thread .github/actions/build/action.yml Resolved
@pjones
pjones force-pushed the pjones/release branch 2 times, most recently from 64d5ae7 to 1e0d251 Compare June 17, 2026 07:44
Comment thread .github/actions/dependencies/action.yml Resolved

Copy link
Copy Markdown
Contributor

Adversarial review result: I found CI/release workflow issues that should be fixed before this lands.

  1. The macOS notarization step changes into $GITHUB_WORKSPACE/bld/, but the new composite build action creates and uses build/, and the package step also runs in build/. With signing certificates present, notarization will fail before it can find the generated .pkg.

  2. In .github/actions/dependencies/action.yml, the Install .NET SDK (macOS) step still has if: inputs.os == 'macOS', but this PR removes the os input and switches the action to runner.os. That condition will never be true, so the setup-dotnet step is dead. If brew install dotnet is now the intended replacement, the stale step/condition should be removed or updated deliberately; otherwise use runner.os == 'macOS'.

Cleanup required: git diff --check reports trailing whitespace in .github/workflows/release.yml at lines 55, 94, and 101.

No source/test comments with tracker-style issue references stood out in this diff.

I did not run the workflows locally.

@pjones

pjones commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author
1. The macOS notarization step changes into
   `$GITHUB_WORKSPACE/bld/`, but the new composite build action
   creates and uses `build/`, and the package step also runs in
   `build/`. With signing certificates present, notarization
   will fail before it can find the generated `.pkg`.

Fixed.

2. In `.github/actions/dependencies/action.yml`, the `Install
   .NET SDK (macOS)` step still has `if: inputs.os == 'macOS'`,
   but this PR removes the `os` input and switches the action to
   `runner.os`. That condition will never be true, so the
   setup-dotnet step is dead. If `brew install dotnet` is now
   the intended replacement, the stale step/condition should be
   removed or updated deliberately; otherwise use `runner.os ==
   'macOS'`.

Fixed by removing that entire section in the YAML file. Installing
dotnet in deps-macos.sh is sufficient.

Cleanup required: git diff --check reports trailing whitespace in
.github/workflows/release.yml at lines 55, 94, and 101.

Fixed.

@timosachsenberg

Copy link
Copy Markdown
Contributor

One minor note: we might also need a step where we build the sphinx documentation. I did it locally and some errors popped up (there is a lot of subtile stuff like trailing underscores in variable names gets misinterpreted by sphinx / RST parsers etc.).

@pjones

pjones commented Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

One minor note: we might also need a step where we build the sphinx documentation. I did it locally and some errors popped up (there is a lot of subtile stuff like trailing underscores in variable names gets misinterpreted by sphinx / RST parsers etc.).

@timosachsenberg

Do we ship the sphinx documentation as part of the release?

Do you think it would be better to have a separate workflow that only runs on Linux and tests to sphinx documentation?

@timosachsenberg

Copy link
Copy Markdown
Contributor

AFAIK we currently update it based on our nightlies and if a release has been tagged.
We don't have any package for the documentation, but rely on the build with readthedocs.
I think in principle this could run on PRs as well (I think Josh did host it locally).

@pjones
pjones force-pushed the pjones/release branch 2 times, most recently from 2fe7e2d to 31d99ad Compare June 23, 2026 12:04
@pjones
pjones force-pushed the pjones/release branch 2 times, most recently from 0e2effe to ffc15b4 Compare July 13, 2026 14:11
@pjones
pjones force-pushed the pjones/release branch 6 times, most recently from 0b29c63 to cdb3be0 Compare July 17, 2026 10:01

Copy link
Copy Markdown
Contributor

CI status check: the windows-2022, cl.exe job in this PR's "Release" workflow has failed on every run since at least 2026-07-16 (e.g. run 29572035991), always at the same spot:

CMake Error: Could not create named generator Visual Studio 18 2026

Root cause: .github/actions/dependencies/action.yml (lines 52-54) hardcodes

cmake -G"Visual Studio 18 2026" -Ax64 -DBUILD_TYPE=ALL ...

with a comment noting this generator requires the VS2026 toolchain that ships on windows-2025 runners. But .github/workflows/release.yml's matrix still targets windows-2022 (which only has VS2022, generator "Visual Studio 17 2022"), unlike openms_ci_matrix_full.yml, which was already updated to use windows-2025 for this reason. The two workflows are out of sync.

Fix is likely one of:

  • bump the Windows entry in release.yml's matrix to windows-2025 (to match openms_ci_matrix_full.yml), or
  • make the generator string in dependencies/action.yml conditional on the runner image instead of hardcoded.

Flagging since this has been silently failing release-build CI on this branch for several days.


Generated by Claude Code

@pjones
pjones force-pushed the pjones/release branch 6 times, most recently from 42622d8 to c30f970 Compare July 21, 2026 14:00
Commit b1abdcf ("CI: Factor out the build and release process") carried
an unrelated rollback of the contrib submodule from e127deaf back to
186aacfb, its own ancestor. That reverts contrib PR OpenMS#184 ("CI: Visual
Studio 2026 support"), most likely a stale pointer picked up during a
rebase.

The windows-2025 runner image now ships Visual Studio 2026 (MSVC v145),
so the dependencies action configures contrib with
-G "Visual Studio 18 2026". The rolled-back contrib only accepts
'Visual Studio {14,15,16,17}' and aborts during configure:

  CMake Error at CMakeLists.txt:342 (message):
    Please use 'Visual Studio ??' (??={14, 15, 16, 17}) as Generator

Point contrib back at e127deaf, i.e. the same revision develop uses.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@timosachsenberg
timosachsenberg merged commit f0c4723 into OpenMS:develop Jul 29, 2026
33 checks passed
timosachsenberg added a commit that referenced this pull request Jul 30, 2026
Audited recently merged develop PRs against CHANGELOG (last backfill
attempt was #9811/#9806, covering up to #9803). Four merged PRs since
then were missing entries: #9824 (IsobaricWorkflow empty-feature
pruning fix), #9523 (new CI build/release workflows), #9812 (pyOpenMS
docstring fixes) and #9798 (Bioconda nightly deploy fix, whose two
prior backfill attempts were closed unmerged). #9821 (internal
TODO-comment correction, no behavior/doc change) and #9805/#9803
(test-only / already covered by the #9792 write-up) were left out,
consistent with this repo's convention of not logging
test-infrastructure-only or already-documented changes.


Claude-Session: https://claude.ai/code/session_01WU21QuzvxLH5BuSxatVikX

Co-authored-by: Claude <[email protected]>
@coderabbitai coderabbitai Bot mentioned this pull request Aug 19, 2026
2 of 5 tasks
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.

4 participants