Skip to content

[FIX,CI] Nightly Release: make SDK README generation work with BSD awk - #10435

Merged
timosachsenberg merged 1 commit into
developfrom
claude/laughing-wozniak-se0z7c
Oct 7, 2026
Merged

timosachsenberg merged 1 commit into
developfrom
claude/laughing-wozniak-se0z7c

Conversation

@timosachsenberg

@timosachsenberg timosachsenberg commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

The nightly Release workflow has been failing on macos-15 in the "Package the Developer SDK" step with:

awk: newline in string No Boost: the OpenMS... at source line 1

tools/ci/package_sdk.sh passes the two-line Boost requirement text to awk with -v. BSD awk on macOS rejects a newline inside a -v assignment, while GNU awk and mawk accept it, so only macOS fails.

The fix passes the text through the environment and reads it with ENVIRON, which is portable and needs no escape processing. The generated README content is unchanged. I checked the substitution output locally with mawk, and bash -n passes. I could not run the macOS job itself here, so the nightly run will confirm.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VGzdaNoUijsojmAi7hQbRs


Generated by Claude Code

Summary by CodeRabbit

  • Chores
    • Improved SDK packaging to handle multiline Boost requirements when generating the README.

…vironment

BSD awk on macOS rejects a newline in a -v assignment ('awk: newline in
string No Boost: the OpenMS...'), which failed the 'Package the Developer
SDK' step of the nightly Release workflow on macos-15.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VGzdaNoUijsojmAi7hQbRs
@coderabbitai

coderabbitai Bot commented Oct 7, 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: 01b06a44-111f-40f0-be6c-215deea45ea4
📥 Commits

Reviewing files that changed from the base of the PR and between b27b5d2 and 2f25f68.

📒 Files selected for processing (1)
  • tools/ci/package_sdk.sh

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


📝 Walkthrough

Walkthrough

The README-template awk command now reads the potentially multiline Boost requirement from the environment. Version and macOS deployment-target substitutions are unchanged.

Changes

SDK README substitution

Layer / File(s) Summary
Pass Boost requirement through environment
tools/ci/package_sdk.sh
The awk command reads BOOST_REQUIREMENT from ENVIRON instead of receiving it through a -v assignment.

Priority: ➖ Normal

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 2f25f

The SDK packaging change avoids BSD awk’s multiline -v limitation while preserving the intended README substitution; no concrete merge-blocking issue remains.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the BSD awk compatibility fix in the nightly SDK release workflow.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 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.
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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 checks the README line,
And finds the Boost requirement fine.
Through the environment it goes,
Where awk reads what it needs to know.
The rabbit hops beneath the moon,
And nibbles clover, pleased and soon.

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

@timosachsenberg

Copy link
Copy Markdown
Contributor Author

Ok

@timosachsenberg
timosachsenberg merged commit d63291d into develop Oct 7, 2026
14 checks passed
@timosachsenberg
timosachsenberg deleted the claude/laughing-wozniak-se0z7c branch October 7, 2026 03:42
timosachsenberg pushed a commit to timosachsenberg/openms-test-lab that referenced this pull request Oct 7, 2026
No installer has been published since 2026-10-01. Notarization works
again since 2026-10-06; the macOS job now fails in the SDK step on BSD
awk, fixed by OpenMS/OpenMS#10435 after today's build started. Today's
wheels pass every wheel check. The unpublished, notarized pkg relocates
no app (F11 passes); OpenSSL 3.6.4 (F6), the unsigned exe (F7), missing
licenses (F8, now also libpng in the pkg) and OpenDIA under New tools
(E2) remain.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmskqjZ8rz3sdTKoACxbqz
timosachsenberg pushed a commit that referenced this pull request Oct 9, 2026
Resolves the conflict in tools/ci/package_sdk.sh: develop (#10435) hands
the multi-line Boost requirement to awk through the environment, because
BSD awk on macOS rejects a newline in a -v assignment and the nightly
macOS packaging failed on it. The earlier merge of develop into this
branch (40020e1) had kept the -v form, which would have brought that
failure back. Both multi-line strings, the Boost and the MSVC
requirement, now travel through the environment; the single-line values
stay -v assignments.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01ThEP3zHLTqSAe1oQNcpHwK
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