← Back to issue list

remote-build: migrate build-id generation

View original Github issue

Metadata

Project
snapcraft
Number
#4322
Type
issue
State
closed
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

Remote build-id generation migration was closed without comments or a linked pull request, indicating the task was abandoned or superseded by subsequent code refactoring.

Suggested action:

No scores available.

Issue body

### What needs to get done Migrate code to generate the build-id: - get the project name from the snapcraft.yaml - generate the hash for the build-id in [`snapcraft_legacy/project/_project.py`](https://github.com/snapcore/snapcraft/blob/8758571f08fcdb896a25dce98d8bd6ee65a7f5f2/snapcraft_legacy/project/_project.py#L86). This needs to be migrated to `snapcraft/commands/remote.py`. ### Why it needs to get done The build-id format is `snapcraft-<snap-name>-<project-hash>`. The project hash is based on the entire contents of the project directory. This allows for parallel builds of the same project (see details [here](https://github.com/snapcore/snapcraft/pull/3554)).

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Remote build-id generation migration was closed without comments or a linked pull request, indicating the task was abandoned or superseded by subsequent code refactoring.
qwen/qwen3.6-35b-a3b Closed without a linked resolution or merge. The build-id generation migration task was abandoned, as no pull request or resolution was recorded.
qwen/qwen3.6-35b-a3b Closed without implementation or discussion. The requested migration of build-id generation from legacy project code to remote commands was not completed and appears abandoned.
qwen3.6-35b-a3b-mtp-q6 Closed without implementation or linked pull request. The build-id migration task was abandoned or superseded by later refactoring.
qwen3.6-35b-a3b-mtp-q6 Closed without implementation. The build-id generation migration task was abandoned or superseded by subsequent refactoring.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#619 Remote-build advertises a --build-id that doesn't exist craft-application closed Abandoned without resolution. The report noted the remote-build command incorrectly advertises a non-existent --build-id flag. Lacking reproduction details and follow-up, the issue was closed after an automated Jira sync.
73%
#4324 remote-build: new command logic snapcraft closed The remote-build command logic update was closed without implementation. No linked pull request or resolution details exist, indicating the feature was abandoned.
72%
#4385 feat(remote-build): get build id snapcraft merged Merged implementation for remote build ID generation or command-line acceptance, resolving issue #4322. Approved by reviewers, passed CI, and adds logic to handle build IDs automatically or via input.
70%