Repository navigation
Prepare changelog for 26.8 - #111720
Merged
Merged
Prepare changelog for 26.8#111720
Conversation
Edited by the NightlyChangelog CI job following .claude/skills/edit-changelog/SKILL.md.
Contributor
Author
|
Workflow [PR], commit [6368209] Summary: ❌
|
Edited by the NightlyChangelog CI job following .claude/skills/edit-changelog/SKILL.md.
Edited by the NightlyChangelog CI job following .claude/skills/edit-changelog/SKILL.md.
Edited by the NightlyChangelog CI job following .claude/skills/edit-changelog/SKILL.md.
Edited by the NightlyChangelog CI job following .claude/skills/edit-changelog/SKILL.md.
Edited by the NightlyChangelog CI job following .claude/skills/edit-changelog/SKILL.md.
Edited by the NightlyChangelog CI job following .claude/skills/edit-changelog/SKILL.md.
Edited by the NightlyChangelog CI job following .claude/skills/edit-changelog/SKILL.md.
Edited by the NightlyChangelog CI job following .claude/skills/edit-changelog/SKILL.md.
Edited by the NightlyChangelog CI job following .claude/skills/edit-changelog/SKILL.md.
Edited by the NightlyChangelog CI job following .claude/skills/edit-changelog/SKILL.md.
Edited by the NightlyChangelog CI job following .claude/skills/edit-changelog/SKILL.md.
Edited by the NightlyChangelog CI job following .claude/skills/edit-changelog/SKILL.md.
Edited by the NightlyChangelog CI job following .claude/skills/edit-changelog/SKILL.md.
628 raw entries generated with tests/ci/changelog.py, by hand on a workstation: the NightlyChangelog job has not been able to push since 2026-08-13, so the branch has been stuck at 2485f14 while master moved 11 days ahead. Same script and arguments as the job runs, only outside the style-test container. Changelog-generated-up-to: 191b814
Edited following .claude/skills/edit-changelog/SKILL.md, by hand on a workstation: the editing step of the NightlyChangelog job has been failing its own verification since 2026-08-12, so three raw blocks had accumulated (47 + 84 + 628 entries). Of the 759 raw entries, 482 are integrated into the in-progress 26.8 section and 277 are dropped: - Section 3: the 300 `NOT FOR CHANGELOG / INSIGNIFICANT` entries are dropped, except 41 that describe a user-visible change and are promoted into a real category, among them a server abort on a corrupt `ORC` stripe footer (#114924), `EXPLAIN ANALYZE` for streaming queries (#112445), `SELECT` from `TimeSeries` (#115622), streaming watermarks (#106169), and the `clickhouse-local` CORS overrides (#115129). - Section 2: every revert in the range cancels out inside it, so neither side appears. Two are re-applications: #114912 re-applies the `accurateCastOrDefault` fix, so #109946 keeps its entry with both links and the intervening revert #114911 is gone; #114409 re-applies the PromQL streaming plan, recorded on the #113656 entry. - Section 4: `Build/Testing/Packaging Improvement` keeps the seven entries a user, packager or from-source builder notices (musl `getaddrinfo` and `sched_getcpu`, signed macOS artifacts, Debian packages for release builds only, zstd-compressed Docker layers, `unit_tests_dbms` without the full library set, vendored Rust built with optimizations locally) and drops the CI plumbing. - Sections 5 and 6: bare pull request URLs converted to links, settings put in backticks, four entries rewritten from developer notes into user-visible descriptions, and three moved into `Performance Improvement`. No entry of a strict-retention category was deleted: the job's own `verify_edit` passes on this edit. Not done here, because the release manager does it at release time: the full significance sort, the aggressive merging of sibling pull requests, and the `FIXME` release date and presentation links.
The `clickhouse_spelling` check failed on `CHANGELOG.md:366: Clickhouse`, in an entry whose text came verbatim from the pull request body. Spell the product name, and fix the `loose`/`lose` typo in the same sentence (`edit-changelog` skill, section 5f). https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=111720&sha=26f037689408e03502e6769d2ee5a03a3e4979ce&name_0=PR&name_1=Style%20check Related: #111720
alexey-milovidov
marked this pull request as ready for review
August 25, 2026 00:30
alexey-milovidov
added a commit
that referenced
this pull request
Aug 25, 2026
The `clickhouse_spelling` check failed on the 26.8 changelog pull request (`CHANGELOG.md:366: Clickhouse`) because an entry carried the misspelling straight out of the pull request body it was generated from. The editing skill lists the typos to fix, so list this one - it is now enforced by CI - along with `loose`/`lose` from the same sentence. Related: #111720
pull Bot
pushed a commit
to SINHASantos/ClickHouse
that referenced
this pull request
Aug 25, 2026
The `NightlyChangelog` job has not updated ClickHouse#111720 since 2026-08-13: every run since then fails with RuntimeError: Failed to push auto/changelog-26.8 preceded by `HTTP 401: Bad credentials` from every `gh` call in the second half of the run. The GitHub App installation token is valid for an hour, and a run is much longer than that (1h12m to 1h43m in the last ten days). The job does try to refresh it before the editing attempts and before creating the pull request, but `GHAuth.auth` mints a token at most once per process unless `force` is set, so those calls have always been no-ops, and there was no refresh before the push at all. In the run of 2026-08-24 the token was minted at 02:50:30, the first `Bad credentials` appeared at 03:47:57, and the push failed at 04:32:17. Mint a fresh token in every step that talks to GitHub - `changelog.py`, each editing attempt, the revert resolution of the edit verification, the push, the pull request lookup, and the per-version processing - through a `refresh_gh_token` helper that passes `force=True`. What made the runs cross the one-hour mark is `prepare repository`: the CI checkout is shallow, and `git fetch --unshallow origin` pulled the trees and blobs of the entire history plus every branch, which took 30 to 36 minutes of each run. The job only walks the commit graph (the range from the cycle start tag to master), so fetch the commits without contents: `--filter=tree:0` against the master refspec only, the same way praktika unshallows the repository for its own jobs. The few old file versions the job does read are fetched lazily from the promisor remote. With the push working again, the raw entries land on the branch and the `Changelog-generated-up-to:` trailer advances, which also ends the loop where each night regenerated a bigger block than the night before (579 entries on 2026-08-24 instead of the usual ~50) and so took even longer. The editing step itself has been failing its own fail-closed verification since 2026-08-12 (`Entries disappeared in the edit without a matching revert`), which is a separate problem: that run finished inside the hour with a valid token. This change makes the raw entries reach the pull request again while that is investigated. Related: ClickHouse#111255 Related: ClickHouse#111220
This was referenced Aug 26, 2026
kavirajk
pushed a commit
to kavirajk/ClickHouse
that referenced
this pull request
Aug 26, 2026
`docs/resources/changelogs/oss/2026.mdx` is generated from `CHANGELOG.md` by `docs/_site/scripts/update_changelogs.py`. Pull request ClickHouse#111720 added the 26.8 section to `CHANGELOG.md` without re-running the generator, so the generated page went stale and `Check changelogs` in `Docs check (Mintlify)` fails on every pull request that touches `docs/resources/changelogs/`. Regenerated with `python3 _site/scripts/update_changelogs.py` from `docs/`. Related: ClickHouse#111720 Related: ClickHouse#116048 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
valerypetrov
pushed a commit
to valerypetrov/ClickHouse
that referenced
this pull request
Aug 28, 2026
The editing step of the `NightlyChangelog` job has been failing its own
verification every night since 2026-08-12, always the same way:
Entries disappeared in the edit without a matching revert (['103182', '109946'])
`verify_edit` requires that every raw entry of a strict-retention category
keeps its pull request link - an entry may be rewritten, merged or moved, but
not dropped, because the generation point has already moved past it and no
later run will offer it again. The prompt never said so, and the skill stated
the rule only implicitly, so the agent pruned entries it judged
insignificant: `ClickHouse#103182` (`Lightweight Updates v2`, a `Backward Incompatible
Change`) was deleted outright.
The second half of the same failure is the revert handling. `ClickHouse#109946` fixed
the propagation of settings in `accurateCastOrDefault`, `ClickHouse#114911` reverted
it, and `ClickHouse#114912` reverted that revert - all three in one range. The skill
covers this in section 2.5, but the agent reached the "landed and then
reverted, so delete both" rule first and lost a fix that ships.
So:
- The prompt now lists the strict-retention categories (from
`STRICT_RETENTION_CATEGORIES`, so the two cannot drift apart), says which
entries may be deleted and why deleting anything else is unrecoverable, and
states the revert-of-revert rule.
- The skill gets a retention rule ahead of the individual edits, and the
walk over `NO CL ENTRY` checks whether a revert is itself reverted before
it concludes that a change was reverted. The `accurateCastOrDefault` chain
is written out there as the worked example.
- A retry now tells the agent why the previous attempt was rejected. Without
it, all three attempts of a run reproduced the same edit and the same
rejection - visible in every run from 2026-08-12 on.
A hand edit that followed these rules passed `verify_edit` on the first try,
which is how the 26.8 backlog (759 raw entries) was cleared in
ClickHouse#111720.
Related: ClickHouse#111720
Related: ClickHouse#116138
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.
Automated daily preparation of
CHANGELOG.mdfor the upcoming 26.8 release.Every day the
NightlyChangelogCI job appends the raw changelog entries for the pull requests newly merged intomaster(generated withutils/changelog/changelog.py) as one commit, and edits them following.claude/skills/edit-changelog/SKILL.mdas a separate commit, so both the raw and the edited state stay reviewable. The point up to which entries were generated is recorded as aChangelog-generated-up-to:trailer in the generate commits.This pull request stays a draft until the release. The release manager finalizes it manually: fills in the release date and the presentation/video links (the
FIXMEplaceholders), reviews the entries, and marks it ready.Changelog category (leave one):
Workflow [PR]
Sync PR [sync-upstream/pr/111720]
Version info
26.9.1.57(included in26.9and later)