Repository navigation
Conversation
BaseOS Kernel ReviewTip ✅ Review passedNo issues found across the reviewed commits. Findings: none 🔍 Review artifacts
📦 Build checks — 🔴 0/4 passed
Note Build reports and debs are retained for 10 days after the PR closes.
Review metadata
This comment is maintained by BaseOS Reviewer and updated when the GitHub watcher publishes a newer review. |
|
Hi Nirmoy — I reproduced a case where the new
Could the fallback require that no cherry-pick trailer is present, and could we add this mixed-trailer case to the tests? One related policy question: the fallback checks that both patch IDs exist, but does not compare their contents. I changed the fixture's payload to unrelated text; it also exited 0 as |
A SHA-backed backport can carry identical changed lines yet fail replay and adjacent-anchor checks because its parent has different neighboring code. Allow an explicit explanation to waive placement proof while preserving exact ordered edit payloads, matching zero-context patch IDs, and unchanged regular-file modes. Require one backported-from SHA trailer immediately followed by a nonblank annotation, and reject mixed cherry-pick provenance from this fallback. Keep resolution, subject, sign-off and ordinary cherry-pick checks enforced. Report accepted adaptations as noted, not match. Cover mixed provenance, changed payloads, whitespace inside string literals, invalid patch IDs, file modes and annotation placement with black-box regression tests. Enable the existing PR Validation workflow for 26.04_linux-nvidia-7.3-next as well. Signed-off-by: Nirmoy Das <nirmoyd@nvidia.com>
0fbdea4 to
7172ed8
Compare
|
Thanks Ian. Updated the fix to reject mixed provenance and require matching zero-context patch IDs plus exact edit payloads, including whitespace. Added regression coverage; all 40 tests and CI pass.
|
SHA-referenced backports such as #696 and #697 contain the same edits as upstream but fail replay and adjacent-anchor validation because their surrounding kernel code differs. Allow a single
(backported from commit …)reference with an immediately attached, nonblank backporter explanation to reportnotedwhen zero-context patch IDs and exact ordered removed/inserted lines match. This waives placement proof only; substantive edits, whitespace changes within the edit payload, file-mode changes, nonregular files, and mixed cherry-pick/backport provenance remain errors.Ordinary cherry-picks stay strict. Upstream resolution, subject matching, and sign-off checks remain independently enforced. Lore-backed validation is unchanged.
Add
26.04_linux-nvidia-7.3-nextto the PR Validation workflow branch list so PRs targeting it receive automatic Patchscan + PR lint checks after merge.Validation:
noted; [26.04_linux-nvidia-7.3-next] veth: set the real number of queues before registering the devices #698 returnsmatch; all exit successfully.Ambiguous repeated-line diff grouping still fails closed. Accepted
notedentries require manual placement review; the fallback does not certify semantic equivalence.