bazelbuild / bazelbuild/bazelisk

add fallback to default releases.bazel.build url

Open
#431 3 comments 0 reactions 0 assignees View on GitHub
P2 type:bug
Dominant language
Go
Stars
2.7k
Forks
424
PR merge metrics
No merged PRs in 30d

Description

When BAZELISK_BASE_URL is set and bazelisk fails to download Bazel from that URL, it would either throw an HTTPError or exit with 22. It should instead fallback to the default releases.bazel.build url

Contributor guide

Open the contributing guide

Research direction

Start at the download path that reads BAZELISK_BASE_URL and reproduce the failure when that URL cannot provide Bazel. Trace how the HTTPError or exit 22 is handled, then verify that the default releases.bazel.build URL is tried instead and that a successful fallback completes the download.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.