Skip to content

Autochangelog: Renovate PR table not parsed (Unicode → arrow), entries silently skipped #936

Closed

Description

@c-vigo

Problem

vig_utils.renovate_changelog_pr._parse_change_cell only matches the ASCII arrow -> (regex at renovate_changelog_pr.py:23,27), but Renovate PR bodies use the Unicode arrow → (U+2192), e.g. `v4.2.0` → `v4.4.0`. So _parse_table_updates returns [] for every real Renovate PR. A changelog entry only appears when the title fallback matches (digest bumps, single update X to Y); grouped PRs (#866) and pins (#861) silently get no entry.

The existing tests never caught this because their fixtures use ASCII -> (14×) with 0 Unicode arrows.

Repro

from vig_utils.renovate_changelog_pr import _parse_table_updates
row = '| [docker/login-action](x) | action | minor | `v4.2.0` → `v4.4.0` |'
_parse_table_updates(row)  # → []  (should parse docker/login-action v4.2.0→v4.4.0)

Fix

  • Widen the change-cell regex to accept both → and ->.
  • Add tests using the real Unicode arrow (quoted + unquoted/digest cells).

Discovered while verifying autochangelog behaviour on recreated #862/#866.

Activity

  1. c-vigo commented on Jul 8, 2026

    @c-vigo
    ContributorAuthor

    Resolved by #937 (merged to dev, commit b87a781). renovate-changelog-pr now parses change cells with the Unicode arrow → (and ASCII ->), so grouped Renovate PRs get a changelog entry. Verified end-to-end against the real #866 body (all three updates parsed) and with the full vig-utils suite.

  2. added a commit that references this issue on Jul 9, 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions