'sign-build' implementation.
Metadata
Current evaluation
Merged the snapcraft sign-build command for generating, signing, and pushing assertions. Supersedes PR 795. Lint errors were fixed and design concerns regarding future release integration were resolved with reviewer approval.
Suggested action: —
No scores available.
Issue body
Supporting snap-build assertion generation and pushing to the Store.
Implements `snapcraft sign-build <snap>` as a discreet command for generating, signing and optionally pushing snap-build assertions to the store.
Next stage, when snap-build start to be required/checked on Store and snapd side, we will extend push & release commands to take this in consideration as well.
Supersedes https://github.com/snapcore/snapcraft/pull/795 since Caio on leave this week.
https://bugs.launchpad.net/snapcraft/+bug/1628679
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged the snapcraft sign-build command for generating, signing, and pushing assertions. Supersedes PR 795. Lint errors were fixed and design concerns regarding future release integration were resolved with reviewer approval. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged implementation of the snapcraft sign-build command for generating, signing, and pushing snap-build assertions. Lint errors were fixed, integration tests deferred pending snapd 2.15, design clarified with reviewers, superseding #795. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged implementation of the snapcraft sign-build command for generating and signing assertions. Lint errors were fixed and integration test failures deferred pending snapd 2.15. Supersedes PR #795. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1628679 Implement 'sign-build' command | snapcraft (launchpad) | closed | Requesting a snapcraft sign-build command to create and push assertions was closed without implementation. No pull request was linked, indicating the feature was abandoned. | |
| #839 Fixing 'sign-build' integration tests. | snapcraft | merged | Merged fix for sign-build integration tests. Updated the test to build, register, and sign a snap, and extended the fake server for account-info. Approved by one reviewer; merged with 57 additions and 17 deletions across three files. | |
| #6228 refactor: migrate sign-build command | snapcraft | merged | Merged refactoring PR that migrates the sign-build command out of the legacy codebase (SNAPCRAFT-1320). Approved by two reviewers and integrated after a lint failure was resolved in a separate PR. | |
| #5826 fix: parse a snap file for the sign-build command | snapcraft | merged | Merged fix aligning legacy and modern Craft CLI argument parsing for the sign-build command, resolving mismatch errors. Also removed redundant --local help text. Addresses #5618. Approved and passed CI. | |
| #1629984 trying to sign-build without keys leaves a -build file, empty | snapcraft (launchpad) | closed | Closed and resolved. The snapcraft sign-build command was patched to prevent creating empty -build files on failure, resolving subsequent assertion conflicts. No further discussion was recorded. |