ci: don't run spread tests when unnecessary
Metadata
Current evaluation
Merged to optimize CI execution by skipping unnecessary spread tests and cancelling obsolete snap builds, reducing redundant pipeline runs.
Suggested action: —
No scores available.
Issue body
This prevents us from running spread tests when there are no changes that could affect the spread tests, also cancelling in-progress snap builds if the build is obsoleted (for example, if a new commit is pushed on a PR).
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged to optimize CI execution by skipping unnecessary spread tests and cancelling obsolete snap builds, reducing redundant pipeline runs. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged CI optimization that skips spread tests when no relevant changes exist and cancels obsolete snap builds upon new commits, reducing pipeline execution time. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to optimize CI by skipping unnecessary spread tests and canceling obsolete snap builds when new commits are pushed. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3476 ci: reduce amount of artifacts to upload for spread | snapcraft | merged | Merged a CI optimization that reduces spread upload artifacts to the tests directory, decreasing payload size. Local execution now requires copying the snap to the test directory. Approved and passed all checks. | |
| #432 ci: speed up spread testing workflow | fetch-service | merged | Merged CI workflow optimization that decouples snap-test from snap-build, reducing pipeline latency. The build job remains for artifact retrieval. Approved by two reviewers, passed all checks, and modified one file. | |
| #1519 ci: always discard spread runners | charmcraft | merged | Merged a CI workflow update that permanently discards spread runners by mirroring the snapcraft repository configuration. Approved by three reviewers, the change adds 16 lines to a single workflow file. | |
| #2771 ci: always discard spread workers in snap-store-tests (main) | charmcraft | merged | Merged CI fix adding cleanup to discard spread workers in snap-store-tests. Prevents Google Cloud VM leaks on cancellation or crash, aligning with other jobs. Approved and merged despite minor CI failures. | |
| #2334 ci: be more selective about when we run expensive tests | charmcraft | merged | Merged after approval. Updates CI configuration to skip expensive tests when only non-impacting paths change, reducing execution time and energy usage. | |
| #2680 spread tests: minor performance improvements | snapcraft | merged | Merged minor spread test performance improvements. Changes include conditional multipass installation, --purge on snap removals, and increasing GCE workers for 16.04 to 12. Approved, passed CI, and maintained coverage. | |
| #482 ci: always discard spread workers | rockcraft | merged | Merged a CI workflow update to always discard spread workers, ensuring cleanup even on workflow cancellation. This change mirrors snapcraft's spread configuration. | |
| #4380 ci: download snap to tests dir | snapcraft | merged | Merged a CI fix that ensures scheduled spread tests download the snap to the tests directory. Approved by two reviewers, passed CI checks, and modified one file. | |
| #573 ci: run spread tests on 'spread-installed' runners | rockcraft | merged | Merged a two-file, four-line CI configuration change to run spread tests on spread-installed runners. Approved by three reviewers and integrated. |