ci: reduce amount of artifacts to upload for spread
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
This reduces the payload to upload for spread to just the tests
directory. Everything is git commited to keep current reset behavior.
This work implies that when running locally, the snap to be tested
needs be copied into the test directory.
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. CI spread artifact uploads now only include the tests directory to reduce payload size. Local testing requires copying the snap into the test directory. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Reduced CI artifact upload payload for spread to only the tests directory. Local testing now requires copying the snap into the test directory. This change streamlines continuous integration workflows. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #2333 ci: don't run spread tests when unnecessary | charmcraft | closed | Merged to optimize CI execution by skipping unnecessary spread tests and cancelling obsolete snap builds, reducing redundant pipeline runs. | |
| #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. | |
| #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. | |
| #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. | |
| #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. | |
| #107 spread: restrict the files we package | rockcraft | merged | Merged to restrict spread packaging to test/ and tools/ directories only. This reduces local run overhead by excluding hundreds of megabytes of unnecessary files. Approved by one reviewer, passed CI, and modified one file. | |
| #2793 tests: enable SNAPCRAFT_BUILD_INFO for spread | snapcraft | merged | Merged following approval and passing CI. Enabled SNAPCRAFT_BUILD_INFO for spread tests to cover manifest changes. Included a fix for the nil-basic spread test. Minimal diff across three files. |