Skip to content

fix(cli): honor a caller-forwarded --target_pattern_file - #1388

Merged
mcook42 merged 2 commits into
mainfrom
fix/target-pattern-file-conflict
Aug 14, 2026
Merged

fix(cli): honor a caller-forwarded --target_pattern_file#1388
mcook42 merged 2 commits into
mainfrom
fix/target-pattern-file-conflict

ci: smoke-test the IDE/BSP --target_pattern_file passthrough

a4ac3d9
Select commit
Loading
Failed to load commit list.
Aspect Workflows / aspect / lint-gha succeeded Aug 13, 2026 in 45s

✅ lint //examples/lint/... · Passed

✅ Succeeded · 📅 Thu Aug 13 22:32:42 UTC 2026 · ⏱ 46.4s — 🔧 Setup 4s · 🔍 Detect 911ms · 🔬 Lint 40.5s · 🔎 Filter 947ms
👤 runner · 🖥 runnervmzvulz · 💎 aspect-cli v0.0.0-dev
📦 2 targets · ⚡ 5 of 8 actions executed (37% cached) · 🔧 bazel v9.0.1 build · 🎯 x86_64 · ⚙️ opt
🔗 Docs · 🔗 Website · 🏷 dev · 🏷 local · 🏷 axl-testing · 🏷 COMPONENT=aspect-cli · 🏷 ENV=dev
🐙 GitHub Actions

⚙️ Strategy: hold-the-line — filtered to 5 changed files
💬 Last update: lint 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

🔍 Lint findings (0)

🧹 Linters (1)

Linter     | 🚨 Errors | ⚠️ Warnings | ℹ️ Infos | 🔧 Auto Fixes
-----------+----------+-------------+----------+-------------
ShellCheck |        0 |           0 |        0 |            0

🔁 Reproduce

aspect lint --base-ref=origin/main -- //examples/lint/...

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

📎 Artifacts

Artifacts · Profile · BEP

⏱️ Task timing

Phase  | Description                  | Duration
-------+------------------------------+---------
Setup  | Prepare the task environment | 4s      
Detect | Detect changed files         | 911ms   
Lint   | Run lint aspects             | 40.5s   
Filter | Filter diagnostics           | 954ms   
-------+------------------------------+---------
Total  |                              | 46.4s   

🎯 Bazel targets (2)

✅ 2 Targets Built
Label                 | Target Type
----------------------+------------
//examples/lint:hello | sh_library 
//examples/lint:hello | sh_library 

🧮 Bazel details

📟 Command line · bazel build //examples/lint/...
bazel build \
  --show_result=20 \
  --disk_cache=/home/runner/.cache/bazel-disk \
  --remote_download_regex=''\''.*AspectRulesLint.*'\''' \
  --aspects=//tools/lint:linters.bzl%shellcheck \
  --output_groups=rules_lint_patch \
  --output_groups=rules_lint_machine \
  --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/a608833c-4f5b-4bd1-ac07-9ec5fd494c10.profile.gz \
  --color=yes \
  --build_metadata=ASPECT_TASK_NAME=Lint \
  --build_metadata=ASPECT_TASK_ID=b5301711-fb00-4bc7-89be-8187db4d2ae9 \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-a2e2cd7b-db6f-4623-881a-55608aa94304.bin \
  -- \
  //examples/lint/...
ℹ️ Invocation details
  • Invocation ID: 4bfc9a29-a117-49e1-a90a-df193d00fbba
  • Command: build
  • Bazel version: 9.0.1
  • Start time: Thu Aug 13 22:32:42 UTC 2026
  • End time: Thu Aug 13 22:33:15 UTC 2026
  • User: runner
  • Host name: runnervmzvulz
  • 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: 2360
⏱ Timing
  • Elapsed time: 32.9s
  • Analysis time: 30.8s
  • Execution time: 30.9s
  • Bazel server time: 18.5 cpu-seconds
📦 Build graph
  • Targets: 2 targets (1,742 configured, 3 aspect applications)
  • Actions: 5 actions (8 created)
  • Packages: 153 packages loaded
💾 Cache stats
  • Actions: 3 of 8 cached (37%)
⚡ Actions by mnemonic (4)
Mnemonic                    | Count | %    
----------------------------+-------+------
AspectRulesLintShellCheck   | 2     | 40.0%
AspectRulesLintParseToSarif | 1     | 20.0%
BazelWorkspaceStatusAction  | 1     | 20.0%
Genrule                     | 1     | 20.0%
🏃 Actions by runner (2)
Runner                         | Count | %    
-------------------------------+-------+------
processwrapper-sandbox · Local | 4     | 80.0%
internal                       | 1     | 20.0%
🏠 Workspace status (4)
  • BUILD_HOST: runnervmzvulz
  • BUILD_TIMESTAMP: 1786660364
  • BUILD_USER: runner
  • FORMATTED_DATE: 2026 Aug 13 22 32 44 Thu
🏷️ Build metadata (6)
  • ASPECT_TASK_ID: b5301711-fb00-4bc7-89be-8187db4d2ae9
  • ASPECT_TASK_NAME: Lint
  • 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 (54)
--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=//tools/lint:linters.bzl%shellcheck
--build_event_binary_file=/tmp/build-event-out-a2e2cd7b-db6f-4623-881a-55608aa94304.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_ID=b5301711-fb00-4bc7-89be-8187db4d2ae9
--build_metadata=ASPECT_TASK_NAME=Lint
--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
--color=yes
--curses=no
--curses=yes
--disk_cache=/home/runner/.cache/bazel-disk
--enable_platform_specific_config
--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=rules_lint_machine
--output_groups=rules_lint_patch
--profile=/tmp/a608833c-4f5b-4bd1-ac07-9ec5fd494c10.profile.gz
--remote_download_outputs=minimal
--remote_download_regex=''\''.*AspectRulesLint.*'\'''
--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 Thu Aug 13 22:33:17 UTC 2026 · 📊 GitHub API quota 1,139/15,000 (8% used, resets in 45m)
🚀 Powered by Aspect CLI (v0.0.0-dev)  |  Aspect Build · X · LinkedIn · YouTube