← Back to issue list

Use chisel from snapcraft in CI instead of clone and building

View original Github issue

Metadata

Project
craft-parts
Number
#746
Type
issue
State
closed
Author
dariuszd21
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #793 updated CI to install Chisel as a snap and move pytest temporary paths out of tmpfs, removing clone-and-build steps.

Resolution: closed resolved

Reason: Merged PR canonical/craft-parts#793, commit cc150417, installs Chisel as a snap and adjusts pytest temporary paths for strict snap confinement.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done Replace cloning chisel with an installation of the snap. Change temporary directory in pytest configuration to be accessible by strict chisel snap, so rest of the workflow workflow remain unchanged. ### Why it needs to get done Right now chisel is cloned and built during workflow, because snap does not have an access to tmpfs. We have to manually change a tag in workflow definition to use a newest version.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #793 updated CI to install Chisel as a snap and move pytest temporary paths out of tmpfs, removing clone-and-build steps.
stealth/space-bunny-alpha — closed resolved Fixed by merged PR #793: CI now installs Chisel as a snap and adjusts the pytest temporary-path fixture for snap access instead of cloning and building Chisel.
qwen/qwen3.6-35b-a3b — — Closed without implementation or discussion. The proposal to install chisel via snapcraft in CI was abandoned, leaving the existing clone-and-build workflow unchanged.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The proposal to replace the cloned chisel build with the snapcraft version and adjust pytest temp directories was abandoned due to inactivity.
qwen/qwen3.6-35b-a3b — — Abandoned. The issue was closed without implementation or discussion. The CI workflow continues cloning and building chisel, deferring the snap integration. No resolution or merge details were provided.
qwen3.6-35b-a3b-mtp-q6 — — Closed without implementation. The proposal to replace cloning chisel with a snapcraft installation and adjust pytest temp directories for strict snap access was abandoned.

Update history

No update history recorded yet.

Related work

Related issues

Issue Project State Summary Similarity
#793 ci fixes craft-parts merged Merged PR #793 in commit cc150417, replacing CI's Chisel clone/build with a snap install, removing obsolete Ruff noqas, and making the home fixture snap-accessible; fixes #746.
79%
#792 ci: install chisel as a snap craft-parts closed Closed unmerged after inactivity; equivalent Chisel-snap CI and home-fixture changes were merged in craft-parts#793, fixing craft-parts#746.
79%
#18 build: readd chisel for snapcraft 8 snapcraft-rocks merged PR #18 merged, restoring Chisel and its Snapcraft 8.x-only spread test while bumping Snapcraft to 8.0.2.
74%
#4522 chore(deps): bump version of Chisel snapcraft merged Merged PR #4522, updating Snapcraft's staged Chisel dependency to v0.8.1 for compatibility with upcoming Chisel and chisel-releases provisioning changes.
73%
#649 Install chisel if parts use slices craft-parts closed Implemented as requested: PR #904 (commit 941164e1) makes craft-parts append chisel@latest/stable to extra build snaps when any part has stage-packages/build-packages slices. Later #914 added part_has_chisel_as_build_snap detection.
71%
#17 build: drop chisel from rockcraft.yaml snapcraft-rocks merged PR #17 merged and removed Chisel from rockcraft.yaml, aligning the Snapcraft 7 rock with Snapcraft's capabilities; PR #18 later restored Chisel for Snapcraft 8.
70%