spread: separate legacy tests
Metadata
Current evaluation
Merged changes to split legacy spread tests into separate GitHub Actions workflows, reducing redundant execution time and improving CI efficiency.
Suggested action: —
No scores available.
Issue body
The primary purpose of this is to place the tests into separate GitHub Actions runs, reducing the repeated test runs if a test fails.
A little Python script reading the GHA logs reveals that the following groups of tests take the longest (in worker time, not actual time):
1. `plugins/v2/` (12443 s)
2. `providers/legacy/` (2942 s)
3. `plugins/craft-parts/` (2659 s)
4. `general/package-repositories/` (1181 s)
5. `general/pack/` (1044 s)
The total time of the 20.04 runs is about 22000 s, so this splits the 20.04 run roughly in half, with the group that's likely to expand in time currently being smaller.
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `make lint`?
- [x] Have you successfully run `pytest tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged changes to split legacy spread tests into separate GitHub Actions workflows, reducing redundant execution time and improving CI efficiency. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to separate legacy spread tests into distinct GitHub Actions workflows, reducing CI retry overhead by parallelizing execution of slow test groups. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without merging. The changes proposed splitting legacy spread tests into separate GitHub Actions workflows to reduce redundant execution time and improve CI efficiency. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4248 spread: separate legacy tests | snapcraft | closed | Merged into main. The pull request separated legacy spread tests into dedicated GitHub Actions workflows to reduce redundant CI execution time and improve pipeline efficiency. | |
| #3375 ci: migrate spread tests to github actions | snapcraft | merged | Merged to master after approval. Migrated spread tests to GitHub Actions, modifying three files with 84 additions and 6 deletions. Codecov reported a negligible 0.01% coverage decrease. | |
| #2276 spread: move legacy wiki tests to spread | snapcraft | merged | Merged following reviewer approval and passing CI. Relocated legacy wiki tests from integration tests to spread, updating 12 files with a net reduction of 42 lines. Addresses LP: #1792717. | |
| #3432 spread tests: remove legacy plugin tests | snapcraft | merged | Merged removal of legacy plugin tests from the spread test suite. Deleted 665 lines across 29 files. Approved by reviewer, passed CI, and maintained coverage. Unrelated test failures were addressed in a separate PR. | |
| #3966 Spread multipass tests | snapcraft | merged | Merged a minor refactor moving manual multipass tests out of the legacy directory. An unrelated spread test failure was noted and resolved by a separate pull request. |