← Back to issue list

tests: pass proper type to run for version

View original Github issue

Metadata

Project
snapcraft
Number
#3653
Type
pull request
State
merged
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

Merged a single-file change to pass the correct type to the run command for version testing. Approved by one reviewer with passing CI checks.

Suggested action:

No scores available.

Issue body

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `./runtests.sh static`? - [x] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged a single-file change to pass the correct type to the run command for version testing. Approved by one reviewer with passing CI checks.
qwen3.6-35b-a3b-mtp-q6 Merged a maintainer pull request correcting test code to pass the proper type to the run command for version handling. The change passed static and unit tests and was integrated into the main branch without additional review comments.
qwen3.6-35b-a3b-mtp-q6 Merged a test correction ensuring the run function receives the proper type for version handling. The change passed static and unit tests, was authored by a maintainer, and integrated without additional review.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#433 fix(tests): better typing for tests starbase merged Merged improvements to test type annotations to satisfy the ty type checker. Approved by two reviewers, passed all CI checks, and applied with a minimal +7/-6 line change across one file.
75%
#5375 test: fix command tests snapcraft merged Merged after updating test fixtures to resolve failing command unit tests. Approved by two reviewers, passed CI checks, and modified two files with 17 additions and 9 deletions.
74%
#3305 unit tests: fix runtests.sh not filtering tests when passed a subdirectory snapcraft merged Merged a one-line fix correcting runtests.sh to properly filter tests when a subdirectory is passed. Previously, the script ran the entire suite. Approved by two reviewers, passed CI, and merged.
72%
#864 fix(test): fix version test craft-application merged Merged a fix for a version test failure on release-tagged commits that broke TICS. Approved by two reviewers and passed all CI checks with a single line change.
72%
#4626 fix: use VersionStr in model and add write test snapcraft merged Merged a fix to use VersionStr in the model and added a write test. Approved by two reviewers, passed CI, and maintained full test coverage on changed lines.
71%
#415 tests: cast type expectation for organize assertions craft-parts merged Merged a test update casting type expectations for organize assertions. Approved by one reviewer, modifying one file with two additions and one deletion.
71%
#6224 fix(test): correct match string in try test snapcraft merged Merged a one-line fix correcting an invalidated test string from PR #6193. Approved by two reviewers and passed CI checks before integration.
71%
#1146 test: fix doc version tests craft-application merged Merged a fix for documentation version test failures accidentally introduced by PR #1140. Approved by two reviewers, passed all CI checks, and merged with a +6/-5 change across three files.
70%
#832 tests: add unit tests for process_run function craft-parts merged Merged after two reviewers approved. Added 23 lines of unit tests for the process_run function across one file. No unresolved comments or CI failures.
70%