fix(release): pass --manual-override-reason to ClawHub publish#1030
Conversation
The `lobu` ClawHub slug has a trusted-publisher config, so ClawHub now rejects the scripted CLI publish of @lobu/openclaw-plugin with "Manual publishes for packages with trusted publisher config require manualOverrideReason" — which failed the 9.3.0 publish run's final [4/4] ClawHub step (npm side published fine). The synchronized npm + ClawHub release is driven by publish-packages.mjs from the OIDC release workflow, so pass that as the documented override reason. Verified with `clawhub package publish … --dry-run`.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe ChangesClawHub Publish with Manual Override Reason
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Comment |
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
What
The 9.3.0 publish run's final
[4/4] Publishing to ClawHubstep failed:The
lobuClawHub slug has a trusted-publisher config, so ClawHub treats the scriptedclawhub package publishof@lobu/openclaw-pluginas a manual publish and requires an explicit override reason. npm published@lobu/openclaw-plugin@9.3.0fine; only the ClawHub marketplace mirror was left behind.Fix
Pass
--manual-override-reason "synchronized npm + ClawHub release via scripts/publish-packages.mjs (publish-packages.yml)"to thepublishToClawhubinvocation inscripts/publish-packages.mjs.Validation
node --checkclean.clawhub package publish <staged> … --manual-override-reason … --dry-run→ no error, renders the full publish preview (12 files, 104.8 KB). The flag clears the rejection.After merge, re-dispatching
publish-packages.ymlrepublishes (npm idempotently skips the already-published 9.3.0 packages) and the ClawHub step publisheslobu@9.3.0.Summary by CodeRabbit