Skip to content

fix(release): add release notes extraction fallback and enforce changelog version check #140

Closed

Description

@dan-petty

Description

GitHub Actions release orchestration run 34529613798 failed at step Extract Release Notes when running devops release notes --raw -v 0.2.15 because _extract_changelog_notes failed when CHANGELOG.md was missing the version header. Furthermore, devops release check only warned on version mismatch rather than failing prior to release build.

Root Cause

  1. devops release check treated CHANGELOG version discrepancies as a non-fatal warning, allowing release verification to succeed even when the target version was not yet recorded in CHANGELOG.md.
  2. devops release notes had no fallback mechanism (e.g. docs/RELEASE_NOTES.md or git commit history) and exited with code 1, crashing the release workflow.
  3. .github/workflows/release.yml had no resilience or fallback handling if release notes extraction failed.

Acceptance Criteria

  1. devops release check enforces matching version in CHANGELOG.md when verifying releases.
  2. devops release notes falls back to docs/RELEASE_NOTES.md or git commit log if CHANGELOG.md does not contain the version.
  3. .github/workflows/release.yml provides a fallback to commit log if release notes extraction is empty.
  4. Unit tests in tests/test_release.py.

Activity

  1. added this to the v0.2.16 milestone on Sep 11, 2026
  2. added
    type/bug
    scope/cli
    priority/p1-high
    status/in-progress
    on Sep 11, 2026
  3. added a commit that references this issue on Sep 12, 2026
  4. removed
    status/in-progress
    on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p1-highscope/clitype/bug

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions