Skip to content

[pull] main from bazel-contrib:main - #753

Merged
pull[bot] merged 4 commits into
garymm:mainfrom
bazel-contrib:main
Sep 28, 2026
Merged

pull[bot] merged 4 commits into
garymm:mainfrom
bazel-contrib:main

Conversation

@pull

@pull pull Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

rickeylev and others added 4 commits September 28, 2026 00:20
`buildifier` collapses multi-line ternary expressions onto a single
line, which violates the 80-column limit. Instruct agents to use
`if`/`else` statements when a ternary exceeds 80 columns.
(Done with help from an agent.)

This PR lets `uv_toolchain` accept executable wrappers with multiple
outputs and preserves their runfiles in lock actions and `.run` targets.
This supports wrappers that obtain credentials before invoking `uv`.

Lock actions receive the executable target's `FilesToRunProvider`.
Runnable targets merge its default runfiles, preserving runtime data,
ordinary symlinks, and root symlinks. The downloaded `uv` binary has
public visibility so wrappers can declare it as a runtime dependency.

The regression test covers a wrapper with multiple outputs, runtime
data, and both kinds of runfiles symlinks.

Closes #4181.

---------

Co-authored-by: Richard Levasseur <richardlev@gmail.com>
Document why executable Starlark attributes use allow_files instead of
allow_single_file when accepting multi-output targets like py_binary.
Direct Buildkite status logs to stderr so JSON output pipes cleanly to
jq, and check for active merge queue branches before re-enqueuing PRs.
`_RunLockInfo` lacked a provider docstring and `:type:` annotations on
its fields, making it harder for maintainers to inspect the expected
field types and provider purpose.

Add a provider description and `:type:` annotations to each field in
`_RunLockInfo`.
@pull pull Bot locked and limited conversation to collaborators Sep 28, 2026
@pull pull Bot added the ⤵️ pull label Sep 28, 2026
@pull
pull Bot merged commit 5ab3675 into garymm:main Sep 28, 2026
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants