Skip to content

Expose the full commit SHA on BuildIdentity - #3

Merged
Mearman merged 1 commit into
mainfrom
feat/expose-commit-sha
Sep 8, 2026
Merged

Mearman merged 1 commit into
mainfrom
feat/expose-commit-sha

Conversation

@Mearman

@Mearman Mearman commented Sep 8, 2026

Copy link
Copy Markdown
Member

A release identity carries no commit reference at all today (its url points at a release page, not a commit), and a commit identity only ever exposes the full SHA embedded inside its permalink -- forcing a caller who needs the raw SHA (to compare two builds for identity, or to build its own link) to parse it back out of a URL.

Adds a commit field, always the full git commit SHA of the resolved commit, to both branches of BuildIdentity. resolvePredictedIdentity propagates it unchanged. README and tests updated.

A release identity carries no commit reference at all today (its url
points at a release page, not a commit), and a commit identity only
ever exposes the full SHA embedded inside its permalink -- forcing a
caller who needs the raw SHA (to compare two builds for identity, or
to build its own link) to parse it back out of a URL. Add a `commit`
field, always the full SHA of the resolved commit, to both branches.
@Mearman
Mearman marked this pull request as ready for review September 8, 2026 07:14
@Mearman
Mearman merged commit b18eeb9 into main Sep 8, 2026
4 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 8, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review Completed 2026-09-08T07:18:23.121823Z 5b8c5d6 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant