Skip to content

test(uv): multi-version preference#1229

Draft
xangcastle wants to merge 4 commits into
1.xfrom
xangcastle/multi-version-preference
Draft

test(uv): multi-version preference#1229
xangcastle wants to merge 4 commits into
1.xfrom
xangcastle/multi-version-preference

adding test case to reproduce the issue

58208cd
Select commit
Loading
Failed to load commit list.
Aspect Workflows / aspect / test (test-examples-uv_pip_compile-bazel-8) succeeded Jul 4, 2026 in 20s

✅ test //... · Tests passed (cached)

✅ Succeeded · 📅 Sat Jul 4 16:46:00 UTC 2026 · ⏱ 20.5s — 🔧 Setup 3s · 🧪 Test 17.4s
👤 runner · 🖥 runnervmkkn4f · 💎 aspect-cli v2026.22.44
📦 4 targets · ⚡ 13 of 40 actions executed (67% cached) · 🧪 1 test (100% cached) · 🔧 bazel v8.7.0 test · 🎯 k8 · ⚙️ opt
🐙 GitHub Actions

💬 Last update: test task complete

Details

🎯 Bazel targets (4)

⚡ 1 Test Cached
Label                                  | Target Type       | Duration
---------------------------------------+-------------------+---------
//:generate_requirements_txt_diff_test | _pip_compile_test | 342ms   
✅ 3 Targets Built
Label                        | Target Type   
-----------------------------+---------------
//:generate_requirements_txt | _pip_compile  
//app:app                    | py_binary     
//app:app.find_main          | determine_main

🔁 Reproduce

aspect test -- //...
# without Aspect CLI
bazel test -- //...

Install aspect: docs.aspect.build/cli/install

📎 Artifacts

Artifacts · Profile · BEP

⏱️ Task timing

Phase | Description                  | Duration
------+------------------------------+---------
Setup | Prepare the task environment | 3s      
Test  | Run bazel tests              | 17.4s   
------+------------------------------+---------
Total |                              | 20.5s   

🧮 Bazel details

📟 Command line · bazel test //...
bazel test \
  --disk_cache=/home/runner/.cache/bazel-disk \
  --test_tag_filters=-skip-on-bazel8 \
  --generate_json_trace_profile=1 \
  --experimental_profile_include_target_label \
  --profile=/tmp/4f6c67d2-11de-49fe-be65-7720366163e6.profile.gz \
  --color=yes \
  --build_metadata=ASPECT_TASK_NAME=Test \
  --build_metadata=ASPECT_TASK_ID=test-examples-uv_pip_compile-bazel-8 \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-a43fce10-3fa3-412a-8deb-69d61bec0d60.bin \
  -- \
  //...
ℹ️ Invocation details
  • Invocation ID: 91bbb3b4-2da7-442a-8533-dec34174f947
  • Command: test
  • Bazel version: 8.7.0
  • Start time: Sat Jul 4 16:46:00 UTC 2026
  • End time: Sat Jul 4 16:46:12 UTC 2026
  • User: runner
  • Host name: runnervmkkn4f
  • CPU Target: k8
  • Mode: opt
  • Working directory: /home/runner/work/rules_py/rules_py/examples/uv_pip_compile
  • Workspace directory: /home/runner/work/rules_py/rules_py/examples/uv_pip_compile
  • Server PID: 2425
⏱ Timing
  • Elapsed time: 11.1s
  • Analysis time: 6.6s
  • Execution time: 6.4s
  • Bazel server time: 28.5 cpu-seconds
  • Cached tests time saved: 0.3 cpu-seconds
📦 Build graph
  • Targets: 4 targets (3,664 configured, 1 aspect application)
  • Actions: 13 actions (40 created)
  • Packages: 105 packages loaded
💾 Cache stats
  • Actions: 27 of 40 cached (67%)
  • Tests: 1 of 1 cached (100%)
⚡ Actions by mnemonic (7)
Mnemonic                   | Count | %    
---------------------------+-------+------
RepoMappingManifest        | 3     | 23.0%
SourceSymlinkManifest      | 3     | 23.0%
TemplateExpand             | 3     | 23.0%
BazelWorkspaceStatusAction | 1     | 7.6% 
FileWrite                  | 1     | 7.6% 
Symlink                    | 1     | 7.6% 
TestRunner                 | 1     | 7.6% 
🏃 Actions by runner (2)
Runner                  | Count | %    
------------------------+-------+------
internal                | 11    | 84.6%
disk cache hit · Remote | 2     | 15.3%
🏠 Workspace status (4)
  • BUILD_HOST: runnervmkkn4f
  • BUILD_TIMESTAMP: 1783183565
  • BUILD_USER: runner
  • FORMATTED_DATE: 2026 Jul 04 16 46 05 Sat
🏷️ Build metadata (2)
  • ASPECT_TASK_ID: test-examples-uv_pip_compile-bazel-8
  • ASPECT_TASK_NAME: Test
🎛️ Startup options (12)
--connect_timeout_secs=30
--failure_detail_out=/home/runner/.cache/bazel/_bazel_runner/16ea84e6f592e46b8b51deeab178822d/failure_detail.rawproto
--idle_server_tasks
--max_idle_secs=10800
--noclient_debug
--nofatal_event_bus_exceptions
--noshutdown_on_low_sys_mem
--nowatchfs
--nowindows_enable_symlinks
--output_base=/home/runner/.cache/bazel/_bazel_runner/16ea84e6f592e46b8b51deeab178822d
--output_user_root=/home/runner/.cache/bazel/_bazel_runner
--write_command_log
🎛️ Command options (15)
--build_event_binary_file=/tmp/build-event-out-a43fce10-3fa3-412a-8deb-69d61bec0d60.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_ID=test-examples-uv_pip_compile-bazel-8
--build_metadata=ASPECT_TASK_NAME=Test
--color=yes
--disk_cache=/home/runner/.cache/bazel-disk
--experimental_profile_include_target_label
--generate_json_trace_profile=1
--lockfile_mode=off
--nobuild_runfile_links
--profile=/tmp/4f6c67d2-11de-49fe-be65-7720366163e6.profile.gz
--remote_download_outputs=minimal
--repository_cache=/home/runner/.cache/bazel-repo
--test_tag_filters=-skip-on-bazel8

⏱ Last updated Sat Jul 4 16:46:13 UTC 2026 · 📊 GitHub API quota 1,157/15,000 (8% used, resets in 15m, throttle 10×)
🚀 Powered by Aspect CLI (v2026.22.44)  |  Aspect Build · X · LinkedIn · YouTube