Repository navigation
[FIX,CI] Nightly Release: make SDK README generation work with BSD awk - #10435
Conversation
…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
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe README-template ChangesSDK README substitution
Priority: ➖ Normal Change: Bug fix Merge Risk: ⚪ Minimal · up to 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)
✨ Finishing Touches📝 Generate docstrings
🧪 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 README line, Comment |
|
Ok |
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
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
The nightly
Releaseworkflow has been failing onmacos-15in the "Package the Developer SDK" step with:tools/ci/package_sdk.shpasses the two-line Boost requirement text to awk with-v. BSD awk on macOS rejects a newline inside a-vassignment, 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, andbash -npasses. 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