[AAASM-3503] 🔧 (ci): SDK release operator-dispatch only (no auto-publish on core release)#157
Merged
Chisanan232 merged 1 commit intoJun 20, 2026
Conversation
…ed SDK release) The repository_dispatch: agent-assembly-release-published trigger derived pypi_version from the core agent-assembly tag and forced a real publish, which PyPI 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-python is workflow_dispatch-only; repoint the docs release-tag handoff to resolve.outputs.release_tag. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
Author
Merge-readiness review — AAASM-3503Verdict: READY to approve. Safe to merge now (no in-flight release: beta.3/beta.4 already fully published; this is a release-workflow change with no runtime/registry effect). CI — all green (4/4)
Scope vs AAASM-3503 — complete & correct (python-sdk side)
Notes
— Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Removes the
repository_dispatch: agent-assembly-release-publishedtrigger fromrelease-python.yml, making it operator-dispatch-only (workflow_dispatch). The now-unreachablerepository_dispatchresolve branch and itsclient_payloadreferences are removed, and the docspublish-release-taghandoff is repointed fromclient_payload.release_tagto the resolve job's computedrelease_tagoutput (so it now works on the operator path).Why
The core
agent-assemblyrelease.ymlnotify-downstreamstep fires thisrepository_dispatchon every core publish. The resolve job derivedpypi_versionfrom the core tag (tag_to_pep440) and forceddry_run=false— a real publish. Because the Python SDK has an independent version iterator and is at/ahead of the core-derived version, PyPI rejects the duplicate and the publish step fails on every core release.27861677495(2026-06-20T05:34Z) and again 2026-06-15T09:36Z — builds succeed, only publish fails.workflow_dispatch.update-python-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-python.ymlis clean.workflow_dispatchpath (the working manual release path) 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