Skip to content

Announce GitHub releases only for octane - #1237

Merged
trueadm merged 1 commit into
octanejs:mainfrom
o-alexandrov:release-only-octane-github-releases
Sep 22, 2026
Merged

trueadm merged 1 commit into
octanejs:mainfrom
o-alexandrov:release-only-octane-github-releases

Conversation

@o-alexandrov

@o-alexandrov o-alexandrov commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Requested in the Releases feed screenshot: every community binding Octane patches currently produces its own GitHub Release, so subscribing to Releases notifications means being bombarded with @octanejs/* patch bumps, and octane's own notes get buried.

Change

scripts/reconcile-github-releases.mjs now creates GitHub Releases only for octane. Everything else is unchanged:

  • Every publishable package is still published to npm.
  • Every published package still gets its annotated <name>@<version> tag, pushed in the same single atomic transaction, so nothing about tag repair or GitHub ref-hook load changes.
  • Per-package notes remain in each package's CHANGELOG.md.
  • The GraphQL release lookup is now scoped to the announced packages, so the reconciliation query shrinks from one field per publishable package to one.

The allowlist is a single named set (GITHUB_RELEASE_PACKAGES), so another package can be added later without touching the reconciliation loop.

Tests

node --test scripts/reconcile-github-releases.test.mjs passes. The existing sequential-creation and incomplete-changelog cases were updated, and one case was added that asserts a release containing only binding packages tags all of them, queries no release, and announces nothing.


Note

Low Risk
Release metadata behavior changes for community packages (no GitHub Release), but npm publish and tag repair are unchanged; risk is limited to release visibility and notifications.

Overview
GitHub release reconciliation now announces only octane on the Releases feed. Community @octanejs/* packages still publish to npm and still get annotated <name>@<version> tags in the same atomic push; only the GitHub Release step is gated by a GITHUB_RELEASE_PACKAGES allowlist.

Release lookup and creation run against that filtered set, so GraphQL queries shrink and binding patch bumps no longer flood notifications. Workflow summary output adds a count of packages announced as releases. Docs (docs/releases.md) describe the policy and clarify that changelog skips apply to announced packages only.

Tests assert tags for all packages while releases are created only for octane, including binding-only runs that query and announce nothing.

Reviewed by Cursor Bugbot for commit 75840d3. Bugbot is set up for automated code reviews on this repo. Configure here.

@o-alexandrov
o-alexandrov force-pushed the release-only-octane-github-releases branch from 834c5ee to c7f40bb Compare September 22, 2026 12:18
Community binding packages are versioned on nearly every octane patch, so
every release buried octane's own notes and made Releases notifications
unusable. Keep publishing and annotated tags for all packages; restrict
GitHub release creation to octane.
@o-alexandrov
o-alexandrov force-pushed the release-only-octane-github-releases branch from c7f40bb to 75840d3 Compare September 22, 2026 17:07
@trueadm
trueadm merged commit 0668d2d into octanejs:main Sep 22, 2026
29 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