feat(remote-build): get build id
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
- [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 `make lint`?
- [x] Have you successfully run `pytest tests/unit`?
-----
4 commits. It's easiest to review one commit at a time.
Generates a build-id or uses the build-id provided at the command line.
Fixes #4322
(CRAFT-1977)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into main. Implements remote build ID generation or CLI acceptance, resolving issue #4322. Code coverage increased by 0.04% with full diff coverage. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into main. Implements remote build ID generation or command-line override, resolving #4322. The four-commit change achieved 100% test coverage and incorporated reviewer feedback on using concatenated hashes for improved robustness. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4395 feat(remote-build): new command logic | snapcraft | merged | Merged into main. Introduces a RemoteBuild class to orchestrate remote builds, adds local project directory caching, and implements post-build cache cleanup. Resolves #4324. Approved by three reviewers with passing CI and 97.88% diff coverage. | |
| #1546 feat: remote build command | charmcraft | merged | Merged the remote build command feature. Approved by two reviewers and passing CI, the PR rebases prior work and adds remote build functionality. Follow-up issues were created to resolve related build-id recovery and dependency bugs. | |
| #4370 feat(remote-build): check if project is in a git repository | snapcraft | merged | Merged feature adding git repository detection for remote-build. Falls back to legacy remote-build logic when a project lacks a git repository, resolving issue #4321. Approved by two reviewers and passed CI checks. | |
| #4322 remote-build: migrate build-id generation | snapcraft | closed | 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. |