Skip to content

fix(auth): log in when the browser is not on this machine - #1418

Draft
cristifalcas wants to merge 3 commits into
mainfrom
cf/auth-login-without-a-local-browser
Draft

fix(auth): log in when the browser is not on this machine#1418
cristifalcas wants to merge 3 commits into
mainfrom
cf/auth-login-without-a-local-browser

refactor(auth): simplify remote browser login

7812c7e
Select commit
Loading
Failed to load commit list.
Aspect Workflows / aspect / test-gha-target-pattern-file succeeded Sep 3, 2026 in 13s

✅ test · Tests passed (cached)

✅ Succeeded · 📅 Thu Sep 3 19:53:02 UTC 2026 · ⏱ 17.6s — 🌱 Init 2.1s · 🔧 Setup 5.8s · 🧪 Test 9.6s
👤 Cristian Falcas · 🖥 aw-gha-runner-f020.us-west1-a.c.awd-silo-prod.internal · 💎 aspect-cli v0.0.0-dev
:octocat: aspect-cli · 🔀 #1418 · ⎇ cf/auth-login-without-a-local-browser · ✏️ 92613f3 - Merge 7812c7ec411f9cf186b2286de88aab602792e97e into e316b6af… · 🏃 Pull request run
📦 1 target · ⚡ 43,004 actions (100% cached) · 🧪 1 test (100% cached) · 🔧 bazel v9.0.1 test · 🎯 x86_64 · ⚙️ fastbuild
🚀 Workflows runner v6.1.0-alpha5 · ☁️ GCP · 📍 us-west1-a · 💠 n2d-standard-4 · 🤖 1637653389262485040
🔗 Docs · 🔗 Website · 🏷 dev · 🏷 local · 🏷 axl-testing · 🏷 COMPONENT=aspect-cli · 🏷 ENV=dev
Aspect · 🐙 GitHub Actions

💬 Last update: test task complete

💡 TIP: Click through for invocation details and logs

Aspect Web UI — invocation details, test logs, build logs, and timing
🐙 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

🎯 Bazel targets (1)

⚡ 1 Test Cached
Label                              | Target Type | Duration
-----------------------------------+-------------+---------
//examples/test_states:always_pass | sh_test     | 26ms    

📎 Artifacts

Artifacts · Profile · BEP

⏱️ Task timing

Phase | Description                  | Duration
------+------------------------------+---------
Init  | Aspect runtime startup       | 2.1s    
Setup | Prepare the task environment | 5.8s    
Test  | Run bazel tests              | 9.6s    
------+------------------------------+---------
Total |                              | 17.6s   

🧮 Bazel details

📟 Command line · bazel test
bazel test \
  --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/)' \
  --flaky_test_attempts=2 \
  --test_summary=terse \
  --curses=no \
  --generate_json_trace_profile=1 \
  --experimental_profile_include_target_label \
  --profile=/workflows/9b098129-41ea-43d3-89c0-eb4a9552e60c.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=remote.silo-gcp.aspect.build \
  --noremote_cache_compression \
  --repository_cache=/mnt/ephemeral/caches/repository \
  --build_metadata=CI_HOST=GITHUB_ACTIONS \
  --build_metadata=VCS=GITHUB \
  --build_metadata=COMMIT_SHA=92613f38aff49f77ec1df2d4a58d757b0ba4d13e \
  --build_metadata=USER=cristifalcas \
  --build_metadata=BRANCH_NAME=cf/auth-login-without-a-local-browser \
  --build_metadata=PR_SOURCE_BRANCH_NAME=cf/auth-login-without-a-local-browser \
  --build_metadata=PR_TARGET_BRANCH_NAME=main \
  --build_metadata=PR_NUMBER=1418 \
  --build_metadata=PR_ID=1418 \
  --build_metadata=RUN_TYPE=PULL_REQUEST \
  --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/33797914432 \
  --build_metadata='COMMIT_AUTHOR_NAME=Cristian Falcas' \
  --build_metadata=COMMIT_AUTHOR_EMAIL=cristi.falcas@gmail.com \
  --build_metadata='COMMIT_AUTHOR=Cristian Falcas <cristi.falcas@gmail.com>' \
  --build_metadata='COMMIT_MESSAGE=Merge 7812c7ec411f9cf186b2286de88aab602792e97e into e316b6af912eccfaa41925e0b999' \
  --build_metadata=COMMIT_TIMESTAMP=2026-09-03T19:41:30+00:00 \
  --build_metadata=ASPECT_TASK_KIND=test \
  --build_metadata=ASPECT_TASK_FRIENDLY_KIND=Test \
  --build_metadata=ASPECT_TASK_NAME=test-gha-target-pattern-file \
  --build_metadata=ASPECT_TASK_FRIENDLY_NAME=test-gha-target-pattern-file \
  --build_metadata=ASPECT_TASK_ID=d5a952f3-4bb6-4763-ab2b-25556720e382 \
  --target_pattern_file=/tmp/tmp.e8U05ho4aY \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-0365c2e0-2fbe-41c1-801c-55a78807f13c.bin
ℹ️ Invocation details
  • Invocation ID: b7d7a98b-b2f2-4993-9b34-364bcd70c017
  • Command: test
  • Bazel version: 9.0.1
  • Start time: Thu Sep 3 19:53:02 UTC 2026
  • End time: Thu Sep 3 19:53:08 UTC 2026
  • User: aspect-runner
  • Host name: aw-gha-runner-f020.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: 13322
⏱ Timing
  • Elapsed time: 5.3s
  • Analysis time: 96ms
  • Execution time: 69ms
  • Bazel server time: 19.4 cpu-seconds
  • Cached tests time saved: 0 cpu-seconds
📦 Build graph
  • Targets: 1 target (1 configured)
  • Actions: 0 actions (43,004 created)
  • Packages: 0 packages loaded
💾 Cache stats
  • Actions: 43,004 of 43,004 cached (100%)
  • Tests: 1 of 1 cached (100%)
⚡ Actions by mnemonic (2)
Mnemonic                   | Count | %    
---------------------------+-------+------
BazelWorkspaceStatusAction | 1     | 50.0%
TestRunner                 | 1     | 50.0%
🏃 Actions by runner (2)
Runner                    | Count | %    
--------------------------+-------+------
remote cache hit · Remote | 2     | 66.6%
internal                  | 1     | 33.3%
🏠 Workspace status (4)
  • BUILD_HOST: aw-gha-runner-f020.us-west1-a.c.awd-silo-prod.internal
  • BUILD_TIMESTAMP: 1788465187
  • BUILD_USER: aspect-runner
  • FORMATTED_DATE: 2026 Sep 03 19 53 07 Thu
🏷️ Build metadata (28)
  • ASPECT_TASK_FRIENDLY_KIND: Test
  • ASPECT_TASK_FRIENDLY_NAME: test-gha-target-pattern-file
  • ASPECT_TASK_ID: d5a952f3-4bb6-4763-ab2b-25556720e382
  • ASPECT_TASK_KIND: test
  • ASPECT_TASK_NAME: test-gha-target-pattern-file
  • ASPECT_WORKFLOWS_LINKS: [Docs](https://aspect.build/docs),[Website](https://aspect.build/)
  • BRANCH_NAME: cf/auth-login-without-a-local-browser
  • BUILD_URL: https://github.com/aspect-build/aspect-cli/actions/runs/33797914432
  • CI_HOST: GITHUB_ACTIONS
  • COMMIT_AUTHOR: Cristian Falcas <cristi.falcas@gmail.com>
  • COMMIT_AUTHOR_EMAIL: cristi.falcas@gmail.com
  • COMMIT_AUTHOR_NAME: Cristian Falcas
  • COMMIT_MESSAGE: Merge 7812c7ec411f9cf186b2286de88aab602792e97e into e316b6af912eccfaa41925e0b999
  • COMMIT_SHA: 92613f38aff49f77ec1df2d4a58d757b0ba4d13e
  • COMMIT_TIMESTAMP: 2026-09-03T19:41:30+00:00
  • PR_ID: 1418
  • PR_NUMBER: 1418
  • PR_SOURCE_BRANCH_NAME: cf/auth-login-without-a-local-browser
  • PR_TARGET_BRANCH_NAME: main
  • REPO_NAME: aspect-cli
  • REPO_OWNER: aspect-build
  • REPO_URL: https://github.com/aspect-build/aspect-cli
  • RUN_TYPE: PULL_REQUEST
  • TAGS: dev,local,axl-testing
  • TAG_COMPONENT: aspect-cli
  • TAG_ENV: dev
  • USER: cristifalcas
  • 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 (83)
--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-0365c2e0-2fbe-41c1-801c-55a78807f13c.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_FRIENDLY_KIND=Test
--build_metadata=ASPECT_TASK_FRIENDLY_NAME=test-gha-target-pattern-file
--build_metadata=ASPECT_TASK_ID=d5a952f3-4bb6-4763-ab2b-25556720e382
--build_metadata=ASPECT_TASK_KIND=test
--build_metadata=ASPECT_TASK_NAME=test-gha-target-pattern-file
--build_metadata='ASPECT_WORKFLOWS_LINKS=[Docs](https://aspect.build/docs),[Website](https://aspect.build/)'
--build_metadata=BRANCH_NAME=cf/auth-login-without-a-local-browser
--build_metadata=BUILD_URL=https://github.com/aspect-build/aspect-cli/actions/runs/33797914432
--build_metadata=CI_HOST=GITHUB_ACTIONS
--build_metadata='COMMIT_AUTHOR=Cristian Falcas <cristi.falcas@gmail.com>'
--build_metadata=COMMIT_AUTHOR_EMAIL=cristi.falcas@gmail.com
--build_metadata='COMMIT_AUTHOR_NAME=Cristian Falcas'
--build_metadata='COMMIT_MESSAGE=Merge 7812c7ec411f9cf186b2286de88aab602792e97e into e316b6af912eccfaa41925e0b999'
--build_metadata=COMMIT_SHA=92613f38aff49f77ec1df2d4a58d757b0ba4d13e
--build_metadata=COMMIT_TIMESTAMP=2026-09-03T19:41:30+00:00
--build_metadata=PR_ID=1418
--build_metadata=PR_NUMBER=1418
--build_metadata=PR_SOURCE_BRANCH_NAME=cf/auth-login-without-a-local-browser
--build_metadata=PR_TARGET_BRANCH_NAME=main
--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=PULL_REQUEST
--build_metadata=TAGS=dev,local,axl-testing
--build_metadata=TAG_COMPONENT=aspect-cli
--build_metadata=TAG_ENV=dev
--build_metadata=USER=cristifalcas
--build_metadata=VCS=GITHUB
--color=yes
--curses=no
--curses=yes
--disk_cache=''
--downloader_config=bazel/downloader.cfg
--enable_platform_specific_config
--experimental_fetch_all_coverage_outputs
--experimental_profile_include_target_label
--experimental_repository_cache_hardlinks
--flaky_test_attempts=2
--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
--noremote_cache_compression
--noremote_upload_local_results
--nosandbox_default_allow_network
--profile=/workflows/9b098129-41ea-43d3-89c0-eb4a9552e60c.profile.gz
--remote_accept_cached
--remote_bytestream_uri_prefix=remote.silo-gcp.aspect.build
--remote_cache=unix:///mnt/ephemeral/buildbarn/.cache/bb_clientd/grpc
--remote_download_outputs=minimal
--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
--target_pattern_file=/tmp/tmp.e8U05ho4aY
--test_output=errors
--test_summary=terse
--workspace_status_command=tools/githooks/check-config.sh

⚙️ Runner metadata

🚀 Workflows runner
  • Workflows version: 6.1.0-alpha5
  • 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-f020
  • Instance ID: 1637653389262485040
  • Image ID: aspect-workflows-ubuntu-2404-kitchen-sink-amd64-20260509-0
  • Group name: oss
  • Group queue: oss
  • Resource type: default
  • Aspect launcher version: 2026.36.3
  • Aspect CLI version: 0.0.0-dev
  • CI agent version: 2.337.0
  • NVMe storage: yes
  • Preemptible: no
  • Warming enabled: yes
  • Warming complete: yes
  • Warming cache version: 1788423552

⏱ Last updated Thu Sep 3 19:53:11 UTC 2026 · 📊 GitHub API quota 1,973/15,000 (13% used, resets in 28m)
🚀 Powered by Aspect CLI (v0.0.0-dev)  |  Aspect Build · X · LinkedIn · YouTube