Skip to content

feat(config)!: Reject changelog path settings without workspaces - #922

Merged
BYK merged 1 commit into
masterfrom
feat/workspace-only-changelog-paths
Oct 22, 2026
Merged

BYK merged 1 commit into
masterfrom
feat/workspace-only-changelog-paths

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

changelog.includePaths and changelog.unownedPaths only change which release workspace owns a path. A configuration without workspaces has no ownership to change, so Craft accepted both settings and silently ignored them. That's how the objectstore case behind #920 started: includePaths in clients/.craft.yml looked like it should work, but did nothing.

Validation now rejects either setting in the top-level changelog when no workspaces are defined:

changelog.includePaths: Only release workspaces support this setting. Define "workspaces" to use it.

When workspaces exist, top-level values are still allowed because workspaces inherit them.

This is a breaking change for configs that set these keys without workspaces. A GitHub code search for includePaths in .craft.yml finds only getsentry/toolkit, which uses it inside a workspace. Repos like objectstore that need "only these directories" can define a workspace with unownedPaths: exclude plus includePaths (#921). This replaces the approach in #920.

via BYK.

--

View Junior Session in Sentry

changelog.includePaths and changelog.unownedPaths only affect release
workspace ownership. Without workspaces Craft silently ignored them, so
reject them during validation instead.

Co-Authored-By: BYK <burak.kaya@sentry.io>
@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-10-22 13:43 UTC

@BYK
BYK merged commit 88e9a86 into master Oct 22, 2026
30 checks passed
@BYK
BYK deleted the feat/workspace-only-changelog-paths branch October 22, 2026 13:43

This branch was successfully deployed

1 active deployment
false — 2f3ae055 Deployed Oct 22, 2026 by sentry-junior[bot] via Build #3159
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