← Back to issue list

Add ruby spread tests

View original Github issue

Metadata

Project
snapcraft
Number
#5966
Type
issue
State
open
Author
mr-cal
Labels
Status: Triaged Type: Enhancement
Created
Updated
Closed

Current evaluation

Request to add core22/core24 spread tests for the new craft-parts Ruby plugin. Work is done: merged PR snapcraft#5976 added the ruby-hello spread tests, which are present in the repo's build-and-run-hello suites.

Suggested action: close stale

Reason: The requested core22/core24 Ruby spread tests were added by merged PR snapcraft#5976 ('test: add Ruby plugin spread tests', which resolves this issue), and the current repo contains the ruby-hello snap and SNAP/ruby wiring in tests/spread/plugins/craft-parts/build-and-run-hello/task.yaml and tests/spread/core24-suites/plugins/build-and-run-hello/task.yaml. The only activity is an autogenerated Jira-sync bot comment from 223 days ago, so the request is no longer applicable.

Impact: 30 Quick Win: 25.5 Staleness: 65 Complexity: 15 Confidence: 88 Support Request: 0

Issue body

### Check existing issues - [x] I've verified that this request isn't described by any existing issues. ### Request Update craft-parts and add a core22 and core24 spread test to exercise the new Ruby plugin. This could be added onto - (core22) https://github.com/canonical/snapcraft/blob/main/tests/spread/plugins/craft-parts/build-and-run-hello/task.yaml - (core24) https://github.com/canonical/snapcraft/blob/main/tests/spread/core24-suites/plugins/build-and-run-hello/task.yaml There is an old Hello World ruby snap; it was hardly worth finding as it's so simple: https://github.com/canonical/snapcraft/blob/6.1/tests/spread/plugins/v1/ruby/snaps/ruby-hello/ruby-hello.rb ### The problem it solves To ensure the Ruby plugin works as-expected.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 30
Quick Win: 25.5
Staleness: 65
Complexity: 15
Confidence: 88
Support Request: 0
close stale Request to add core22/core24 spread tests for the new craft-parts Ruby plugin. Work is done: merged PR snapcraft#5976 added the ruby-hello spread tests, which are present in the repo's build-and-run-hello suites.
qwen/qwen3.6-35b-a3b
Staleness: 65
Complexity: 25
Confidence: 80
Support Request: 5
keep open Request to add spread tests for the Ruby plugin in craft-parts for core22 and core24. Triaged by a maintainer but inactive for approximately six months with no assignee or progress.
qwen3.6-35b-a3b-mtp-q6
Staleness: 55
Complexity: 20
Confidence: 85
Support Request: 0
keep open Enhancement to add core22 and core24 spread tests for the Ruby plugin in craft-parts. Triaged by a maintainer, currently awaiting implementation.
qwen3.6-35b-a3b-mtp-q6
Staleness: 70
Complexity: 20
Confidence: 85
Support Request: 5
keep open Add core22 and core24 spread tests for the Ruby plugin to verify functionality. Triaged with an internal Jira ticket, but inactive for 146 days. Awaiting assignment and implementation.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: snapcraft#5976 (confidence 90%)

    Merged PR 'test: add Ruby plugin spread tests' that resolves this issue; ruby-hello spread tests now exist in the repo's build-and-run-hello suites.

  • Related To: snapcraft#2212 (confidence 60%)

    Earlier merged PR that added a spread suite for the older (v1) Ruby plugin; same test area but a different plugin generation.

Related issues

Issue Project State Summary Similarity
#2212 tests: add spread suite for ruby plugin snapcraft merged Merged into master. Ruby plugin integration tests were consolidated into a new Spread suite, resolving LP: #1783840. The change modified 13 files, passed CI checks, and received reviewer approval.
75%
#6164 test(spread): add core26 package-cutoff test snapcraft merged Merged. Adds a core26 package-cutoff test as a downstream test for craft-parts PR #1538. Incorporates changes from snapcraft PR #6171 and resolves issues #6146 and #6148. Approved by two reviewers and merged after passing CI checks.
74%
#5976 test: add Ruby plugin spread tests snapcraft merged Merged after review and CI approval. Adds Ruby plugin spread tests to resolve #5966. Retargeted to the hotfix/8.14 branch to align with the plugin's introduction.
73%
#3714 spread: enable core22 snapcraft merged Merged into snapcraft/7.0 after reviewer approval and passing CI checks. The change enables core22 in the spread configuration across 36 files (+112/-58 lines). Code coverage remained unchanged upon merge.
71%
#1783840 Move Ruby plugin tests to spread snapcraft (launchpad) closed Closed without a linked resolution. The proposal to rewrite Ruby plugin integration tests as a Spread suite was abandoned.
71%
#6202 test(spread): create core26 spread test suite snapcraft merged Merged the core26 spread test suite, adding CI jobs and generalizing tests for core22, 24, and 26 across 419 files. Approved by two reviewers and passed most CI checks prior to integration.
70%