Skip to content

feat: Phase J J1 changelog generator from PR titles -- parse_pr_title, ChangelogEntry, format_changelog, 63 tests - #904

Merged
cschanhniem merged 1 commit into
mainfrom
feat/j1-changelog-generator
Jul 10, 2026
Merged

cschanhniem merged 1 commit into
mainfrom
feat/j1-changelog-generator

Conversation

@cschanhniem

Copy link
Copy Markdown
Collaborator

Implements J1 from NEXT_100_PR_MAP: changelog generator from PR titles.

What

  • src/openamp_foundry/changelog/changelog_entry.py: core module
  • parse_pr_title(title) → (type, scope, description) using conventional-commit regex
  • build_changelog_entry(pr_number, title, sha, date) → ChangelogEntry
  • group_entries_by_type(entries) → dict[str, list[ChangelogEntry]]
  • format_changelog(changelog) → markdown string with sections per type
  • KNOWN_ENTRY_TYPES: feat/fix/docs/test/refactor/chore/perf/ci/build/style
  • KNOWN_PHASES: Phase A through Phase J and Phase P
  • 63 tests across 6 test classes
  • BASELINE: 7717 → 7780

Why

PR history is the repo audit trail. parse_pr_title parses the consistent 'type: Phase X description (#N)' format all PRs use.

Disconfirming pass

  • Pure data transformation; no policy changed
  • No safety/calibration/release logic touched
  • No existing modules modified

…, ChangelogEntry, format_changelog, 63 tests (#902)
@cschanhniem
cschanhniem merged commit d9885d4 into main Jul 10, 2026
0 of 2 checks passed
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.

1 participant