← Back to issue list

store: implement push pre-check.

View original Github issue

Metadata

Project
snapcraft
Number
#1009
Type
pull request
State
merged
Author
squidsoup
Labels
Created
Updated
Closed

Current evaluation

Merged into master. Implements a store pre-check for snapcraft push to validate snap registration before upload, preventing failed transfers. Added a user status message, approved by reviewer, and passed CI checks.

Suggested action:

No scores available.

Issue body

LP: #1610776 This branch adds a precheck request to the store to `snapcraft push`, which in the case of an unregistered snap will report the error to the user before attempting a full upload.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged into master. Implements a store pre-check for snapcraft push to validate snap registration before upload, preventing failed transfers. Added a user status message, approved by reviewer, and passed CI checks.
qwen3.6-35b-a3b-mtp-q6 Merged after adding a progress message for the store pre-check. The change implements a pre-upload verification step in snapcraft push to catch unregistered snap errors early, improving user feedback and debugging.
qwen3.6-35b-a3b-mtp-q6 Merged squidsoup's implementation of a push pre-check for snapcraft push. The change validates snap registration before upload, adds a status message to handle potential timeouts, and improves error reporting and logging.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2492 store: handle invalid snap file errors snapcraft merged Merged changes implementing error handling for corrupt or invalid snap files during package data extraction for signing or push. Approved by reviewer, passed CI checks, and successfully integrated to master, resolving SNAPCRAFT-GE.
72%
#2650 store: send snapcraft-started-at in push requests snapcraft merged Merged into master. Introduces a snapcraft-started-at timestamp in push requests to enable store-side ordering of release requests. Approved by one reviewer and passed CI checks.
71%
#1634 Push metadata to the Store. snapcraft merged Successfully merged changes to push snap metadata to the store. Resolved initial CI and CLA failures, updated error messages per reviewer feedback, replaced metadata terminology, and added integration tests. Approved by two reviewers.
71%
#3533 store: Add ReviewInProgress status snapcraft merged Merged addition of the ReviewInProgress status to the store module. Addresses a discrepancy where the store returned this status but snapcraft rejected it. Approved by two reviewers with no unresolved comments.
70%