← Back to issue list

remote build: improve UX when credentials don't exist

View original Github issue

Metadata

Project
craft-application
Number
#337
Type
issue
State
closed
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Closed by maintainer mr-cal (2024-08-29) as not planned: remote-build in CI is unsupported, CI builds should use snapcraft.io. lengau asked about interactive SSH sessions; mr-cal deferred the decision to sergiusens and no fix landed.

Resolution: closed not a bug

Reason: No code change resolved the requested Launchpad-credentials-missing message; in current remotebuild.py the missing credentials file is only reported via craft_cli.emit.debug ("Credentials file ... not found"). The maintainer closed the issue stating remote-build is not supported in CI and deferring the interactive-SSH case to sergiusens.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done Craft-application should log a message that launchpad credentials don't exist on the machine (and include the expected location). ### Why it needs to get done Particularly in non-interactive workflows (like CI jobs), the remote-builder will hang for 900 seconds waiting for authentication and not provide the user with any meaningful output of why it couldn't log in to launchpad.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed not a bug Closed by maintainer mr-cal (2024-08-29) as not planned: remote-build in CI is unsupported, CI builds should use snapcraft.io. lengau asked about interactive SSH sessions; mr-cal deferred the decision to sergiusens and no fix landed.
stealth/space-bunny-alpha — closed stale Closed without the requested credential-error UX. The maintainer cited lack of remote-build CI support, preferring snapcraft.io; interactive SSH handling was left unresolved.
qwen/qwen3.6-35b-a3b — — Closed. Remote-build CI support was dropped in favor of snapcraft.io, abandoning the credential UX improvement. A potential fix for interactive SSH sessions was deferred to another maintainer.
qwen/qwen3.6-35b-a3b — — Closed without implementation. Remote-build is no longer supported in CI, directing users to snapcraft.io instead. The SSH session scenario was deferred to another maintainer for evaluation.

Update history

No update history recorded yet.

Related work

  • Related To: craft-application#373 (confidence 40%)

    Commit 7bd798ed added a credentials_filepath property to RemoteBuildService (same credentials area) but did not implement the requested missing-credentials messaging.

  • Related To: craft-application#658 (confidence 25%)

    Later remote-build maintenance (slow-test marking) shows remote-build stayed supported for local use only, not CI.

Related issues

Issue Project State Summary Similarity
#5712 remote build: legacy builder should give a friendly error when passing `--project` snapcraft closed Closed as won't fix: maintainer mr-cal said the UX tweak wasn't critical because the legacy remote builder is being removed in Snapcraft 9. That removal landed in merged PR #5994 (commit b08f1a66e), closing #5676.
72%