Skip to content

ci: generate the release notes from the pull request descriptions - #117

Merged
grubmeshi merged 2 commits into
mainfrom
ci/release-notes-from-pr-descriptions
Nov 26, 2026
Merged

grubmeshi merged 2 commits into
mainfrom
ci/release-notes-from-pr-descriptions

Conversation

@grubmeshi

Copy link
Copy Markdown
Collaborator

Ports tools/releaser from building-block-runner. When a tag is pushed, it builds the release notes from the feat, fix and ! commits since the previous tag. The text of each entry comes from the leading blockquotes of the merged pull request description. goreleaser publishes the notes with --release-notes, so the changelog: section of .goreleaser.yml is removed. The Release Notes Preview workflow shows the notes on every push to main.

  • A breaking change now takes the !, client/ included.
  • The version hint never raises the major version: a feat or a breaking commit raises the minor version, anything else the patch version.
  • The release-notes skill describes how to write the entries.

Preview of v0.10.0..v0.11.0:

Requires meshStack 2026.47.0 or later.

## Features
- read updateableByConsumer of a building block input (#99 by @tfelix)
- use the GA API versions of building blocks and their definitions (#84 by @grubmeshi)
- add user and workspace user group clients (#96 by @cschroer)
- add the BUILDING_BLOCK_UUID input assignment type (#95 by @tfelix)

## Fixes
- end a browser login that keycloak grants another access level than the chosen one (#100 by @sttomm)
- list the definitions published by other workspaces with 'bbd list', and add 'bbd marketplace' (afc75d5 by @grubmeshi)

🤖 Generated with Claude Code

Port tools/releaser from building-block-runner. It builds the release
notes from the feat, fix and breaking commits since the previous tag and
takes the text of each entry from the leading blockquotes of the merged
pull request description. goreleaser publishes these notes through
--release-notes, so the changelog section of .goreleaser.yml goes away.
A preview runs on every push to main.

A breaking change now takes the `!`, client/ included, so it lands under
Breaking changes. The version hint never raises the major version: a
feat or a breaking commit raises the minor version, anything else the
patch version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@grubmeshi
grubmeshi force-pushed the ci/release-notes-from-pr-descriptions branch from 5138835 to 2917f7d Compare November 26, 2026 19:28
@meshcloud-gh-actions

Copy link
Copy Markdown

Coverage of the acceptance run against the meshStack backend, on 2917f7deb076c629fd3b683f3f2ac20cb4dc7e36.

Scope Coverage
Unit tests 79.0%
Acceptance tests 56.6%
Combined 83.5%
Uncovered functions
client/api_key.go:18: MeshApiKey.meshObjectId 0.0%
client/api_key_permissions.go:20: ApiKeyPermissions.AllCodes 0.0%
client/api_key_permissions.go:33: ApiKeyPermissions.WorkspaceCodes 0.0%
client/api_key_permissions.go:263: AllApiKeyPermissions 0.0%
client/api_key_permissions.go:267: WorkspacePermissionCodes 0.0%
client/binding_status.go:18: *MeshGroupBindingStatus.WaitsForApproval 0.0%
client/binding_status.go:22: *MeshUserBindingStatus.WaitsForApproval 0.0%
client/building_block_definition.go:68: MeshBuildingBlockDefinitionApprovalPolicies.NothingRequiresApproval 0.0%
client/building_block_definition.go:79: DisabledSchedule 0.0%
client/building_block_definition.go:86: MeshBuildingBlockDefinitionSchedule.IsDisabled 0.0%
client/building_block_definition.go:90: MeshBuildingBlockDefinitionSpec.HasNeutralPolicies 0.0%
client/building_block_definition.go:94: MeshBuildingBlockDefinitionSpec.WithNeutralPolicies 0.0%
client/building_block_definition.go:148: MeshBuildingBlockDefinition.meshObjectId 0.0%
client/building_block_definition_version.go:99: MeshBuildingBlockType.TagInputTargets 0.0%
client/building_block_definition_version.go:220: MeshBuildingBlockDefinitionVersion.meshObjectId 0.0%
client/building_block_definition_version.go:223: MeshBuildingBlockDefinitionVersion.meshObjectNoSortQuery 0.0%
client/building_block_run.go:138: meshBuildingBlockRunClient.Claim 0.0%
client/building_block_run.go:158: MeshBuildingBlockRun.Abort 0.0%
client/building_block_run.go:181: MeshBuildingBlockRun.meshObjectId 0.0%
client/building_block_run_source.go:64: meshBuildingBlockRunClient.RegisterSource 0.0%
client/building_block_run_source.go:73: meshBuildingBlockRunClient.UpdateSourceSteps 0.0%
client/building_block_run_source.go:78: meshBuildingBlockRunClient.DownloadArtifact 0.0%
client/building_block_run_source.go:87: meshBuildingBlockRunClient.UploadArtifact 0.0%
client/building_block_run_source.go:98: *cappedWriter.Write 0.0%
client/building_block_runner.go:67: MeshBuildingBlockRunner.meshObjectId 0.0%
... and 71 more

covdata func names a method without its receiver, so an entry can belong to an implementation nothing selects rather than to a function the tests never reached. Open the file and line before reading one as a coverage gap.

@sonarqubecloud

Copy link
Copy Markdown

The release notes take their sections from the commit titles, so the
main-protection ruleset accepts only a title of a known type. Admins and
maintainers can bypass it, as in terraform-provider-meshstack and
building-block-runner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@grubmeshi
grubmeshi merged commit d3b0140 into main Nov 26, 2026
11 checks passed
@grubmeshi
grubmeshi deleted the ci/release-notes-from-pr-descriptions branch November 26, 2026 20:14
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