Skip to content

Snapshot publication candidate changelog fragments#984

Merged
anth-volk merged 2 commits into
mainfrom
feat/publication-candidate-changelog-snapshot
May 14, 2026
Merged

Snapshot publication candidate changelog fragments#984
anth-volk merged 2 commits into
mainfrom
feat/publication-candidate-changelog-snapshot

Conversation

@anth-volk
Copy link
Copy Markdown
Collaborator

@anth-volk anth-volk commented May 14, 2026

Fixes #983

Summary

  • Snapshot candidate changelog fragments under .github/publication_candidates/{run_id}/changelog.d/ during push versioning instead of rendering CHANGELOG.md for candidate commits.
  • Store run-scoped publication_scope.json alongside the candidate snapshot and make run context resolution prefer that run-scoped scope during promotion.
  • Restore the candidate changelog snapshot during promotion, then build CHANGELOG.md only when finalizing the release version.

Testing

  • uv run --no-sync --with pytest python -m pytest tests/unit/test_publication_scripts.py -q
  • uv run --no-sync --with pyyaml python scripts/run_quality_guards.py
  • ruff check .github/bump_version.py .github/scripts/resolve_run_context.py .github/scripts/restore_publication_changelog.py tests/unit/test_publication_scripts.py
  • make lint

@anth-volk anth-volk marked this pull request as ready for review May 14, 2026 18:48
@anth-volk anth-volk merged commit e77fad5 into main May 14, 2026
12 checks passed
@anth-volk anth-volk deleted the feat/publication-candidate-changelog-snapshot branch May 14, 2026 18:48
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.

Snapshot candidate changelog fragments for publication promotion

1 participant