Repository navigation
fix(changelog): Keep AI summaries concise, distinct, and complete - #929
Merged
Merged
Conversation
Require one structured response key per summary group and allow one bounded repair of invalid model output. Prioritize migration context and require explicit body-in-changelog directives to prevent accidental PR body inclusion.
Contributor
|
BYK
approved these changes
Oct 24, 2026
BYK
enabled auto-merge (squash)
October 24, 2026 19:48
Resolve Valibot migration conflicts without restoring historical live tests.
This was referenced Oct 26, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Craft’s AI changelog could repeat the same explanation across levels, drop migration details, or fall back after duplicate summary IDs. The 3.0.0 release also included full PR bodies from incidental references to the legacy opt-in directive. This gives each level a distinct job while preserving every original entry and version-bump result.
#body-in-changelogline; code, quoted examples, comments and prose mentions do not opt in. Surrounding blank lines remain optional.All three levels remain independently selectable, hidden lower-level digests are reused, original entries are folded only once, and configuration defaults remain unchanged. No dependencies, distribution machinery or planning documents are added.
Normal CI uses a general standalone CLI/Actions E2E with a temporary Git repository and loopback HTTP fixtures. It checks all three summary levels, preserves every entry exactly once and the version-bump result, exercises one bounded structured-output repair, verifies fallback after persistent invalid output, and rejects transport retries. Both HTTP formats, configuration precedence, disabled summaries, missing credentials, and dry-run zero-call behavior remain covered. External HTTP is blocked in the fixture, and no model credentials or Copilot organization policy are needed for CI.
The permanent live workflow and historical release replay test are removed. Future provider investigations can add temporary live tests and remove them after validation.
Refs getsentry/publish#9985
The one-off live Copilot replay at
daf323fevalidated the summary behavior against exact 3.0.0 inputs before the replay machinery was removed. The subsequent upstream Valibot integration is covered by the generic E2E and strict-response regression tests. Unedited AI/no-AI Markdown and manifests retain all ten original entries and the major bump. This live evidence is separate from the deterministic CI fixtures.