← Back to issue list

"snapcraft/test" action

View original Github issue

Metadata

Project
craft-actions
Number
#54
Type
issue
State
open
Author
lengau
Labels
Type: Enhancement Status: Triaged
Created
Updated
Closed

Current evaluation

Feature request for a dedicated snapcraft/test GitHub Action with extra parameters and residual artifact outputs. Triaged by maintainer, tracked as CRAFT-5032, no implementation started. Pack action has a basic test flag but no dedicated test action exists.

Suggested action: keep open

Reason: The issue is labeled Status: Triaged with an internal Jira ticket (CRAFT-5032), indicating maintainer acknowledgement. The repo remains active (recent PRs #97, #93, #100) and no implementation exists yet — the repo layout shows no snapcraft/test directory and no residual artifact support. The pack action's existing test flag (runTests in CraftBuilder) only runs snapcraft test without extra parameters or residual artifact outputs, so the feature request remains valid and unaddressed.

Impact: 45 Quick Win: 22.5 Staleness: 55 Complexity: 50 Confidence: 80 Support Request: 5

Issue body

Create an action that runs `snapcraft test` on the runner. It should have the same inputs and outputs as the [pack action](https://github.com/canonical/craft-actions/tree/main/snapcraft/pack), plus: - A way to provide extra parameters to `snapcraft test` - Outputs should include [residual artifacts](https://github.com/canonical/spread#fetching-residual-artifacts).

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 45
Quick Win: 22.5
Staleness: 55
Complexity: 50
Confidence: 80
Support Request: 5
keep open Feature request for a dedicated snapcraft/test GitHub Action with extra parameters and residual artifact outputs. Triaged by maintainer, tracked as CRAFT-5032, no implementation started. Pack action has a basic test flag but no dedicated test action exists.
qwen/qwen3.6-35b-a3b
Staleness: 70
Complexity: 60
Confidence: 85
Support Request: 0
keep open Enhancement to add a GitHub Action for running snapcraft test, mirroring the pack action with extra parameters and artifact outputs. Currently triaged but inactive for 145 days with only a Jira sync comment.
qwen3.6-35b-a3b-mtp-q6
Staleness: 55
Complexity: 45
Confidence: 85
Support Request: 5
keep open Request to create a GitHub Action for running snapcraft test, mirroring the pack action interface with extra parameters and residual artifact outputs. Currently triaged but inactive for ~4 months.
qwen3.6-35b-a3b-mtp-q6
Staleness: 45
Complexity: 50
Confidence: 85
Support Request: 5
keep open Proposes a GitHub Action to run snapcraft test, matching pack action inputs and outputs while adding custom parameters and residual artifact outputs. Triaged enhancement, created 110 days ago, currently awaiting implementation.

Update history

No update history recorded yet.

Related work

  • Related To: craft-actions#40 (confidence 75%)

    rockcraft-pack test support PR shows the pattern for integrating test into the build workflow; relevant design reference for the snapcraft/test action

  • Related To: craft-actions#100 (confidence 70%)

    Node-based rewrite of snapcraft/pack is the current codebase the new test action would build upon; includes the runTests flag and CraftBuilder infrastructure

Related issues

Issue Project State Summary Similarity
#48 "Publish snap" action craft-actions open Feature request for a GitHub Action equivalent to snapcraft upload --release, to complement the existing snapcraft/pack action. Triaged by maintainer, no implementation found in the repo. Last activity 215 days ago adding a retry requirement.
72%