remote-build: rework WorkTree and LaunchpadClient classes
Metadata
Current evaluation
The remote-build refactoring was closed without implementation. Migration to snapcraft/remote_build/ and WorkTree simplifications were abandoned or superseded by subsequent project updates.
Suggested action: —
No scores available.
Issue body
### What needs to get done
Migrate the legacy remote-build code to snapcraft/remote_build/
This involves:
- simplifications to WorkTree class
- no tarballing sources
- no modifications to snapcraft.yaml
- use new `pygit2` wrapper
### Why it needs to get done
remote-build needs to be migrated because it does not leverage the new craft libraries, has issues with building core22 snaps, and has issues related to how the local project is bundled.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | The remote-build refactoring was closed without implementation. Migration to snapcraft/remote_build/ and WorkTree simplifications were abandoned or superseded by subsequent project updates. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The remote-build migration to simplify WorkTree and LaunchpadClient classes appears abandoned or superseded. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation or comments, indicating the remote-build migration task was abandoned or superseded. No resolution details provided. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation or discussion. The remote-build migration and WorkTree/LaunchpadClient refactoring were abandoned or superseded by subsequent development. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation or discussion. The remote-build migration and WorkTree/LaunchpadClient rework was abandoned. No resolution or merge details were provided. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4390 chore(remote-build): migrate LaunchpadClient and WorkTree | snapcraft | merged | Merged into main after two approvals and passing CI. Migrates LaunchpadClient and WorkTree classes and tests from snapcraft_legacy, modernizing conventions, updating to pytest, and refactoring GitRepo. Resolves #4323. | |
| #4389 feat(remote-build): add LaunchpadClient | snapcraft | closed | Closed after migrating LaunchpadClient and WorkTree from snapcraft_legacy, modernizing code conventions and updating tests to pytest. Resolves issue #4323. | |
| #2500 cli: add remote build | snapcraft | merged | Merged. Adds remote build capability to Launchpad, dispatching source trees for remote compilation and retrieving resulting snap packages or logs. Approved by reviewers, passed CI, and integrated despite a minor test coverage decrease. |