← Back to issue list

Revamp tests for using utilities in deb/snap/docker

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1750006
Type
issue
State
open
Author
~kyrofa
Labels
Created
Updated
Closed

Current evaluation

Maintainer task to revamp complex unit tests verifying which utilities are used when Snapcraft runs from a deb, snap, or docker. 8.5 years old, no labels, zero comments; near-identical issue snapcraft#1932 was closed without action.

Suggested action: close stale

Reason: The issue is 3118 days old with zero comments, no labels, and no maintainer interaction, and the near-identical issue snapcraft#1932 was already closed without action as abandoned/superseded. The repo layout shows the codebase has since been completely restructured (services/, linters/, models/), so the specific 1.x-era mocked utility tests this targets no longer apply to the current architecture.

Impact: 15 Quick Win: 8.25 Staleness: 95 Complexity: 45 Confidence: 70 Support Request: 0

Issue body

We have a number of unit tests that verify that the right utilities are used depending on whether Snapcraft is running out of a deb, snap, or docker. These have gotten quite complex with mocking and fakes and could use a revamp. Perhaps the docker tests could actually be run in docker itself, for example.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 15
Quick Win: 8.25
Staleness: 95
Complexity: 45
Confidence: 70
Support Request: 0
close stale Maintainer task to revamp complex unit tests verifying which utilities are used when Snapcraft runs from a deb, snap, or docker. 8.5 years old, no labels, zero comments; near-identical issue snapcraft#1932 was closed without action.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 35
Confidence: 90
Support Request: 5
close stale Request to refactor complex unit tests for utility selection across deb/snap/docker environments. Issue is over 8 years old with no maintainer engagement or updates.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 35
Confidence: 95
Support Request: 5
close stale Proposes refactoring complex unit tests that mock environment-specific utility selection for deb, snap, and docker. Currently inactive for over 8 years with no maintainer feedback.
qwen3.6-35b-a3b-mtp-q6
Staleness: 100
Complexity: 35
Confidence: 90
Support Request: 5
close stale Suggests revamping complex unit tests that mock utilities for deb/snap/docker environments. Issue is completely inactive after ~8.4 years with no maintainer response or labels.
qwen3.6-35b-moe-q4
Staleness: 98
Complexity: 45
Confidence: 90
Support Request: 10
close stale Unaddressed request to simplify complex unit tests verifying utility selection across deb, snap, and docker environments. Zero maintainer interaction or activity for over 8 years.

Update history

No update history recorded yet.

Related work

  • Duplicate Of: snapcraft#1932 (confidence 75%)

    Near-identical title and scope (revamping deb/snap/docker utility tests); #1932 is closed without action, so this issue is effectively a duplicate of an already-abandoned task.

Related issues

Issue Project State Summary Similarity
#1932 Revamp tests that verify correct utility is being used (deb/snap/docker) snapcraft closed Closed without comments or resolution. Likely abandoned or superseded by updated test infrastructure. References Launchpad bug #1750006.
81%