← Back to issue list

remote build: add option to skip public upload question

View original Github issue

Metadata

Project
snapcraft
Number
#2590
Type
pull request
State
merged
Author
cmatsuoka
Labels
—
Created
Updated
Closed

Current evaluation

Merged a remote-build option to skip the public-upload prompt in noninteractive environments; resolving commit d381d921f.

Resolution: closed resolved

Reason: PR #2590 was approved with no unresolved comments and merged as commit d381d921f. It added TTY-aware confirmation and an option to acknowledge public uploads without interactive prompting.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Add an option to prevent user interaction when running on a noninteractive environment while still acknowledging that uploaded code will be public. Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `./runtests.sh static`? - [x] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged a remote-build option to skip the public-upload prompt in noninteractive environments; resolving commit d381d921f.
stealth/space-bunny-alpha — closed resolved Merged PR #2590 (d381d921f), adding an option to skip the public-upload confirmation for noninteractive remote builds.
stealth/space-bunny-alpha — closed resolved Merged in PR #2590 and commit d381d921f, adding an option to skip the public-upload confirmation for noninteractive remote builds while retaining tty-aware checks and errors.
qwen/qwen3.6-35b-a3b — — Merged. Introduces a flag to skip the public upload confirmation prompt during remote builds, supporting non-interactive environments. Approved by two reviewers, passed CI, and includes tty-aware prompts with error handling.
qwen3.6-35b-a3b-mtp-q6 — — Merged an update adding a flag to skip the public upload confirmation prompt during remote builds, enabling non-interactive environments. Includes tty-aware prompt handling and improved error messaging for failed checks.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2798 cli: improve the remote-build upload messaging snapcraft merged Merged #2798 as 850b5dee8, clarifying that remote-build uploads are publicly available rather than necessarily public.
74%
#2780 remote-build: option renames for arch, user, and accept-public-upload snapcraft merged Merged #2780 renamed remote-build --arch to --build-on and Launchpad-prefixed the user and public-upload options (commits 6ef1767ba, b8e7121e2).
73%
#3553 cli: make remote-build more user-friendly snapcraft merged Merged in #3553 via 8649cedd6: --recover now reports when no build exists, the public-data prompt only appears for new builds, and tests cover the behavior.
73%