Skip to content

fix(auth): honor config-defaulted --aspect-* flags, user-over-repo default, and migrate legacy credentials#1316

Open
gregmagolan wants to merge 1 commit into
mainfrom
fix/auth-config-defaults-and-migration
Open

fix(auth): honor config-defaulted --aspect-* flags, user-over-repo default, and migrate legacy credentials#1316
gregmagolan wants to merge 1 commit into
mainfrom
fix/auth-config-defaults-and-migration

fix(auth): honor config-defaulted --aspect-* flags, user default over…

60453ca
Select commit
Loading
Failed to load commit list.
Aspect Workflows / aspect / delivery-gha-debug completed Jul 7, 2026 in 47s

⚠️ delivery //examples/deliverable:bash_deliverable… · 1 delivered, 3 skipped, 2 warnings

⚠️ Flagged · 📅 Tue Jul 7 00:53:07 UTC 2026 · ⏱ 48.4s · 🚚 Deliver 2.1s | 🌱 Init 864ms · 🔧 Setup 4.6s · 🎯 Resolve 1.8s · 🔨 Build 9.5s · 💯 Checksum 22.1s · 📝 Record 1.5s · 🔬 Detect 747ms · 📥 Download 4.8s
👤 Greg Magolan · 🖥 aw-gha-runner-ccz4.us-west1-a.c.awd-silo-prod.internal · 💎 aspect-cli v0.0.0-dev
:octocat: aspect-cli · ⎇ fix/auth-config-defaults-and-migration · ✏️ 60453ca - fix(auth): honor config-defaulted --aspect-* flags, user def… · 🏃 Manual run
📦 6 targets · ⚡ 30 of 1,933 actions executed (98% cached) · 🔧 bazel v9.0.1 build · 🎯 x86_64 · ⚙️ fastbuild
🚀 Workflows runner v5.19.0-alpha16 · ☁️ GCP · 📍 us-west1-a · 💠 n2d-standard-4 · 🤖 7350100316909597775
🔗 Docs · 🔗 Website · 🏷 dev · 🏷 local · 🏷 axl-testing · 🏷 COMPONENT=aspect-cli · 🏷 ENV=dev
🐙 GitHub Actions

⚙️ Mode: selective
💬 Last update: delivery 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

🚀 Delivery results

Summary

  • 1 delivered
  • 3 skipped (already delivered this hash)
  • ⚠️ 2 warnings
  • 0 failed
⚠️ 2 Warnings
Target                                             Key                              Reason
-------------------------------------------------  -------------------------------  --------------------------------------------------------------------------------
//examples/deliverable:non_executable_deliverable  delivery-gha-debug:30a9b64b22af  tagged 'deliverable' but not runnable: no runfiles directory at /mnt/ephemera...
//examples/deliverable:py_deliverable              -                                no digest: non-cacheable upstream action(s) (PyWriteBuildData); likely non-he...
⚡ 3 Skipped (same hash)
Target                                     Key                              Previously delivered by
-----------------------------------------  -------------------------------  -----------------------------------------------------------------------------------
//examples/deliverable:bash_deliverable    delivery-gha-debug:9a1a58f775cd  https://github.com/aspect-build/aspect-cli/actions/runs/28702321027/job/85122266958
//examples/deliverable:custom_deliverable  delivery-gha-debug:857ea000b555  https://github.com/aspect-build/aspect-cli/actions/runs/28702321027/job/85122266958
//examples/deliverable:sh_deliverable      delivery-gha-debug:85e33c72c155  https://github.com/aspect-build/aspect-cli/actions/runs/28702321027/job/85122266958
✅ 1 Delivered
Target                                            Key                              Build URL
------------------------------------------------  -------------------------------  -----------------------------------------------------------------------------------
//examples/deliverable:deliverable_with_digest *  delivery-gha-debug:9d9891b76e57  https://github.com/aspect-build/aspect-cli/actions/runs/28833625725/job/85512684496

🔁 Reproduce

# --mode=always --track-state=false for off-runner with no state backend.
aspect delivery \
  --commit-sha=60453ca2cbcdac4243581a862d36f565f0a6767e \
  --mode=always \
  --track-state=false \
  --dry-run=true

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

📎 Artifacts

Artifacts · Profile · BEP · delivery-manifest.json · delivery-images.yml

⏱️ Task timing

   Phase    | Description                      | Duration
------------+----------------------------------+---------
   Init     | Aspect runtime startup           | 864ms   
   Setup    | Prepare the task environment     | 4.6s    
   Resolve  | Resolve targets to deliver       | 1.8s    
   Build    | Build delivery targets           | 9.5s    
   Checksum | Checksum delivery digests        | 22.1s   
   Record   | Record delivery digests          | 1.5s    
   Detect   | Detect already-delivered targets | 747ms   
   Download | Download runfiles                | 4.8s    
-> Deliver  | Deliver targets (active)         | 2.2s    
------------+----------------------------------+---------
   Total    |                                  | 48.4s   

🎯 Bazel targets (6)

✅ 6 Targets Built
Label                                             | Target Type         
--------------------------------------------------+---------------------
//examples/deliverable:bash_deliverable           | bash_deliverable    
//examples/deliverable:custom_deliverable         | custom_deliverable  
//examples/deliverable:deliverable_with_digest    | oci_like_deliverable
//examples/deliverable:non_executable_deliverable | genrule             
//examples/deliverable:py_deliverable             | py_binary           
//examples/deliverable:sh_deliverable             | sh_binary           

🧮 Bazel details

📟 Command line · bazel build //examples/deliverable:bash_deliverable //examples/deliverable:custom_deliverable //examples/deliverable:de…
bazel build \
  --show_result=20 \
  --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=/workflows/6d49a663-eb91-4675-925d-a6b07abc29cd.profile.gz \
  --color=yes \
  --remote_upload_local_results \
  --heap_dump_on_oom \
  --generate_json_trace_profile=1 \
  --experimental_repository_cache_hardlinks \
  --remote_accept_cached \
  --disk_cache='' \
  --remote_timeout=3600 \
  --remote_retries=360 \
  --grpc_keepalive_timeout=30s \
  --remote_cache=unix:///mnt/ephemeral/buildbarn/.cache/bb_clientd/grpc \
  --remote_bytestream_uri_prefix=buildbarn-frontend.awd.internal:8980 \
  --noremote_cache_compression \
  --remote_header='x-identity=<REDACTED>' \
  --repository_cache=/mnt/ephemeral/caches/repository \
  --build_metadata=CI_HOST=GITHUB_ACTIONS \
  --build_metadata=VCS=GITHUB \
  --build_metadata=COMMIT_SHA=60453ca2cbcdac4243581a862d36f565f0a6767e \
  --build_metadata='USER=github-actions[bot]' \
  --build_metadata=BRANCH_NAME=fix/auth-config-defaults-and-migration \
  --build_metadata=RUN_TYPE=MANUAL \
  --build_metadata=REPO_OWNER=aspect-build \
  --build_metadata=REPO_NAME=aspect-cli \
  --build_metadata=REPO_URL=https://github.com/aspect-build/aspect-cli \
  --build_metadata=BUILD_URL=https://github.com/aspect-build/aspect-cli/actions/runs/28833625725 \
  --build_metadata='COMMIT_AUTHOR_NAME=Greg Magolan' \
  --build_metadata=COMMIT_AUTHOR_EMAIL=greg@aspect.build \
  --build_metadata='COMMIT_AUTHOR=Greg Magolan <greg@aspect.build>' \
  --build_metadata='COMMIT_MESSAGE=fix(auth): honor config-defaulted --aspect-* flags, user default over repo, and ' \
  --build_metadata=COMMIT_TIMESTAMP=2026-07-06T20:46:30-04:00 \
  --build_metadata=ASPECT_TASK_KIND=delivery \
  --build_metadata=ASPECT_TASK_FRIENDLY_KIND=Delivery \
  --build_metadata=ASPECT_TASK_NAME=delivery-gha-debug \
  --build_metadata=ASPECT_TASK_FRIENDLY_NAME=delivery-gha-debug \
  --build_metadata=ASPECT_TASK_ID=7c117dfc-9e5f-4da2-8453-4b430ce63210 \
  --nokeep_state_after_build \
  --remote_download_outputs=minimal \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-8bcb6d94-6aa4-4922-812a-bcdab9a52e62.bin \
  --execution_log_compact_file=/tmp/execlog-out-514289e9-dd72-4d40-8853-0a27dde5969d.bin \
  -- \
  //examples/deliverable:bash_deliverable \
  //examples/deliverable:custom_deliverable \
  //examples/deliverable:deliverable_with_digest \
  //examples/deliverable:non_executable_deliverable \
  //examples/deliverable:py_deliverable \
  //examples/deliverable:sh_deliverable
ℹ️ Invocation details
  • Invocation ID: 1e377e19-5452-4e26-a81d-0d6772bd2463
  • Command: build
  • Bazel version: 9.0.1
  • Start time: Tue Jul 7 00:53:07 UTC 2026
  • End time: Tue Jul 7 00:53:16 UTC 2026
  • User: aspect-runner
  • Host name: aw-gha-runner-ccz4.us-west1-a.c.awd-silo-prod.internal
  • CPU Target: x86_64
  • Mode: fastbuild
  • Working directory: /mnt/ephemeral/workdir/aspect-cli/aspect-cli
  • Workspace directory: /mnt/ephemeral/workdir/aspect-cli/aspect-cli
  • Server PID: 13678
⏱ Timing
  • Elapsed time: 8.7s
  • Analysis time: 6.8s
  • Execution time: 7.2s
  • Bazel server time: 30.8 cpu-seconds
📦 Build graph
  • Targets: 6 targets (27,618 configured, 48 aspect applications)
  • Actions: 30 actions (1,933 created)
  • Packages: 224 packages loaded
💾 Cache stats
  • Actions: 1,903 of 1,933 cached (98%)
⚡ Actions by mnemonic (11)
Mnemonic                   | Count | %    
---------------------------+-------+------
FileWrite                  | 7     | 21.8%
RepoMappingManifest        | 5     | 15.6%
RunfilesTree               | 5     | 15.6%
SourceSymlinkManifest      | 5     | 15.6%
TemplateExpand             | 3     | 9.3% 
Genrule                    | 2     | 6.2% 
BazelWorkspaceStatusAction | 1     | 3.1% 
ExecutableSymlink          | 1     | 3.1% 
PyCopyWithoutCaching       | 1     | 3.1% 
PyWriteBuildData           | 1     | 3.1% 
UnresolvedSymlink          | 1     | 3.1% 
🏃 Actions by runner (3)
Runner                    | Count | %    
--------------------------+-------+------
internal                  | 29    | 90.6%
remote cache hit · Remote | 2     | 6.2% 
linux-sandbox · Local     | 1     | 3.1% 
🏠 Workspace status (4)
  • BUILD_HOST: aw-gha-runner-ccz4.us-west1-a.c.awd-silo-prod.internal
  • BUILD_TIMESTAMP: 1783385588
  • BUILD_USER: aspect-runner
  • FORMATTED_DATE: 2026 Jul 07 00 53 08 Tue
🏷️ Build metadata (24)
  • ASPECT_TASK_FRIENDLY_KIND: Delivery
  • ASPECT_TASK_FRIENDLY_NAME: delivery-gha-debug
  • ASPECT_TASK_ID: 7c117dfc-9e5f-4da2-8453-4b430ce63210
  • ASPECT_TASK_KIND: delivery
  • ASPECT_TASK_NAME: delivery-gha-debug
  • ASPECT_WORKFLOWS_LINKS: [Docs](https://aspect.build/docs),[Website](https://aspect.build/)
  • BRANCH_NAME: fix/auth-config-defaults-and-migration
  • BUILD_URL: https://github.com/aspect-build/aspect-cli/actions/runs/28833625725
  • CI_HOST: GITHUB_ACTIONS
  • COMMIT_AUTHOR: Greg Magolan <greg@aspect.build>
  • COMMIT_AUTHOR_EMAIL: greg@aspect.build
  • COMMIT_AUTHOR_NAME: Greg Magolan
  • COMMIT_MESSAGE: fix(auth): honor config-defaulted --aspect-* flags, user default over repo, and
  • COMMIT_SHA: 60453ca2cbcdac4243581a862d36f565f0a6767e
  • COMMIT_TIMESTAMP: 2026-07-06T20:46:30-04:00
  • REPO_NAME: aspect-cli
  • REPO_OWNER: aspect-build
  • REPO_URL: https://github.com/aspect-build/aspect-cli
  • RUN_TYPE: MANUAL
  • TAGS: dev,local,axl-testing
  • TAG_COMPONENT: aspect-cli
  • TAG_ENV: dev
  • USER: github-actions[bot]
  • VCS: GITHUB
🎛️ Startup options (11)
--connect_timeout_secs=30
--failure_detail_out=/mnt/ephemeral/output/aspect-cli/aspect-cli/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=/mnt/ephemeral/output/aspect-cli/aspect-cli
--output_user_root=/mnt/ephemeral/bazel/aspect-cli/aspect-cli
--write_command_log
🎛️ Command options (78)
--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
--build_event_binary_file=/tmp/build-event-out-8bcb6d94-6aa4-4922-812a-bcdab9a52e62.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_FRIENDLY_KIND=Delivery
--build_metadata=ASPECT_TASK_FRIENDLY_NAME=delivery-gha-debug
--build_metadata=ASPECT_TASK_ID=7c117dfc-9e5f-4da2-8453-4b430ce63210
--build_metadata=ASPECT_TASK_KIND=delivery
--build_metadata=ASPECT_TASK_NAME=delivery-gha-debug
--build_metadata='ASPECT_WORKFLOWS_LINKS=[Docs](https://aspect.build/docs),[Website](https://aspect.build/)'
--build_metadata=BRANCH_NAME=fix/auth-config-defaults-and-migration
--build_metadata=BUILD_URL=https://github.com/aspect-build/aspect-cli/actions/runs/28833625725
--build_metadata=CI_HOST=GITHUB_ACTIONS
--build_metadata='COMMIT_AUTHOR=Greg Magolan <greg@aspect.build>'
--build_metadata=COMMIT_AUTHOR_EMAIL=greg@aspect.build
--build_metadata='COMMIT_AUTHOR_NAME=Greg Magolan'
--build_metadata='COMMIT_MESSAGE=fix(auth): honor config-defaulted --aspect-* flags, user default over repo, and '
--build_metadata=COMMIT_SHA=60453ca2cbcdac4243581a862d36f565f0a6767e
--build_metadata=COMMIT_TIMESTAMP=2026-07-06T20:46:30-04:00
--build_metadata=REPO_NAME=aspect-cli
--build_metadata=REPO_OWNER=aspect-build
--build_metadata=REPO_URL=https://github.com/aspect-build/aspect-cli
--build_metadata=RUN_TYPE=MANUAL
--build_metadata=TAGS=dev,local,axl-testing
--build_metadata=TAG_COMPONENT=aspect-cli
--build_metadata=TAG_ENV=dev
--build_metadata='USER=github-actions[bot]'
--build_metadata=VCS=GITHUB
--color=yes
--curses=no
--curses=yes
--disk_cache=''
--enable_platform_specific_config
--execution_log_compact_file=/tmp/execlog-out-514289e9-dd72-4d40-8853-0a27dde5969d.bin
--experimental_fetch_all_coverage_outputs
--experimental_profile_include_target_label
--experimental_repository_cache_hardlinks
--generate_json_trace_profile=1
--grpc_keepalive_time=30s
--grpc_keepalive_timeout=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
--nokeep_state_after_build
--noremote_cache_compression
--noremote_upload_local_results
--nosandbox_default_allow_network
--profile=/workflows/6d49a663-eb91-4675-925d-a6b07abc29cd.profile.gz
--remote_accept_cached
--remote_bytestream_uri_prefix=buildbarn-frontend.awd.internal:8980
--remote_cache=unix:///mnt/ephemeral/buildbarn/.cache/bb_clientd/grpc
--remote_download_outputs=minimal
--remote_header='x-identity=<REDACTED>'
--remote_local_fallback
--remote_retries=360
--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=/mnt/ephemeral/caches/repository
--reuse_sandbox_directories
--show_progress_rate_limit=60
--show_result=20
--show_timestamps
--test_output=errors
--workspace_status_command=tools/githooks/check-config.sh

⚙️ Runner metadata

🚀 Workflows runner
  • Workflows version: 5.19.0-alpha16
  • Cloud provider: GCP
  • Region: us-west1
  • Availability zone: us-west1-a
  • Cloud account: awd-silo-prod
  • Instance type: n2d-standard-4
  • Instance name: aw-gha-runner-ccz4
  • Instance ID: 7350100316909597775
  • Image ID: aspect-workflows-ubuntu-2404-kitchen-sink-amd64-20260509-0
  • Group name: oss
  • Group queue: oss
  • Resource type: default
  • Aspect launcher version: 2026.26.25
  • Aspect CLI version: 0.0.0-dev
  • CI agent version: 2.335.1
  • NVMe storage: yes
  • Preemptible: no
  • Warming enabled: yes
  • Warming complete: yes
  • Warming cache version: 1783330517

⏱ Last updated Tue Jul 7 00:53:47 UTC 2026 · 📊 GitHub API quota 8,972/15,000 (60% used, resets in 23m)
🚀 Powered by Aspect CLI (v0.0.0-dev)  |  Aspect Build · X · LinkedIn · YouTube