Recent merge in craft-cli causes rockcraft build to fail
Metadata
Current evaluation
A craft-cli merge removed the rockcraft branch, causing rockcraft builds to fail. Maintainers acknowledged it as a temporary issue and resolved it, closing the report.
Suggested action: —
No scores available.
Issue body
### Bug Description
The recent rockcraft branch merge in craft-cli causes the rockcraft build to fail.
Merge: https://github.com/canonical/craft-cli/pull/258
Failing builds:
- https://github.com/canonical/operator-workflows/actions/runs/9764035008/job/26970906912?pr=370#step:4:3825
- https://github.com/canonical/rockcraft/actions/runs/9769609405/job/26969371080#step:3:1077
### To Reproduce
-
### Environment
-
### rockcraft.yaml
```shell
-
```
### Relevant log output
```shell
2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.250 :: Collecting craft-cli@ git+https://github.com/canonical/craft-cli@rockcraft (from -r requirements.txt (line 6))
2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.251 :: Cloning https://github.com/canonical/craft-cli (to revision rockcraft) to /tmp/pip-install-256u04tg/craft-cli_c1585a2765e24c6aaa381b08ca816856
2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.253 :: Running command git clone --filter=blob:none --quiet https://github.com/canonical/craft-cli /tmp/pip-install-256u04tg/craft-cli_c1585a2765e24c6aaa381b08ca816856
2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.791 :: WARNING: Did not find branch or tag 'rockcraft', assuming revision or ref.
2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.793 :: Running command git checkout -q rockcraft
2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.796 :: error: pathspec 'rockcraft' did not match any file(s) known to git
2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.801 :: error: subprocess-exited-with-error
2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.801 ::
2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.801 :: × git checkout -q rockcraft did not run successfully.
2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.801 :: │ exit code: 1
2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.801 :: ╰─> See above for output.
2024-07-03 01:06:35.512 :: 2024-07-03 01:06:34.801 ::
2024-07-03 01:06:35.513 :: 2024-07-03 01:06:34.801 :: note: This error originates from a subprocess, and is likely not a problem with pip.
```
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | A craft-cli merge removed the rockcraft branch, causing rockcraft builds to fail. Maintainers acknowledged it as a temporary issue and resolved it, closing the report. | |
| qwen/qwen3.6-35b-a3b | — | — | Rockcraft builds failed after a craft-cli merge removed the required rockcraft branch. Maintainers identified it as a temporary issue, applied a fix, and closed the report. | |
| qwen/qwen3.6-35b-a3b | — | — | A craft-cli merge deleted the rockcraft branch, breaking rockcraft builds. The issue was fixed and closed after maintainers confirmed it was a temporary dependency resolution problem. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | A craft-cli merge removed the rockcraft branch, breaking builds. The issue was fixed and closed after maintainers addressed the temporary dependency error. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | A craft-cli merge removed the rockcraft branch, breaking rockcraft builds. Maintainers confirmed it was a temporary issue and applied a fix, resolving the build failure and closing the report. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #372 Merge `rockcraft` | craft-application | merged | Merged into the temporary 2.x branch after two approvals and passing CI. Resolves craft-cli and craft-parts version constraints to enable the 2.9.0 release, with plans to subsequently merge 2.x to main and delete the branch. | |
| #369 fix: craft-cli branch ref to main (rockcraft branch merged) | craft-application | closed | Closed without merging. The author indicated the branch reference fix is being handled in a separate pull request and closed this PR to avoid duplication. | |
| #258 Merge `rockcraft` back into `main` | craft-cli | merged | Merged the rockcraft branch into main following approval from two reviewers. The change adds a missing changelog for version 2.6.0 across six files, with 88 additions and 3 deletions. | |
| #57 feat(rockcraft): support --ignore=unmaintained | craft-actions | merged | Merged following approval from three reviewers and successful CI checks. Introduces the --ignore=unmaintained flag to rockcraft, resolving issue #52. The update modifies 9 files with 179 additions and 17 deletions. |