remote-build: add control logic for snap base
Metadata
Current evaluation
Closed without implementation. The request to add base-specific control logic for remote-build was abandoned due to lack of activity.
Suggested action: —
No scores available.
Issue body
### What needs to get done
This adds control logic to determine whether to execute the new or legacy remote-build code.
Requires parsing the snapcraft.yaml and checking the base. Only core20 and core22 snaps can use the legacy remote-build code.
Devel, core24, and onwards must use the new remote-build code.

### 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 | — | — | Closed without implementation. The request to add base-specific control logic for remote-build was abandoned due to lack of activity. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The requested control logic to route remote-build execution based on snap base was abandoned or superseded by subsequent migration efforts, with no associated pull request or code changes applied. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. The requested control logic to route remote-build between legacy and new code based on snap base was closed without implementation. No resolution or follow-up PR was created. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without comments or linked changes. The remote-build base control logic task appears abandoned or superseded by later migration to the new craft libraries and updated remote-build pipeline. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation or linked pull request, indicating the remote-build control logic feature was abandoned. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4321 remote-build: add control logic when the project is in a git repo | snapcraft | closed | Closed without implementation. The proposed control logic to switch remote-build execution based on git repository presence was abandoned. | |
| #4319 remote-build: add control logic for envvar `SNAPCRAFT_REMOTE_BUILD_STRATEGY` | snapcraft | closed | Implemented control logic for SNAPCRAFT_REMOTE_BUILD_STRATEGY to toggle between new and legacy remote-build execution. The feature was merged and the issue closed as completed. | |
| #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. |