feat(git): carry the PR head SHA on PullRequestChanged - #127
Merged
Conversation
CI/CD consumers need the source head commit to build/deploy the exact proposed revision (Nexus PipelineTriggerContext.CommitSha); the neutral event dropped it, blocking the webhook-handler migration onto the ingestor. Additive optional positional parameter; the GitHub adapter populates it from pull_request.head.sha. Claude-Session: https://claude.ai/code/session_01VFDn7gCH7vdvT4eoNhsMLr
This was referenced Jul 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Additive surface fix found during the Nexus N1 shim: the neutral
GitWebhookEvent.PullRequestChangeddropped the source head commit SHA, which CI/CD consumers (NexusPipelineTriggerContext.CommitSha) require to build the exact proposed revision — this blocked rerouting the Nexus webhook handler throughIGitWebhookIngestor. Adds optionalSourceHeadSha(default null, source-compatible); the GitHub adapter populates it frompull_request.head.sha. Two new ingestor tests (present/absent). No tag yet — will ridev1.0.5-preview.3when the N3 phase pins it.https://claude.ai/code/session_01VFDn7gCH7vdvT4eoNhsMLr