Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Better Error Handling when Bicep installation fails

Open
#209 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
azure, github-actions, typescript
Domain
ci-cd, cloud, devops

Research direction

Start with the Bicep installation step used by Azure/bicep-deploy@v2 and reproduce the intermittent download failure described in the issue. Investigate how repeated steps currently download Bicep and create temporary directories. Done means failed downloads are retried, an existing worker installation can be used, and repeated deployment steps avoid unnecessary downloads.

Written by the indexing model from the issue text.

Description

Area - Bicep Install Area - Error Handling bug

Using Azure/bicep-deploy@v2 (thus v2.2.0) on a public GitHub worker failed and crashed the workflow with the foloowing as the only error output:

Error: request to https://downloads.bicep.azure.com/releases/latest failed, reason: 

I re-ran all jobs and it worked again.

Requests:

  • Make this step more resilient.
    • Try multiple times.
    • Fall back to Bicep installed on the worker if present.
  • Don't download Bicep on each step? If running multiple bicep-deploy steps, like validate and then what-if, the actions seems to download Bicep each time.
    • Maybe don't randomly generate a dir each time, like Installed Bicep version 0.35.1 to /tmp/bicep-6j9Ypj/bicep.
    • Or cache the downloaded file?
Dominant language
TypeScript
Stars
66
Forks
20
Avg merge
16h 13m
Merged PRs (30d)
22

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/bicep-deploy

All issues in Azure/bicep-deploy

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.