Skip to content

feat(format): enumerate tracked files via git ls-files in --scope=all#1155

Open
gregmagolan wants to merge 1 commit into
mainfrom
feat/format-scope-all-git-ls-files
Open

feat(format): enumerate tracked files via git ls-files in --scope=all#1155
gregmagolan wants to merge 1 commit into
mainfrom
feat/format-scope-all-git-ls-files

feat(format): add --scope=tracked to enumerate files via git ls-files

02c867e
Select commit
Loading
Failed to load commit list.
Aspect Workflows / aspect / format-format-repeat-task failed Jul 4, 2026 in 1m 38s

❌ format //tools/format · Formatted 2 files

❌ Failed · 📅 Sat Jul 4 10:30:42 UTC 2026 · ⏱ 1m 39s · 📋 Diff (failed after 970ms) | 🔧 Setup 5.3s · 🔨 Build 1m 32s · 🔍 Detect 574ms · ✨ Format 524ms
👤 runner · 🖥 runnervmkkn4f · 💎 aspect-cli v0.0.0-dev
📦 2 targets · ⚡ 1,952 of 5,134 actions executed (61% cached) · 🔧 bazel v9.0.1 build · 🎯 x86_64 · ⚙️ opt
🔗 Docs · 🔗 Website · 🏷 dev · 🏷 local · 🏷 axl-testing · 🏷 COMPONENT=aspect-cli · 🏷 ENV=dev
🐙 GitHub Actions

⚙️ Scope: changed — filtered to 7 changed files
💬 Last update: Format failed (2 files need format)

💡 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

✅ Formatted 2 files

The formatter rewrote 2 files in your working tree. Review and commit the changes.

📝 Files

.buildkite/pipeline.yaml
.circleci/config.yml

🛠️ Fix

aspect format --severity=info -- .buildkite/pipeline.yaml .circleci/config.yml

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

🔁 Reproduce

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

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

📎 Artifacts

Artifacts · Profile · BEP · Format Patch

⏱️ Task timing

Phase  | Description                                                 | Duration
-------+-------------------------------------------------------------+---------
Setup  | Prepare the task environment                                | 5.3s    
Build  | Build formatter                                             | 1m 32s  
Detect | Detect changed files                                        | 574ms   
Format | Format files                                                | 524ms   
Diff   | Detect formatter-induced changes (failed during this phase) | 978ms   
-------+-------------------------------------------------------------+---------
Total  |                                                             | 1m 39s  

🎯 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/)' \
  --generate_json_trace_profile=1 \
  --experimental_profile_include_target_label \
  --profile=/tmp/eb444995-9c42-480f-b9cc-d3193fd767f4.profile.gz \
  --color=yes \
  --build_metadata=ASPECT_TASK_NAME=Format \
  --build_metadata=ASPECT_TASK_ID=07bfb4ba-bfc2-4ec6-af9c-5b03b542bff4 \
  --experimental_build_event_upload_strategy=local \
  --build_runfile_links \
  --aspects=@aspect_runinfo//:runinfo.bzl%runinfo \
  --output_groups=+aspect_runinfo \
  --inject_repository=aspect_runinfo=/tmp/aspect_runinfo_format-format-repeat-task \
  --remote_download_outputs=toplevel \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-aefc7bd8-f06c-4df0-92a2-72c9f6a6d63b.bin \
  -- \
  //tools/format
ℹ️ Invocation details
  • Invocation ID: 357448f5-7079-425d-8b84-baed6eee30b7
  • Command: build
  • Bazel version: 9.0.1
  • Start time: Sat Jul 4 10:30:42 UTC 2026
  • End time: Sat Jul 4 10:32:08 UTC 2026
  • User: runner
  • Host name: runnervmkkn4f
  • CPU Target: x86_64
  • Mode: opt
  • Working directory: /home/runner/work/aspect-cli/aspect-cli
  • Workspace directory: /home/runner/work/aspect-cli/aspect-cli
  • Server PID: 2413
⏱ Timing
  • Elapsed time: 1m 26s
  • Analysis time: 48.3s
  • Execution time: 35.2s
  • Bazel server time: 1.7 cpu-minutes
📦 Build graph
  • Targets: 2 targets (50,925 configured, 147 aspect applications)
  • Actions: 1,952 actions (5,134 created)
  • Packages: 248 packages loaded
💾 Cache stats
  • Actions: 3,182 of 5,134 cached (61%)
⚡ Actions by mnemonic (20)
Mnemonic             | Count | %    
---------------------+-------+------
CopyFile             | 842   | 43.1%
CppCompile           | 830   | 42.5%
Symlink              | 84    | 4.3% 
FileWrite            | 46    | 2.3% 
CppArchive           | 34    | 1.7% 
ExecutableSymlink    | 29    | 1.4% 
CppLink              | 16    | 0.8% 
CopyToDirectory      | 14    | 0.7% 
CcStage0Compile      | 10    | 0.5% 
CppTransitiveArchive | 10    | 0.5% 
RunBinary            | 8     | 0.4% 
TemplateExpand       | 8     | 0.4% 
Rustc                | 4     | 0.2% 
RepoMappingManifest  | 3     | 0.1% 
RunfilesTree         | 3     | 0.1% 
…5 more (10 actions)
🏃 Actions by runner (4)
Runner                         | Count | %    
-------------------------------+-------+------
disk cache hit · Remote        | 1,437 | 73.6%
processwrapper-sandbox · Local | 326   | 16.7%
internal                       | 181   | 9.2% 
local · Local                  | 8     | 0.4% 
🏠 Workspace status (4)
  • BUILD_HOST: runnervmkkn4f
  • BUILD_TIMESTAMP: 1783161045
  • BUILD_USER: runner
  • FORMATTED_DATE: 2026 Jul 04 10 30 45 Sat
🏷️ Build metadata (6)
  • ASPECT_TASK_ID: 07bfb4ba-bfc2-4ec6-af9c-5b03b542bff4
  • 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=@aspect_runinfo//:runinfo.bzl%runinfo
--build_event_binary_file=/tmp/build-event-out-aefc7bd8-f06c-4df0-92a2-72c9f6a6d63b.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_ID=07bfb4ba-bfc2-4ec6-af9c-5b03b542bff4
--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=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
--inject_repository=aspect_runinfo=/tmp/aspect_runinfo_format-format-repeat-task
--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/eb444995-9c42-480f-b9cc-d3193fd767f4.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 Sat Jul 4 10:32:14 UTC 2026 · 📊 GitHub API quota 252/15,000 (2% used, resets in 51m)
🚀 Powered by Aspect CLI (v0.0.0-dev)  |  Aspect Build · X · LinkedIn · YouTube