Skip to content

fix(cli): IDEs with plugins using BSP can now use aspect cli instead of vanilla bazel - #1370

Closed
mcook42 wants to merge 10 commits into
mainfrom
fix/ide-bsp-sync
Closed

fix(cli): IDEs with plugins using BSP can now use aspect cli instead of vanilla bazel#1370
mcook42 wants to merge 10 commits into
mainfrom
fix/ide-bsp-sync

lint: bulidifier run over bazel_runner.axl

483a00b
Select commit
Loading
Failed to load commit list.
Aspect Workflows / aspect / format-format-repeat-task-2 succeeded Aug 12, 2026 in 8s

✅ format //tools/format · Passed

✅ Succeeded · 📅 Wed Aug 12 19:23:06 UTC 2026 · ⏱ 10.1s — 🔧 Setup 5.4s · 🔨 Build 3.5s · 🔍 Detect 593ms · ✨ Format 482ms · 📋 Diff 32ms
👤 runner · 🖥 runnervmvrwv9 · 💎 aspect-cli v0.0.0-dev
📦 2 targets · ⚡ 1 of 3,148 actions executed (99% cached) · 🔧 bazel v9.0.1 build · 🎯 x86_64 · ⚙️ fastbuild
🔗 Docs · 🔗 Website · 🏷 dev · 🏷 local · 🏷 axl-testing · 🏷 COMPONENT=aspect-cli · 🏷 ENV=dev
🐙 GitHub Actions

⚙️ Scope: changed — filtered to 10 changed files
💬 Last update: format task complete

💡 TIP: Click through for invocation details and logs

🐙 GitHub Actions — raw CI logs for this job

Silence by setting ctx.features[Tips].args.silence = ["click-through-links", ...] in .aspect/config.axl (load Tips from @aspect//feature/tips.axl), or pass --tips:silence=click-through-links on the command line.

Details

✅ All 10 files in scope are properly formatted.

🔁 Reproduce

aspect format --severity=fail --base-ref=origin/main

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

⏱️ Task timing

Phase  | Description                      | Duration
-------+----------------------------------+---------
Setup  | Prepare the task environment     | 5.4s    
Build  | Build formatter                  | 3.5s    
Detect | Detect changed files             | 593ms   
Format | Format files                     | 482ms   
Diff   | Detect formatter-induced changes | 41ms    
-------+----------------------------------+---------
Total  |                                  | 10.1s   

🎯 Bazel targets (2)

✅ 2 Targets Built
Label                 | Target Type
----------------------+------------
//tools/format:format | multirun   
//tools/format:format | multirun   

🧮 Bazel details

📟 Command line · bazel build //tools/format
bazel build \
  --show_result=20 \
  --disk_cache=/home/runner/.cache/bazel-disk \
  --action_env='DUMMY_DB_PASSWORD=<REDACTED>' \
  --action_env=DUMMY_BUILD_MODE_ON=1 \
  --repo_env=DUMMY_FEATURE_FLAG=true \
  --action_env='GIT_URL=https://<REDACTED>@github.com/acme/example.git' \
  --build_metadata=TAGS=dev,local,axl-testing \
  --build_metadata=TAG_ENV=dev \
  --build_metadata=TAG_COMPONENT=aspect-cli \
  --build_metadata='ASPECT_WORKFLOWS_LINKS=[Docs](https://aspect.build/docs),[Website](https://aspect.build/)' \
  --curses=no \
  --generate_json_trace_profile=1 \
  --experimental_profile_include_target_label \
  --profile=/tmp/d63c8059-deec-436f-9c77-77b99aec1090.profile.gz \
  --color=yes \
  --build_metadata=ASPECT_TASK_NAME=Format \
  --build_metadata=ASPECT_TASK_ID=9c1695cb-21c1-4663-8542-9a954a1f363b \
  --experimental_build_event_upload_strategy=local \
  --build_runfile_links \
  --remote_download_outputs=toplevel \
  --aspects=@bazel_tools//aspect_e1f8a20334242fdd:aspect.bzl%runinfo \
  --output_groups=+aspect_runinfo \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-3d2a7542-3fbb-42d2-b698-a3d5a2608ad4.bin \
  -- \
  //tools/format
ℹ️ Invocation details
  • Invocation ID: eda95e32-2a49-451b-853f-a89e529b8c7d
  • Command: build
  • Bazel version: 9.0.1
  • Start time: Wed Aug 12 19:23:06 UTC 2026
  • End time: Wed Aug 12 19:23:08 UTC 2026
  • User: runner
  • Host name: runnervmvrwv9
  • CPU Target: x86_64
  • Mode: fastbuild
  • Working directory: /home/runner/work/aspect-cli/aspect-cli
  • Workspace directory: /home/runner/work/aspect-cli/aspect-cli
  • Server PID: 2575
⏱ Timing
  • Elapsed time: 1.8s
  • Analysis time: 806ms
  • Execution time: 218ms
  • Bazel server time: 6.6 cpu-seconds
📦 Build graph
  • Targets: 2 targets (2 configured)
  • Actions: 1 action (3,148 created)
  • Packages: 0 packages loaded
💾 Cache stats
  • Actions: 3,147 of 3,148 cached (99%)
⚡ Actions by mnemonic (1)
Mnemonic                   | Count | %     
---------------------------+-------+-------
BazelWorkspaceStatusAction | 1     | 100.0%
🏃 Actions by runner (1)
Runner   | Count | %     
---------+-------+-------
internal | 1     | 100.0%
🏠 Workspace status (4)
  • BUILD_HOST: runnervmvrwv9
  • BUILD_TIMESTAMP: 1786562587
  • BUILD_USER: runner
  • FORMATTED_DATE: 2026 Aug 12 19 23 07 Wed
🏷️ Build metadata (6)
  • ASPECT_TASK_ID: 9c1695cb-21c1-4663-8542-9a954a1f363b
  • ASPECT_TASK_NAME: Format
  • ASPECT_WORKFLOWS_LINKS: [Docs](https://aspect.build/docs),[Website](https://aspect.build/)
  • TAGS: dev,local,axl-testing
  • TAG_COMPONENT: aspect-cli
  • TAG_ENV: dev
🎛️ Startup options (11)
--connect_timeout_secs=30
--failure_detail_out=/home/runner/.cache/bazel/_bazel_runner/8e9f7bf5c7ea7145245717c620f4b2bc/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/8e9f7bf5c7ea7145245717c620f4b2bc
--output_user_root=/home/runner/.cache/bazel/_bazel_runner
--write_command_log
🎛️ Command options (55)
--action_env=DUMMY_BUILD_MODE_ON=1
--action_env='DUMMY_DB_PASSWORD=<REDACTED>'
--action_env='GIT_URL=https://<REDACTED>@github.com/acme/example.git'
--announce_rc
--aspects=@bazel_tools//aspect_e1f8a20334242fdd:aspect.bzl%runinfo
--build_event_binary_file=/tmp/build-event-out-3d2a7542-3fbb-42d2-b698-a3d5a2608ad4.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_ID=9c1695cb-21c1-4663-8542-9a954a1f363b
--build_metadata=ASPECT_TASK_NAME=Format
--build_metadata='ASPECT_WORKFLOWS_LINKS=[Docs](https://aspect.build/docs),[Website](https://aspect.build/)'
--build_metadata=TAGS=dev,local,axl-testing
--build_metadata=TAG_COMPONENT=aspect-cli
--build_metadata=TAG_ENV=dev
--build_runfile_links
--color=yes
--curses=no
--curses=yes
--disk_cache=/home/runner/.cache/bazel-disk
--enable_platform_specific_config
--experimental_build_event_upload_strategy=local
--experimental_fetch_all_coverage_outputs
--experimental_profile_include_target_label
--generate_json_trace_profile=1
--grpc_keepalive_time=30s
--heap_dump_on_oom
--host_platform=//bazel/platforms:linux_host_platform
--incompatible_default_to_explicit_init_py
--incompatible_enforce_starlark_utf8=error
--incompatible_modify_execution_info_additive
--keep_going
--lockfile_mode=error
--module_mirrors=https://bcr.cloudflaremirrors.com
--nobuild_runfile_links
--noexperimental_check_external_repository_files
--noremote_upload_local_results
--nosandbox_default_allow_network
--output_groups=+aspect_runinfo
--profile=/tmp/d63c8059-deec-436f-9c77-77b99aec1090.profile.gz
--remote_download_outputs=minimal
--remote_download_outputs=toplevel
--remote_local_fallback
--remote_timeout=3600
--remote_upload_local_results
--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
--repo_env=BAZEL_NO_APPLE_CPP_TOOLCHAIN=1
--repo_env=DUMMY_FEATURE_FLAG=true
--repo_env='JAVA_HOME=<REDACTED>'
--repository_cache=/home/runner/.cache/bazel-repo
--reuse_sandbox_directories
--show_progress_rate_limit=60
--show_result=20
--show_timestamps
--test_output=errors
--workspace_status_command=tools/githooks/check-config.sh

⏱ Last updated Wed Aug 12 19:23:10 UTC 2026 · 📊 GitHub API quota 708/15,000 (5% used, resets in 51m)
🚀 Powered by Aspect CLI (v0.0.0-dev)  |  Aspect Build · X · LinkedIn · YouTube