← Back to issue list

providers: prompt user to install LXD if not installed (CRAFT-335)

View original Github issue

Metadata

Project
charmcraft
Number
#424
Type
pull request
State
merged
Author
cjp256
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #424 added an interactive prompt to install missing LXD while skipping non-TTY sessions; implementation landed in commit accb19ad.

Resolution: closed resolved

Reason: The approved change was merged into main by merge commit cfb4b6b4, with implementation commit accb19ad. It prompts interactive users to install LXD when absent and avoids prompting when stdin is not a TTY.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Note that this won't prompt the user if stdin does not appear to be an interactive TTY. Signed-off-by: Chris Patterson <chris.patterson@canonical.com>

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #424 added an interactive prompt to install missing LXD while skipping non-TTY sessions; implementation landed in commit accb19ad.
stealth/space-bunny-alpha — closed resolved Merged PR #424 added an interactive LXD installation prompt when needed, while skipping the prompt in non-TTY sessions; landed in commit accb19ad.
stealth/space-bunny-alpha — closed resolved Merged PR #424 added an interactive prompt to install missing LXD while suppressing it for non-TTY sessions; landed as commit accb19ad.
stealth/space-bunny-alpha — closed resolved PR #424 merged into main (merge commit cfb4b6b4, content commit accb19ad), implementing CRAFT-335: charmcraft providers now prompt interactively to install LXD when missing, skipping the prompt on non-TTY stdin.
stealth/space-bunny-alpha — closed resolved Merged #424 in accb19ad, adding an interactive LXD installation prompt when LXD is missing while suppressing it for non-interactive stdin.
stealth/space-bunny-alpha — closed resolved Merged PR #424 added an interactive prompt to install missing LXD, skipping non-TTY sessions. Changes landed in commit accb19ad.
qwen/qwen3.6-35b-a3b — — Merged after two approvals and passing CI. Adds logic to prompt users to install LXD when missing, skipping non-interactive TTYs. Resolves CRAFT-335 with 88 additions and 24 deletions across two files.
qwen3.6-35b-a3b-mtp-q6 — — Merged implementation that prompts users to install LXD when missing, bypassing prompts on non-interactive TTYs. Closes CRAFT-335.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#419 providers: gracefully handle when LXD not installed (CRAFT-329) charmcraft merged Merged #419 to handle missing LXD: builds now require the provider, while cleanup safely skips container operations when LXD is unavailable.
72%