Skip to content

CCM-14750: Add release-check git and release-note readers - #293

Draft
m-houston wants to merge 3 commits into
ccm-14750/release-check-foundationfrom
ccm-14750/release-check-git-notes
Draft

m-houston wants to merge 3 commits into
ccm-14750/release-check-foundationfrom
ccm-14750/release-check-git-notes

Conversation

@m-houston

@m-houston m-houston commented Sep 24, 2026 •

Copy link
Copy Markdown

Description

This slice adds the git and release-note reading capabilities needed to identify what a release contains before we compare it with Jira.

It includes:

  • reading release metadata from git tags and repository history
  • parsing release-note sources into a form the tool can work with
  • tests around the release-note and git-reading behaviour

Context

For NHS governance, we need confidence that the tickets represented in a release can be traced from the source history into the release-check flow.

This PR keeps the scope to local release evidence only: it teaches the tool how to read what has shipped, but it does not yet call Jira or decide whether tracking is correct.

Why this is a separate slice

Git and release-note collection is the first real data source for the tool and is reusable by every higher layer. Reviewing it separately keeps the later comparison logic easier to follow.

Validation

  • package install
  • lint
  • typecheck
  • unit tests

Sensitive Information Declaration

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@m-houston
m-houston added this pull request to stack #299 September 24, 2026 16:22
@m-houston
m-houston force-pushed the ccm-14750/release-check-git-notes branch from 16575fe to 0780b2d Compare September 25, 2026 08:22
m-houston and others added 2 commits September 25, 2026 17:26
Restrict explicit Jira key detection to commit subjects so squash-merge bodies do not create false governance associations, such as CCM-11990 being grouped under CCM-1190 or Dependabot rollups being linked to ADR-003 from file paths in the body.

Co-authored-by: Copilot <[email protected]>
Prefer Jira keys from the commit subject, but fall back to the body when the subject has none. Ignore path-like body matches such as /ADR-003/ so release-check still catches meaningful body references without linking file paths as governance tickets.

Co-authored-by: Copilot <[email protected]>

This branch has not been deployed

No deployments
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