test: fix directory test strategy
Metadata
Current evaluation
Merged a fix for the directory test strategy that prevented Craft Parts failures when two partitions shared the default name. The change passed all CI checks, received reviewer approval, and updated the changelog.
Suggested action: —
No scores available.
Issue body
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
-----
Craft Parts would occasionally [fail](https://github.com/canonical/craft-parts/actions/runs/14618175587/job/41011179284?pr=1073#step:8:211) when the strategy generated "default" because there would be 2 partitions named "default".
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged a fix for the directory test strategy that prevented Craft Parts failures when two partitions shared the default name. The change passed all CI checks, received reviewer approval, and updated the changelog. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix for the directory test strategy that resolved Craft Parts failures caused by duplicate default partition names. The update corrects the test configuration to ensure unique partition identifiers. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #634 Clean partitions directories | craft-parts | closed | Implemented partition directory cleanup during craft-parts part cleaning to prevent dirty build environments. Resolved and merged via pull request #652. | |
| #493 partitions: validate usage of partitions in parts | craft-parts | merged | Implemented partition validation for filepaths in the organize, overlay, stage, and prime keywords within parts. Merged after reviewer approval and passing CI checks, modifying seven files to resolve CRAFT-1844. | |
| #3719 tests: fix lifecycle tests to run on new directory | snapcraft | merged | Merged a fix for lifecycle tests to run in a new directory instead of the current one. Approved by a reviewer, passed CI, and changed three lines. | |
| #87 A test for directories in the copy plugin | snapcraft | merged | Merged a test addition verifying the fix for issue #16 regarding directories in the copy plugin. The change adds seven lines across three files and was accepted without review or CI checks. |