mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-06 10:03:07 +02:00
- meta/.pre-commit-config.yaml: move pytest-coverage hook to pre-commit stage - scripts/pytest_changed_packages.py: single batched pytest -n auto invocation with one --cov flag per affected python_pkg subpackage, wrapped in systemd-run --user --scope -p MemoryMax=4G -p MemorySwapMax=0 when available - python_pkg/steam_backlog_enforcer/tests/conftest.py: new autouse _no_real_sleep fixture patches time.sleep across game_install / library_hider / steam_api / _enforce_loop. Removes 3x 15s real sleeps in TestFinalizeCompletion that fired through _ensure_steam_running steam_backlog_enforcer test wall time: 33.97s -> 5.61s (xdist, no-cov) 5-package batched run: 732 tests in 1.37s @ 668% CPU Coverage stays at 100% on all affected packages. Evidence: docs/superpowers/evidence/pre-commit-pytest-batch-2026-05-14.json |
||
|---|---|---|
| .. | ||
| agent-automation-bootstrap.json | ||
| archive-unmaintained-2026-01.json | ||
| cleanup-meta-folder-2026-05.json | ||
| linux-config-polling-hardening-2026-05-14.json | ||
| linux-config-runtime-hardening-2026-05-08.json | ||
| pc-polling-runtime-validation-2026-05-10.json | ||
| pre-commit-default-stages-2026-05-14.json | ||
| pre-commit-prettier-isolated-scope-2026-05-14.json | ||
| pre-commit-prettier-scope-fix-2026-05-14.json | ||
| pre-commit-pytest-batch-2026-05-14.json | ||
| pre-commit-pytest-scope-fix-2026-05-14.json | ||
| pre-commit-stage-rebalance-2026-05-14.json | ||
| protondb-coverage-fix.json | ||
| protondb-gold-silver-fix.json | ||
| root-cleanup-2026-05-14.json | ||
| run-sh-wrapper-smoke.json | ||
| screen-locker-sick-tracker-2026-05-14.json | ||
| setup-midnight-shutdown-violation-checks-disabled.json | ||
| steam-backlog-cache-behavior-fix-2026-05-08.json | ||
| steam-backlog-done-install-retry-2026-05-08.json | ||
| steam-backlog-protected-ids-2026-05-14.json | ||
| template.json | ||
| vendor-agent-skills-import.json | ||