Azure / Azure/azure-dev

azd update: crash-loop guard for auto-update

Open
#6,983 0 comments 0 reactions 0 assignees View on GitHub
area/core-cli bug
Dominant language
Go
Stars
569
Forks
364
Avg merge
2d 19h
Merged PRs (30d)
136

Description

## Problem
No sentinel file or `AZD_SKIP_AUTO_UPDATE` escape hatch. The applied marker file is display-only. If the new binary panics during startup before completing initialization, users have no env var to bypass auto-update.

## Proposed
- Add `AZD_SKIP_AUTO_UPDATE` env var that bypasses `ApplyStagedUpdate` entirely
- Track consecutive apply failures; disable auto-apply after N failures
- Optionally: write a "last good version" marker for manual recovery

## Context
Raised in design review #6910 and PR #6942 code review.

Parent epic: #6721

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.