Skip to content

fix(changelog): unbreak main -- 0.84.1's Tests note was shown cut off - #592

Merged
padak merged 1 commit into
mainfrom
fix/changelog-0841-headline
Aug 14, 2026
Merged

fix(changelog): unbreak main -- 0.84.1's Tests note was shown cut off#592
padak merged 1 commit into
mainfrom
fix/changelog-0841-headline

Conversation

@padak

@padak padak commented Aug 14, 2026

Copy link
Copy Markdown
Member

main is red right now. test_newest_release_notes_are_not_truncated fails on 275f96d.

What happened

#591 added a test asserting the newest version's release notes are not truncated in kbagent changelog / the "What's new" banner. #589 was written and CI'd before that test existed, and was never re-run against the newer main, so both PRs were green and merging them in order produced a red main.

Its Tests: note opens with a 161-character sentence — one character over CHANGELOG_HEADLINE_MAX_CHARS — so the summary broke off at "... and CI stayed green …".

The fix

One dash becomes a period. Same words, same order, nothing dropped:

chars summary
before 161 ... a shape no real component ever returns, so the off-by-one-level validation matched it and CI stayed green …
after 99 Tests: the mock schema in \tests/test_config_create_service.py` was itself the reason this shipped.`

Note

This is exactly the failure mode in #585 — CI checks the merge commit, but only recomputes it when the PR is updated, so a branch that sits while main moves reports a green result for a merge that no longer exists. #560 hit the same thing earlier today (33 commits stale) and was caught only because the merge was simulated by hand first. Here it landed.

Worth deciding on #585's option 1 (require branches up to date) — this is the second occurrence in one day.


Open in Devin Review

#589 and #591 were both green and merged in that order, and main came out
red: #591 added the headline-length test, #589's CI predated it, and nothing
re-ran #589 against the newer main. Its "Tests:" note opens with a 161-char
sentence, one over the cap.

Splitting it in two is the whole fix -- same words, a period instead of a
dash. The note now summarises as "the mock schema ... was itself the reason
this shipped." instead of breaking off at "CI stayed green …".

This is the failure mode issue #585 describes, with a consequence this time:
a merge-commit check is only as fresh as the last CI run on the branch, and
two independently-green PRs can still land broken.

@devin-ai-integration devin-ai-integration 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@padak
padak merged commit 0903fbc into main Aug 14, 2026
5 checks passed
@padak
padak deleted the fix/changelog-0841-headline branch August 14, 2026 11:03
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