Repository navigation
build(pip): lock file maintenance - #1315
Merged
Merged
Conversation
c-vigo
approved these changes
Jul 30, 2026
c-vigo
left a comment
Contributor
There was a problem hiding this comment.
Renovate batch for the 1.5.1 train (maintainer-directed merge).
Merged
This was referenced Aug 11, 2026
c-vigo
added a commit
that referenced
this pull request
Aug 11, 2026
## Summary Replaces the per-PR Renovate/adoption changelog pipeline with release-time synthesis (Closes #1423). - **New `synthesize-bot-changelog`** (vig-utils): enumerates merged bot PRs since the last stable tag from git history, fetches metadata via `gh api`, and regenerates a `#### Dependencies` block under `### Changed` — **net delta per dependency** (earliest `from`, latest `to`, all PRs cited; zero-delta disappears), **lock-file-maintenance rollups per ecosystem** (previously skipped entirely — verified gap in devkit #1315/#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. - **Wired at the two dispatch points that own changelog mutation**: `prepare-release.yml` (before the content gate and the freeze, so the entries ride the freeze commit) and the finalize pass (`release.yml` root / `release-core.yml` scaffold, 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. - **Deleted** `renovate-changelog-build.yml` + `renovate-changelog-commit.yml` (root + scaffold), their sync-manifest entry, zizmor baselines, and preset exclusions; retired via the #1348 retired-paths manifest (1.8.0). Bot PR branches no longer receive changelog commits → concurrent Renovate PRs stop conflicting on `## Unreleased`, Renovate's `rebaseWhen: conflicted` self-rebase works again (the bot author was never in `gitIgnoredAuthors`, so it was dead wiring), and the double CI run per bot PR disappears. The latent release-branch bug (bot PR based on `release/**` inserting into the empty post-freeze Unreleased) dies with the pipeline. - **Scaffold cut contract**: the Unreleased content gate moves from the host-only validate job into the toolchain-capable prepare job (still ahead of the freeze) so a train whose only content is bot PRs passes; `tag-prefix` threads through for prefixed consumer tag schemes. - **`just changelog-preview`**: read-only preview of the pending block (root + scaffold). ## Evidence - TDD: contract pinned first (`e71d005`), implementation (`d609947`), wiring (`9d9b778`), docs (`8e0e190`). - vig-utils suite 512 passed; root pytest sweep 604 passed (2 pre-existing env-dependent exclusions: devcontainer gh-auth); `tests/bats/init-workspace.bats` 238/238 incl. rendered-template actionlint (#995); flake dev-shell parity green (`synthesize-bot-changelog` on PATH); `pre-commit run --all-files` green. - **Live proof** against real GitHub data (detached worktree at `12e4b38`, window `1.6.0..HEAD`): grouped PR #1368 flattens to four real `old → new` rows, digest PR #1367 renders `d1ba80a → 5595cca`, lockfile PR #1369 rolls up as `Lock 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. - Reverted-bump edge: PR-metadata coalescing can overstate if a Renovate bump is later reverted by a non-bot commit — recorded as out of scope in #1423 (convention: reverts carry their own hand-written entry). - Consumers still on ≤1.7.x briefly lose the preset exclusion for the (now retired) pair; the devkit-upgrade cron (Mon 06:00) runs before Renovate's schedule (Mon <09:00), so the exposure window is minimal. - First live end-to-end exercise lands at the next train's cut/finalize. 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.
This PR contains the following updates:
🔧 This Pull Request updates lock files to use the latest dependency versions.
Configuration
📅 Schedule: (in timezone Etc/UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.