Skip to content

Record Go release metadata consistently#94

Merged
gontzess merged 2 commits into
mainfrom
gontzess/release-metadata-consistency
Jun 8, 2026
Merged

Record Go release metadata consistently#94
gontzess merged 2 commits into
mainfrom
gontzess/release-metadata-consistency

Conversation

@gontzess

@gontzess gontzess commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Why

Registry release records should capture the same release timestamp and changelog shape whether a connector release has a GitHub Release, an annotated tag, or only a tag. The standard Go workflow needs the manifest and registry API payload to agree on released_at while still capturing the best changelog available.

What this changes

Adds a release metadata helper that resolves changelog and timestamp from the GitHub Release first, then annotated tag metadata, then a generated commit list. The workflow uses one released_at value for both manifest generation and the registry API payload.

Companion change: the axiomatic workflow has the same expected registry behavior with workflow-specific plumbing. These PRs can merge independently after their connector test releases pass.

Validation

  • go test ./cmd/release-metadata ./cmd/record-release ./cmd/generate-manifest
  • yq . .github/workflows/release.yaml
  • git diff --check origin/main...HEAD

@gontzess gontzess marked this pull request as ready for review June 8, 2026 14:00
@gontzess gontzess requested a review from a team June 8, 2026 14:00
@gontzess gontzess force-pushed the gontzess/release-metadata-consistency branch from 3f250a3 to e7328c7 Compare June 8, 2026 14:12
@gontzess gontzess merged commit efe6051 into main Jun 8, 2026
2 checks passed
@gontzess gontzess deleted the gontzess/release-metadata-consistency branch June 8, 2026 17:38
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.

2 participants