[AAASM-3503] 🔧 (ci): SDK release operator-dispatch only (no auto-publish on core release)#171
Conversation
…ed SDK release) The repository_dispatch: agent-assembly-release-published trigger set npm_version from the core agent-assembly tag and forced a real publish, which npm rejected as a duplicate on every core release (independent SDK version iterator). Per the AAASM-3007 operator-gated SDK-release SOP, drop the trigger so release-node is workflow_dispatch-only. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Merge-readiness review — READY to approve ✅CI: all 17 checks green. test (18/20/22/24), napi-build (20/22), quality, module-smoke (18/20/22), Analyze ×2 + CodeQL, coverage-and-analysis, codecov/patch, SonarCloud — all pass. No red, no acceptance-class exceptions needed. Scope vs AAASM-3503 — complete and correct for node-sdk:
Correctness note: the FFI-pin handoff does not depend on this dispatch (core's Verdict: READY to merge. This is operator-gated by design; beta.3/beta.4 are already fully published and there is no in-flight release window, so the PR-body "merge after confirming no in-flight release" condition is satisfied. Leaving the actual merge to the operator per policy. — Claude Code |



What changed
Removes the
repository_dispatch: agent-assembly-release-publishedtrigger fromrelease-node.yml, making it operator-dispatch-only (workflow_dispatch). The now-unreachablerepository_dispatchresolve branch and itsclient_payloadreference are removed; the publish/docsif:gates already keyed offdry_run/publish_modeoutputs and are unaffected.Why
The core
agent-assemblyrelease.ymlnotify-downstreamstep fires thisrepository_dispatchon every core publish. The resolve step setnpm_version="${DISPATCH_PAYLOAD_TAG#v}"(the core tag),publish_mode=all, and forceddry_run=false— a real publish. Because the Node SDK has an independent version iterator and is at/ahead of the core-derived version, npm rejects the duplicate and the publish step fails on every core release.27861677199(2026-06-20T05:34Z) and again 2026-06-15T09:36Z — builds succeed, only publish fails.workflow_dispatch.update-node-sdk-ffi-pinPR job, so the FFI-pin handoff does not depend on this dispatch — dropping the trigger loses nothing.How to verify
actionlint .github/workflows/release-node.ymlis clean.workflow_dispatchpath (the working manual release path, incl.main-onlyanddry-run) is unchanged.client_payloadreferences.Relates AAASM-3503. References AAASM-3007 (operator-gated SDK-release SOP).
Note: merge after confirming no in-flight release window.
🤖 Generated with Claude Code