Repository navigation
CI: build against OpenMS develop, publish docs and a runtime payload - #4
Merged
Merged
Conversation
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
8 tasks done
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
marked this pull request as ready for review
December 2, 2026 17:10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Deployment pilot, MetaProSIP side (steps 1 and 3 of the handoff plan).
OPENMS_CORE_DEFAULT_REFisdevelopinstead of the deleted extraction branch. This PR's CI builds the core from develop fresh on all three platforms.openms-corestays insourcemode 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 tosdk.--target doc) and uploadsdocumentation-metaprosip. Publishing them under a versioned URL is not part of this PR (needs the archive upload secrets and a URL decision).tools/ci/payload.py): the CMake install componentMetaProSIP(executable +share/OpenMS/TOOLS/MetaProSIP.tsv), stripped, with RUNPATH$ORIGIN/../lib/, as a deterministic tarball plusMetaProSIP-payload.json: platform, architecture, the commit that was built (on a pull request the merge commitrefs/pull/N/merge, whose sources and references the binary matches; the PR head separately aspull_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 asMetaProSIP-payload-Linux-X64; OpenMS-Distribution stages it only after checking checksum, platform and core build IDs.tools/ci/test_installed.sh: one registry entry, MetaProSIP and FuzzyDiff from the prefix, both reference CSVs).Test plan
payload.py create/check-corelocally on an ELF build linked against the OpenMS 2026.12.02 nightly libraries: RUNPATH, NEEDED and build IDs as expected, mismatch detectedtest_installed.shcommit= the merge commit,ref=refs/pull/4/merge,pull_request_head= 43934cdtest.ymlon main withcore_mode=source core_ref=develop core_exact=truesdkmode, payload consumed by OpenMS-DistributionPart of the deployment pilot with OpenMS/openms-distribution (PR follows).
https://claude.ai/code/session_0149aXmZhZtnMkPBQ7zPTrXN
Generated by Claude Code