fix(release): pin clawhub publish to --family code-plugin#108
Conversation
The existing `hivemind` package on ClawHub was originally registered
with family=code-plugin (verified via `clawhub package inspect
hivemind` → "Family: Code Plugin"). Without an explicit `--family`
flag, the clawhub CLI's auto-detection on this openclaw plugin layout
picks a different default (bundle-plugin), and ClawHub's server
rejects with:
ConvexError: Package "hivemind" already exists as a code-plugin;
family changes are not allowed
at handler (../convex/packages.ts:4305:8)
Pinning `--family code-plugin` matches what's already registered and
lets the publish proceed. Verified locally: a successful test publish
of `hivemind@0.0.1-test` to the `test` tag (latest=0.6.56 untouched)
under the @kaghni token went through cleanly with this flag — without
it, exact same auth/data hits the family-mismatch error every time.
Pairs with the openclaw rename (drop `@deeplake` scope) earlier in
this branch + the 1Password token swap to @kaghni's. All three needed
for the workflow's clawhub publish leg to succeed.
|
ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe release workflow is modified to explicitly pass the ChangesClawHub Release Configuration
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Claude finished @kaghni's task in 48s —— View job ReviewReviewed the diff against
Findings: none blocking.
Per repo review policy, no inline comments — nothing rises to the bar of a real bug, security issue, or correctness concern. |
Coverage ReportNo Generated for commit 6570539. |
Summary
Adds
--family code-pluginto theclawhub package publishinvocation inrelease.yml. Was meant to land in PR #107 but the merge happened before this commit got included — the family-fix commit (5759109) was pushed to that branch but the merge was finalized using an earlier tip. Re-opening it stand-alone here.Why
After PR #107 merged, the next Release run is going to hit this on the ClawHub publish step:
The existing
hivemindpackage on ClawHub was originally registered withfamily=code-plugin(verified viaclawhub package inspect hivemind→Family: Code Plugin). The clawhub CLI's auto-detection on this openclaw plugin layout picks a different default (bundle-plugin), so without an explicit--familyflag it tries to publish as the wrong family and ClawHub refuses.Fix
One-line change in
.github/workflows/release.yml:Plus a comment block explaining why.
Verified locally
Test publish run from this machine using the @kaghni token (matches what 1Password now hands CI):
Without
--family code-pluginthe same auth/data hitsfamily changes are not allowedevery time. With it, publish succeeds. Latest tag on ClawHub stayed at 0.6.56 (test publish only set atesttag). Ownership/auth verified working under @kaghni.Test plan
latesttag bumps from 0.6.56 to 0.7.12Summary by CodeRabbit