Finding
unit-tests.yml is missing 8 test files that already exist in tests/ and are exercised by just test.
Missing bats tests (4)
| Test file |
What it covers |
test_hardware_hooks.bats |
10-framework.sh and 11-asus.sh system-setup hooks |
test_theming_hook.bats |
10-theming.sh user-setup hook |
test_nvidia_flatpak_sync.bats |
ublue-nvidia-flatpak-runtime-sync script |
test_ujust.bats |
ujust wrapper on-demand fzf installation |
Note: test_libvirt_helper.bats is intentionally excluded (requires running libvirtd; documented in Justfile).
Missing Python tests (4)
| Test file |
What it covers |
Extra dep |
test_bazaar_hook.py |
bazaar-hook libexec (JetBrains/VSCode redirect logic) |
— |
test_check_oci_refs.py |
scripts/check-oci-refs.py (tag/ref validation) |
— |
test_curated_config.py |
Bazaar curated.yaml + bazaar.yaml structure |
pyyaml |
test_skill_docs.py |
scripts/check-doc-links.sh, skill frontmatter, index |
— |
Fix
16-line diff to .github/workflows/unit-tests.yml — no new tests needed, they already exist:
- pip install pytest pytest-cov
+ pip install pytest pytest-cov pyyaml
+ - name: Run pytest (bazaar-hook, check-oci-refs, curated-config, skill-docs)
+ run: python3 -m pytest tests/test_bazaar_hook.py tests/test_check_oci_refs.py tests/test_curated_config.py tests/test_skill_docs.py -v
+ - name: Run bats (hardware hooks — framework + asus)
+ run: bats tests/test_hardware_hooks.bats
+
+ - name: Run bats (theming hook)
+ run: bats tests/test_theming_hook.bats
+
+ - name: Run bats (nvidia flatpak runtime sync)
+ run: bats tests/test_nvidia_flatpak_sync.bats
+
+ - name: Run bats (ujust — fzf on-demand install)
+ run: bats tests/test_ujust.bats
Branch quality/ci-sync-missing-tests has the commit ready; push was blocked because the App lacks workflows permission.
Priority
- Impact: high — 8 test files silently skipped on every PR; regressions in hardware hooks, theming, nvidia sync, and ujust go undetected
- Effort: low — copy-paste diff above, no new test code needed
Filed by quality agent (hold-gated mode)
Finding
unit-tests.ymlis missing 8 test files that already exist intests/and are exercised byjust test.Missing bats tests (4)
test_hardware_hooks.bats10-framework.shand11-asus.shsystem-setup hookstest_theming_hook.bats10-theming.shuser-setup hooktest_nvidia_flatpak_sync.batsublue-nvidia-flatpak-runtime-syncscripttest_ujust.batsujustwrapper on-demand fzf installationNote:
test_libvirt_helper.batsis intentionally excluded (requires running libvirtd; documented in Justfile).Missing Python tests (4)
test_bazaar_hook.pybazaar-hooklibexec (JetBrains/VSCode redirect logic)test_check_oci_refs.pyscripts/check-oci-refs.py(tag/ref validation)test_curated_config.pypyyamltest_skill_docs.pyscripts/check-doc-links.sh, skill frontmatter, indexFix
16-line diff to
.github/workflows/unit-tests.yml— no new tests needed, they already exist:Branch
quality/ci-sync-missing-testshas the commit ready; push was blocked because the App lacksworkflowspermission.Priority
Filed by quality agent (hold-gated mode)