Repository navigation
feat: synthesize bot changelog entries at release time - #1425
Merged
Merged
Conversation
The per-PR Renovate changelog pipeline conflicts every open bot PR on the same Unreleased lines, silently skips lock-file-maintenance PRs, and sends release-branch PR entries into the post-freeze Unreleased. Pin the replacement: synthesize-bot-changelog coalesces the merged bot-PR window since the last stable tag to net deltas per dependency and regenerates a #### Dependencies block at cut and finalize. Refs: #1423
synthesize-bot-changelog enumerates merged bot PRs since the last stable tag, fetches their metadata via gh api, coalesces per-dependency net deltas (lock-file-maintenance rollups per ecosystem, adoptions to the shipped devkit version) and regenerates the #### Dependencies block in the target section. renovate_changelog_pr.py shrinks to the parsing library the synthesizer consumes; its CLI and insertion path are superseded. Refs: #1423
Wire synthesize-bot-changelog into the two dispatch points that own changelog mutation — prepare-release (before the content gate and the freeze) and the finalize pass (release.yml at the root, release-core in the scaffold, final kind only, before the date stamp) — and delete the per-PR renovate-changelog build/commit pair from root and scaffold. The scaffold content gate moves from the host-only validate job into the toolchain-capable prepare job so a bot-only train still passes. Retire the shipped pair via the retired-paths manifest and drop it from the renovate feature set, the sync manifest and the zizmor baselines. A changelog-preview recipe gives read-only mid-cycle visibility. Refs: #1423
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.
Summary
Replaces the per-PR Renovate/adoption changelog pipeline with release-time synthesis (Closes #1423).
synthesize-bot-changelog(vig-utils): enumerates merged bot PRs since the last stable tag from git history, fetches metadata viagh api, and regenerates a#### Dependenciesblock under### Changed— net delta per dependency (earliestfrom, latestto, all PRs cited; zero-delta disappears), lock-file-maintenance rollups per ecosystem (previously skipped entirely — verified gap in devkit build(pip): lock file maintenance #1315/build(pip): lock file maintenance #1369 and consumers), and adoption entries coalesced to the shipped devkit version. The block is the tool's only owned region, rebuilt wholesale each run — idempotent by construction; hand-written entries are never touched.prepare-release.yml(before the content gate and the freeze, so the entries ride the freeze commit) and the finalize pass (release.ymlroot /release-core.ymlscaffold, final kind only, before the date stamp). A bot PR merged into the release branch mid-train is reachable from HEAD at finalize, so it cannot ship unchronicled; candidates stay changelog-neutral.renovate-changelog-build.yml+renovate-changelog-commit.yml(root + scaffold), their sync-manifest entry, zizmor baselines, and preset exclusions; retired via the fix(install): upgrade does not prune scaffold files retired since the consumer's pinned version #1348 retired-paths manifest (1.8.0). Bot PR branches no longer receive changelog commits → concurrent Renovate PRs stop conflicting on## Unreleased, Renovate'srebaseWhen: conflictedself-rebase works again (the bot author was never ingitIgnoredAuthors, so it was dead wiring), and the double CI run per bot PR disappears. The latent release-branch bug (bot PR based onrelease/**inserting into the empty post-freeze Unreleased) dies with the pipeline.tag-prefixthreads through for prefixed consumer tag schemes.just changelog-preview: read-only preview of the pending block (root + scaffold).Evidence
e71d005), implementation (d609947), wiring (9d9b778), docs (8e0e190).tests/bats/init-workspace.bats238/238 incl. rendered-template actionlint (Adopt actionlint for authored and per-mode rendered workflow templates #995); flake dev-shell parity green (synthesize-bot-changelogon PATH);pre-commit run --all-filesgreen.12e4b38, window1.6.0..HEAD): grouped PR ci(actions): update github-actions (minor and patch) #1368 flattens to four realold → newrows, digest PR chore(deps): update github/codeql-action digest to 5595cca #1367 rendersd1ba80a → 5595cca, lockfile PR build(pip): lock file maintenance #1369 rolls up asLock file maintenance (pip)— the entry the old pipeline silently dropped. On current dev the window is correctly empty.Notes for review
#1404's adoption-entry transport is superseded (never live-proven at a train); the entry format and title parser survive and are reused.Refs: #1423