Skip to content

refactor: use simplified rules_py providers#1231

Draft
jbedard wants to merge 4 commits into
mainfrom
indi-provider
Draft

refactor: use simplified rules_py providers#1231
jbedard wants to merge 4 commits into
mainfrom
indi-provider

change the underlying =provider name to be unique while keeping PyInf…

178bf54
Select commit
Loading
Failed to load commit list.
Aspect Workflows / aspect / test-examples-pytest-bazel-9 succeeded Jul 10, 2026 in 2m 4s

✅ test //... · Tests passed

✅ Succeeded · 📅 Fri Jul 10 19:22:05 UTC 2026 · ⏱ 2m 5s — 🔧 Setup 4.7s · 🧪 Test 2m
👤 runner · 🖥 runnervm5mmn9 · 💎 aspect-cli v2026.28.2
📦 19 targets · ⚡ 561 of 576 actions executed (2% cached) · 🧪 9 of 9 tests executed (0% cached) · 🔧 bazel v9.1.1 test · 🎯 x86_64 · ⚙️ fastbuild
🐙 GitHub Actions

💬 Last update: test task complete

Details

🎯 Bazel targets (19)

✅ 9 Tests Passed
Label                             | Target Type       | Duration
----------------------------------+-------------------+---------
//:absolute_main_test             | py_venv_exec_test | 75ms    
//:chdir_test                     | py_venv_exec_test | 575ms   
//:coverage_lcov_shape_test       | sh_test           | 556ms   
//:main_with_colon_test           | py_venv_exec_test | 181ms   
//:pytest_test                    | py_venv_exec_test | 380ms   
//:sharded/test                   | py_venv_exec_test | 2.4s    
//:test_naming_723                | py_venv_exec_test | 1.2s    
//subdir:test_with_pytest_main    | py_venv_exec_test | 1s      
//subdir:test_without_pytest_main | py_venv_exec_test | 57ms    
✅ 10 Targets Built
Label                                       | Target Type    
--------------------------------------------+----------------
//:chdir_main                               | py_library     
//:chdir_main_template                      | _py_pytest_main
//:coverage_manifest                        | genrule        
//:lib                                      | py_library     
//:pytest_test.pytest_paths                 | pytest_paths   
//:sharded/test.pytest_paths                | pytest_paths   
//:test_naming_723_main                     | py_library     
//:test_naming_723_main_template            | _py_pytest_main
//subdir:foo                                | py_library     
//subdir:test_with_pytest_main.pytest_paths | pytest_paths   

📎 Artifacts

Artifacts · Profile · BEP

⏱️ Task timing

Phase | Description                  | Duration
------+------------------------------+---------
Setup | Prepare the task environment | 4.7s    
Test  | Run bazel tests              | 2m      
------+------------------------------+---------
Total |                              | 2m 5s   

🧮 Bazel details

📟 Command line · bazel test //...
bazel test \
  --disk_cache=/home/runner/.cache/bazel-disk \
  --test_tag_filters=-skip-on-bazel9 \
  --lockfile_mode=update \
  --generate_json_trace_profile=1 \
  --experimental_profile_include_target_label \
  --profile=/tmp/c06c35b8-856d-4af4-b29b-c5eedee4beeb.profile.gz \
  --color=yes \
  --build_metadata=ASPECT_TASK_NAME=Test \
  --build_metadata=ASPECT_TASK_ID=ec826fce-69cb-4e18-bb17-a18fa76414e1 \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-5adc12e9-148b-4a0f-a155-7ab7ed49ee80.bin \
  -- \
  //...
ℹ️ Invocation details
  • Invocation ID: 0cd6100b-7ee1-424a-afff-f993968b7cf6
  • Command: test
  • Bazel version: 9.1.1
  • Start time: Fri Jul 10 19:22:05 UTC 2026
  • End time: Fri Jul 10 19:23:48 UTC 2026
  • User: runner
  • Host name: runnervm5mmn9
  • CPU Target: x86_64
  • Mode: fastbuild
  • Working directory: /home/runner/work/rules_py/rules_py/examples/pytest
  • Workspace directory: /home/runner/work/rules_py/rules_py/examples/pytest
  • Server PID: 2437
⏱ Timing
  • Elapsed time: 1m 43s
  • Analysis time: 1m 24s
  • Execution time: 1m 38s
  • Bazel server time: 1.5 cpu-minutes
  • Executed Tests Time: 6.5 cpu-seconds
📦 Build graph
  • Targets: 19 targets (6,490 configured, 1 aspect application)
  • Actions: 561 actions (576 created)
  • Packages: 243 packages loaded
💾 Cache stats
  • Actions: 15 of 576 cached (2%)
  • Tests: 0 of 9 cached (0%)
⚡ Actions by mnemonic (14)
Mnemonic                   | Count | %    
---------------------------+-------+------
UnresolvedSymlink          | 341   | 60.7%
FileWrite                  | 79    | 14.0%
WhlInstall                 | 60    | 10.6%
TemplateExpand             | 13    | 2.3% 
TestRunner                 | 10    | 1.7% 
Action                     | 9     | 1.6% 
RepoMappingManifest        | 9     | 1.6% 
RunfilesTree               | 9     | 1.6% 
SourceSymlinkManifest      | 9     | 1.6% 
Symlink                    | 9     | 1.6% 
SymlinkTree                | 9     | 1.6% 
Genrule                    | 2     | 0.3% 
BazelWorkspaceStatusAction | 1     | 0.1% 
ExecutableSymlink          | 1     | 0.1% 
🏃 Actions by runner (2)
Runner                         | Count | %    
-------------------------------+-------+------
internal                       | 480   | 85.1%
processwrapper-sandbox · Local | 84    | 14.8%
🏠 Workspace status (4)
  • BUILD_HOST: runnervm5mmn9
  • BUILD_TIMESTAMP: 1783711330
  • BUILD_USER: runner
  • FORMATTED_DATE: 2026 Jul 10 19 22 10 Fri
🏷️ Build metadata (2)
  • ASPECT_TASK_ID: ec826fce-69cb-4e18-bb17-a18fa76414e1
  • ASPECT_TASK_NAME: Test
🎛️ Startup options (11)
--connect_timeout_secs=30
--failure_detail_out=/home/runner/.cache/bazel/_bazel_runner/6c853107bc72a3616dd141728867a34d/failure_detail.rawproto
--idle_server_tasks
--max_idle_secs=10800
--noclient_debug
--nofatal_event_bus_exceptions
--noshutdown_on_low_sys_mem
--nowindows_enable_symlinks
--output_base=/home/runner/.cache/bazel/_bazel_runner/6c853107bc72a3616dd141728867a34d
--output_user_root=/home/runner/.cache/bazel/_bazel_runner
--write_command_log
🎛️ Command options (13)
--build_event_binary_file=/tmp/build-event-out-5adc12e9-148b-4a0f-a155-7ab7ed49ee80.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_ID=ec826fce-69cb-4e18-bb17-a18fa76414e1
--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=update
--profile=/tmp/c06c35b8-856d-4af4-b29b-c5eedee4beeb.profile.gz
--repository_cache=/home/runner/.cache/bazel-repo
--test_tag_filters=-skip-on-bazel9

⏱ Last updated Fri Jul 10 19:23:49 UTC 2026 · 📊 GitHub API quota 376/15,000 (3% used, resets in 46m)
🚀 Powered by Aspect CLI (v2026.28.2)  |  Aspect Build · X · LinkedIn · YouTube