Skip to content

feat(uv): sample wheel build memory usage when resource_set is set#1140

Open
xangcastle wants to merge 7 commits into
mainfrom
xangcastle/uv-1-wheel-build-memory
Open

feat(uv): sample wheel build memory usage when resource_set is set#1140
xangcastle wants to merge 7 commits into
mainfrom
xangcastle/uv-1-wheel-build-memory

fix Signals.SIGIN

e481a2b
Select commit
Loading
Failed to load commit list.
Aspect Workflows / aspect / test (test-examples-uv_pip_compile-bazel-8) succeeded Jun 23, 2026 in 22s

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

✅ Succeeded · 📅 Tue Jun 23 05:31:23 UTC 2026 · ⏱ 23.1s — 🔧 Setup 3.2s · 🧪 Test 19.9s
👤 runner · 🖥 runnervm7b5n9 · 💎 aspect-cli v2026.24.11
📦 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 -- //...
# vanilla bazel
bazel test -- //...

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

📎 Artifacts

Artifacts · Profile · BEP

⏱️ Task timing

Phase | Description                  | Duration
------+------------------------------+---------
Setup | Prepare the task environment | 3.2s    
Test  | Run bazel tests              | 19.9s   
------+------------------------------+---------
Total |                              | 23.1s   

🧮 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/c62ee8ac-3622-406b-8863-85d9cc4f7f8f.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-8258749c-cd9a-4723-92c0-7a332641a5f8.bin \
  -- \
  //...
ℹ️ Invocation details
  • Invocation ID: 3058faf1-4cf5-4984-beed-cad976266c31
  • Command: test
  • Bazel version: 8.7.0
  • Start time: Tue Jun 23 05:31:23 UTC 2026
  • End time: Tue Jun 23 05:31:34 UTC 2026
  • User: runner
  • Host name: runnervm7b5n9
  • 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: 2416
⏱ Timing
  • Elapsed time: 11.5s
  • Analysis time: 7.4s
  • Execution time: 6.6s
  • Bazel server time: 26.1 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: runnervm7b5n9
  • BUILD_TIMESTAMP: 1782192686
  • BUILD_USER: runner
  • FORMATTED_DATE: 2026 Jun 23 05 31 26 Tue
🏷️ 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-8258749c-cd9a-4723-92c0-7a332641a5f8.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/c62ee8ac-3622-406b-8863-85d9cc4f7f8f.profile.gz
--remote_download_outputs=minimal
--repository_cache=/home/runner/.cache/bazel-repo
--test_tag_filters=-skip-on-bazel8

⏱ Last updated Tue Jun 23 05:31:35 UTC 2026 · 📊 GitHub API quota 5,071/15,000 (34% used, resets in 11m, throttle 10×)
🚀 Powered by Aspect CLI (v2026.24.11)  |  Aspect Build · X · LinkedIn · YouTube