Skip to content

Drop push-based downstream fan-out in favor of self-polling#323

Merged
TeoSlayer merged 1 commit into
mainfrom
drop-push-fanout
Jun 23, 2026
Merged

Drop push-based downstream fan-out in favor of self-polling#323
TeoSlayer merged 1 commit into
mainfrom
drop-push-fanout

Conversation

@TeoSlayer

Copy link
Copy Markdown
Collaborator

What

Removes the publish-downstream job from release.yml (added in #322). The release workflow is back to: test → build binaries → create GitHub Release. A comment in its place points to the new self-updating downstream watchers.

Why

publish-downstream dispatched the SDK publish.yml workflows and pushed the Homebrew formula from here, which required cross-repo PATs (RELEASE_DISPATCH_TOKEN, HOMEBREW_TAP_TOKEN) — a workflow's built-in GITHUB_TOKEN can't write to sibling repos. Without those PATs the job's gate step fails every release.

Each downstream now pulls instead of being pushed to, polling this repo's public latest release on a schedule and acting with its own token:

  • TeoSlayer/homebrew-pilotupdate-formula.yml (own GITHUB_TOKEN)
  • pilot-protocol/sdk-noderelease-watch.yml → own publish.yml (NPM_TOKEN)
  • pilot-protocol/sdk-pythonrelease-watch.yml → own publish.yml (PYPI_API_TOKEN)

Net result: zero cross-repo PATs anywhere in the pipeline. Binary build + GitHub Release logic is untouched.

Validated: actionlint reports the same 7 pre-existing shellcheck infos as before (zero new), all in the untouched build/release scripts.

@TeoSlayer TeoSlayer merged commit d2e7eaf into main Jun 23, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants