Add sibling PR resolution for native uv jobs - #128
Open
zardus wants to merge 1 commit into
Open
Conversation
Member
Author
|
THIS MESSAGE WAS GENERATED BY AN AUTOMATED PROCESS Resolver behavior for head Before — a native job without sibling-ref resolution keeps the master source: Normal project source
After — the action selects the open sibling pull request: With sibling-ref resolution
|
Member
Author
|
THIS MESSAGE WAS GENERATED BY AN AUTOMATED PROCESS Validation record for head
|
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.
THIS MESSAGE WAS GENERATED BY AN AUTOMATED PROCESS
Problem
Native macOS and Windows jobs run
uvagainst the checked-out repository without selecting sibling pull requests named in the pull request body. In this CLE run, the Linux ecosystem build passed while macOS failed five tests because it installed the defaultarchinfoinstead of the linked change. Windows was cancelled after the matrix failure.Root cause
The Linux CI image runs
resolve_refs.py, but native jobs bypass that image. The earlierbinaries-refaction closed the same gap for test fixtures; Python package sources still have no reusable native-job equivalent.Fix
Add a composite action that reads the pull request body, matches open sibling pull requests to simple GitHub entries already declared in
[tool.uv.sources], and givesuvpairedno-sources-packageandupgrade-packagesettings forrefs/pull/<number>/head.Closed, unavailable, undeclared, conditional, nested, authenticated, or otherwise unsupported sources keep their normal project behavior. The action does not change
binaries-ref.Consumer repositories must call this action before their native
uv lockoruv syncstep. This pull request supplies the shared ci-settings support; adoption remains a separate workflow change in each consumer repository, following the existingbinaries-refrollout.Testing
actionlint, Python compilation, and staged diff checks pass.Validation
Validation record and observed selected/fallback behavior.
session: sharpen