Repository navigation
ci: select PR checks from the merge base, not the base tip - #1393
Merged
Merged
Conversation
A PR's base.sha is the current base tip, so PR branches behind it reported unmerged base changes as their own. After #1382 changed lydite.yml, every older PR selected all Lydite lanes.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Contributor
Merge Queue Status
This pull request spent 26 minutes 27 seconds in the queue, including 24 minutes 20 seconds running CI. Required conditions to merge
|
38 of 66 tasks
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.
ci-changes.mjsandci-lydite-changes.mjsdiffedpull_request.base.sha..head.sha.base.shais the current base tip. So a PR branch that is behind master reported master's unmerged changes as its own. After #1382 changedlydite.yml, every older Celox PR (for example #1391 and #1392) selected all Lydite lanes, including the hour-long bridge.ci.yml's job selection had the same flaw.Both classifiers now diff from the merge base (
base...head). Queue drafts and pushes contain their base, so their results are unchanged.Validation:
node --test scripts/*.test.mjs(241 pass). This includes a new temporary-repository test for a branch behind its base. On #1391 the Lydite classifier now printscore=false bridge=false; before this change it printed bothtrue.Lydite is disabled until this merges and will be re-enabled afterwards.