Skip to content

CI: build against OpenMS develop, publish docs and a runtime payload - #4

Merged
timosachsenberg merged 2 commits into
mainfrom
claude/admiring-tesla-n9a3lm
Dec 2, 2026
Merged

timosachsenberg merged 2 commits into
mainfrom
claude/admiring-tesla-n9a3lm

Conversation

@timosachsenberg

@timosachsenberg timosachsenberg commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Deployment pilot, MetaProSIP side (steps 1 and 3 of the handoff plan).

  • Core from OpenMS develop. OpenMS develop no longer contains MetaProSIP (Move MetaProSIP to the OpenMS-MetaProSIP repository OpenMS#11036, 9ad3eeb6), so OPENMS_CORE_DEFAULT_REF is develop instead of the deleted extraction branch. This PR's CI builds the core from develop fresh on all three platforms. openms-core stays in source mode until an OpenMS nightly SDK and installer built after #11036 are published (the nightly branch is still at the pre-split commit c109fc7e); then its default switches to sdk.
  • Documentation (Linux x64): the CI builds the doxygen docs (--target doc) and uploads documentation-metaprosip. Publishing them under a versioned URL is not part of this PR (needs the archive upload secrets and a URL decision).
  • Runtime payload (Linux x64, tools/ci/payload.py): the CMake install component MetaProSIP (executable + share/OpenMS/TOOLS/MetaProSIP.tsv), stripped, with RUNPATH $ORIGIN/../lib/, as a deterministic tarball plus MetaProSIP-payload.json: platform, architecture, the commit that was built (on a pull request the merge commit refs/pull/N/merge, whose sources and references the binary matches; the PR head separately as pull_request_head), the core it was built against (version, commit, GNU build IDs of the core libraries the executable links), the file inventory (sha256, size, build ID), the tarball's sha256 and the run URL. Uploaded as MetaProSIP-payload-Linux-X64; OpenMS-Distribution stages it only after checking checksum, platform and core build IDs.
  • Installed test: before upload, the payload is installed into the core it was built against and TOPP test 1 runs from that installation with a clean environment (tools/ci/test_installed.sh: one registry entry, MetaProSIP and FuzzyDiff from the prefix, both reference CSVs).

Test plan

  • payload.py create / check-core locally on an ELF build linked against the OpenMS 2026.12.02 nightly libraries: RUNPATH, NEEDED and build IDs as expected, mismatch detected
  • shellcheck on test_installed.sh
  • CI of 5c733e2 on all three platforms against OpenMS develop 9ad3eeb6 (fresh core builds); on Ubuntu also docs, payload (core build IDs checked) and the installed test (both reference CSVs from the installation)
  • CI of 43934cd on all three platforms (cached core of develop 9ad3eeb6); the payload records commit = the merge commit, ref = refs/pull/4/merge, pull_request_head = 43934cd
  • after merge: test.yml on main with core_mode=source core_ref=develop core_exact=true
  • once a post-split nightly exists: sdk mode, payload consumed by OpenMS-Distribution

Part of the deployment pilot with OpenMS/openms-distribution (PR follows).

https://claude.ai/code/session_0149aXmZhZtnMkPBQ7zPTrXN


Generated by Claude Code

OpenMS develop no longer contains MetaProSIP (OpenMS/OpenMS#11036, 9ad3eeb6),
so the CI builds the core from develop when no core_ref is given instead of the
deleted extraction branch.

On Linux x64 the CI now also
- builds the doxygen documentation (target doc) and uploads html-metaprosip;
- creates the runtime payload of the tool (tools/ci/payload.py): install
  component MetaProSIP, stripped, RUNPATH $ORIGIN/../lib/, as a deterministic
  tarball with a JSON record of the tool commit, the core it was built against
  (version, commit, GNU build IDs of the core libraries the executable links)
  and the file inventory with checksums;
- installs that payload into the core it was built against and runs TOPP test
  1 from the installation with a clean environment
  (tools/ci/test_installed.sh);
- uploads the payload as MetaProSIP-payload-Linux-X64, which
  OpenMS-Distribution can stage after checking it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0149aXmZhZtnMkPBQ7zPTrXN
On a pull request, the CI checks out and builds the merge commit
(refs/pull/N/merge), but the payload recorded the head of the pull request as
the commit it was built from. OpenMS-Distribution takes the fixtures of its
installed test at that commit, so the references could differ from the ones
the binary matches. The payload now records github.sha as tool.commit (the
merge commit on a pull request, consistent with tool.ref) and the head of the
pull request separately as tool.pull_request_head.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0149aXmZhZtnMkPBQ7zPTrXN
@timosachsenberg
timosachsenberg marked this pull request as ready for review December 2, 2026 17:10
@timosachsenberg
timosachsenberg merged commit 0a84f6b into main Dec 2, 2026
3 checks passed
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.

2 participants