← Back to issue list

ci: always discard spread workers in build-rock tests (core24-8)

View original Github issue

Metadata

Project
snapcraft-rocks
Number
#117
Type
pull request
State
merged
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Merged changes add a cleanup step to discard spread workers in the build-rock workflow, preventing leaked Google Cloud VM instances on cancellation or crash. Resolves SNAPCRAFT-1368.

Suggested action:

No scores available.

Issue body

This PR adds the 'Discard spread workers' cleanup step to the 'spread-tests' job in the 'build-rock.yaml' workflow. Without this step, if the job is cancelled or crashes, the remote Google Cloud VM instances allocated by 'spread' are leaked and remain active until the halt timeout (2h). SNAPCRAFT-1368

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6 Merged changes add a cleanup step to discard spread workers in the build-rock workflow, preventing leaked Google Cloud VM instances on cancellation or crash. Resolves SNAPCRAFT-1368.
qwen/qwen3.6-35b-a3b
Staleness: 20
Complexity: 5
Confidence: 85
needs review Adds a cleanup step to discard spread workers in build-rock tests to prevent leaked Google Cloud VM instances. Currently pending maintainer review with 0 comments, CI passing except for two self-hosted build-rock jobs.
qwen/qwen3.6-35b-a3b
Staleness: 25
Complexity: 10
Confidence: 85
needs review Adds cleanup step to discard spread workers in build-rock tests to prevent GCP VM leaks on cancellation. Currently pending maintainer review with 0 comments. CI passes spread-tests but fails self-hosted build-rock jobs.
qwen3.6-35b-a3b-mtp-q6
Staleness: 5
Complexity: 10
Confidence: 90
needs review Adds a cleanup step to discard spread workers in the build-rock workflow to prevent leaked Google Cloud VM instances after job cancellation or crashes. Currently awaiting review.

Update history

Date Change
updated
updated

Related issues

Issue Project State Summary Similarity
#115 ci: always discard spread workers in build-rock tests (core22-8) snapcraft-rocks merged Merged changes adding a cleanup step to discard spread workers in the build-rock CI workflow. This prevents leaked Google Cloud VM instances on cancellation or crash, resolving SNAPCRAFT-1368. Approved by two reviewers.
97%
#116 ci: always discard spread workers in build-rock tests (core22-7) snapcraft-rocks open Adds spread worker cleanup step to build-rock.yaml workflow to prevent leaked GCP VM instances. Inactive 56 days with unresolved review comment and failing CI checks.
87%
#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.
78%
#6335 ci: always discard spread workers in manual tests (main) snapcraft merged Merged. Adds a cleanup step to discard spread workers in manual CI tests, preventing leaked Google Cloud VM instances upon cancellation or crash. Approved by one reviewer and merged with 56 lines added across one file.
77%
#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.
73%