Skip to content

feat!: stop cutting releases for chore commits#4

Merged
chhoumann merged 2 commits into
mainfrom
fix/no-chore-releases
Jul 11, 2026
Merged

feat!: stop cutting releases for chore commits#4
chhoumann merged 2 commits into
mainfrom
fix/no-chore-releases

Conversation

@chhoumann

Copy link
Copy Markdown
Owner

Removes the chore -> patch mapping from RELEASE_RULES, so tooling-only commits no longer generate release plans.

A chore commit is development tooling by definition - E2E runner swaps, formatter config, CI housekeeping. Mapping it to a patch release ships an update notification to every plugin user for a change that cannot affect the shipped bundle. PodNotes 2.19.1 (an E2E runner migration released as a public patch) is the motivating example.

build(deps) keeps its patch mapping because dependency bumps do land in the bundle. fix/feat/BREAKING CHANGE behave as before. A tooling-only release can still be produced by dispatching Prepare manually.

Marked breaking since it changes release behavior for every consumer (PodNotes, notetweet).

42/42 tests pass; the chore case moved from the bump table to the no-release plan test.

A chore commit is development tooling by definition - E2E runner swaps,
formatter config, CI housekeeping. Mapping it to a patch release ships an
update notification to every plugin user for a change that cannot affect
them; PodNotes 2.19.1 (an E2E runner migration) is the motivating example.

Only build(deps) keeps its patch mapping: dependency bumps land in the
shipped bundle. fix/feat/BREAKING behave as before. Consumers that want a
release for tooling-only changes can still dispatch Prepare manually.

BREAKING CHANGE: chore commits no longer produce a release plan.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4641c05ddd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/release-plan.mjs
{ type: "chore", release: "patch" },
{ scope: "deps", type: "build", release: "patch" },
];
export const RELEASE_RULES = [{ scope: "deps", type: "build", release: "patch" }];

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve a force path for chore-only releases

When the only post-tag change is a chore: commit that still needs publishing, this rule removal makes calculateReleasePlan() return release:false. The reusable Prepare workflow's manual dispatch path still invokes this same script without any release-type or force override and exits before materializing version files when the plan is not releasable, so manually dispatching Prepare cannot produce a chore-only release through the protected release-PR flow.

Useful? React with 👍 / 👎.

@chhoumann chhoumann merged commit 68068d2 into main Jul 11, 2026
1 check passed
@chhoumann chhoumann deleted the fix/no-chore-releases branch July 11, 2026 10:48
chhoumann added a commit to chhoumann/quickadd that referenced this pull request Jul 11, 2026
Point the release-prepare/trigger/release caller stubs at the new v3 tag
of chhoumann/obsidian-plugin-workflows. v3 brings three changes:

- feat!: stop cutting releases for chore-only commits
- fix: handle bare release merge subjects
- fix: retry the tag-verify read after createRef, closing the
  replication race that hit 2 of the first 3 production releases

Note the breaking change: a commit range containing only chore commits
will no longer produce a standing release PR (intended behavior, see
chhoumann/obsidian-plugin-workflows#4).
chhoumann added a commit to chhoumann/MetaEdit that referenced this pull request Jul 11, 2026
Point the release-prepare/trigger/release caller stubs at the new v3 tag
of chhoumann/obsidian-plugin-workflows. v3 brings three changes:

- feat!: stop cutting releases for chore-only commits
- fix: handle bare release merge subjects
- fix: retry the tag-verify read after createRef, closing the
  replication race that hit 2 of the first 3 production releases

Note the breaking change: a commit range containing only chore commits
will no longer produce a standing release PR (intended behavior, see
chhoumann/obsidian-plugin-workflows#4).
chhoumann added a commit to chhoumann/notetweet_obsidian that referenced this pull request Jul 11, 2026
Point the release-prepare/trigger/release caller stubs at the new v3 tag
of chhoumann/obsidian-plugin-workflows. v3 brings three changes:

- feat!: stop cutting releases for chore-only commits
- fix: handle bare release merge subjects
- fix: retry the tag-verify read after createRef, closing the
  replication race that hit 2 of the first 3 production releases

Note the breaking change: a commit range containing only chore commits
will no longer produce a standing release PR (intended behavior, see
chhoumann/obsidian-plugin-workflows#4).
chhoumann added a commit to chhoumann/PodNotes that referenced this pull request Jul 11, 2026
Point the release-prepare/trigger/release caller stubs at the new v3 tag
of chhoumann/obsidian-plugin-workflows. v3 brings three changes:

- feat!: stop cutting releases for chore-only commits
- fix: handle bare release merge subjects
- fix: retry the tag-verify read after createRef, closing the
  replication race that hit 2 of the first 3 production releases

Note the breaking change: a commit range containing only chore commits
will no longer produce a standing release PR (intended behavior, see
chhoumann/obsidian-plugin-workflows#4).
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.

1 participant