Skip to content

ci(kits): diff the merge ref against the live base tip - #3084

Merged
cabljac merged 1 commit into
kitsfrom
ci/kits-detection-two-dot
Sep 2, 2026
Merged

cabljac merged 1 commit into
kitsfrom
ci/kits-detection-two-dot

Conversation

@cabljac

@cabljac cabljac commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #3083, which traded one detection bug for a worse one: the three-dot diff has no reachable merge base on the depth-1 merge-ref checkout, and the git failure inside command substitution silently produced an empty matrix - observed live on #3066's rerun, where all kit testing was skipped while the job reported green. Two-dot against the freshly fetched live base ref is exact for a merge-ref checkout (the merge ref is built on the live tip), and the diff now runs as its own step line so a git failure fails the job instead of skipping every kit. YAML validated; the command dry-run locally against origin/kits.

The three-dot form from the previous fix has no reachable merge base on
a depth-1 merge-ref checkout, and its failure inside command
substitution silently emptied the matrix - PRs would pass with zero kit
testing. Two-dot against the freshly fetched base ref gives exactly the
PR's changes for a merge-ref checkout, and the diff now runs outside
the substitution so a git failure fails the step.
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@cabljac
cabljac merged commit b4760c8 into kits Sep 2, 2026
9 checks passed
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