Skip to content

PR validation: preserve tail output and fix SoB order#422

Open
nirmoy wants to merge 2 commits into
NVIDIA:github-actionsfrom
nirmoy:codex/pr-validation-preserve-tail
Open

PR validation: preserve tail output and fix SoB order#422
nirmoy wants to merge 2 commits into
NVIDIA:github-actionsfrom
nirmoy:codex/pr-validation-preserve-tail

Conversation

@nirmoy
Copy link
Copy Markdown
Collaborator

@nirmoy nirmoy commented May 14, 2026

PR #419 exposed that the unified PR Validation Report can truncate a long validate-pr digest before the actionable tail metadata errors.

PR #423 exposed a second issue in the backport trailer check: validate-pr incorrectly required a Signed-off-by before (backported from ...). The backporter Signed-off-by should be after local provenance trailers: [Name: note], (cherry picked from commit ...), (backported from commit ...), or (backported from ...).

This PR now:

Validation:

nirmoy added 2 commits May 14, 2026 12:19
When validation output exceeds the PR comment budget, keep both the beginning and end of the captured log instead of only the beginning.

This keeps the cherry-pick digest visible while preserving tail metadata errors such as missing Launchpad links.

Change-Id: I86a0b8880d90fb51debf17fefa00914a84494da6
For backported-from URL commits, accept the backporter Signed-off-by after the backport trailer instead of requiring an SoB before it.

For cherry-pick and backported-from-commit commits, verify added SoB trailers appear after local provenance markers, including [Name: note], (cherry picked from commit ...), and (backported from commit ...).

Count duplicate SoB lines so same-author upstream and backporter signatures are still classified by occurrence order.

Change-Id: Idbfc36165e6498f58e268fa8d02e77ea59ddb85a
@nirmoy nirmoy changed the title patchscan: preserve validation tail in PR comments PR validation: preserve tail output and fix SoB order May 15, 2026
@nirmoy
Copy link
Copy Markdown
Collaborator Author

nirmoy commented May 15, 2026

Boro review

Latest watcher review: open review

Head: d01e49ffcac7

This comment is maintained by nv-pr-bot. It is updated when the GitHub watcher publishes a newer review.

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