Skip to content

.github/workflows/ci.yml exists on a branch cut from origin/main with the CPU job (Python 3.12, ffmpeg, libsndfile1, lib - #6

Merged
unohee merged 4 commits into
mainfrom
goal/05-github-workflows-ci-yml-exists
Nov 2, 2026
Merged

unohee merged 4 commits into
mainfrom
goal/05-github-workflows-ci-yml-exists

Conversation

@unohee

@unohee unohee commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Milestone of an auto-claude run.

Check: ~/RTX_ENV/bin/python -c "import yaml; s=open('.github/workflows/ci.yml').read(); yaml.safe_load(s); assert all(k in s for k in ('pull_request','push','not slow','ffmpeg','libchromaprint-tools','check_docs.py'))" && grep -q '^test = ' pyproject.toml && ~/RTX_ENV/bin/python scripts/check_docs.py && systemd-run --user --scope -q -p MemoryMax=6G ~/RTX_ENV/bin/python -m pytest -m "not slow" -q -p no:cacheprovider

Plan: .claude/auto-plan.md (local to the run).

GitHub Actions job on ubuntu-24.04 with Python 3.12, ffmpeg and libsndfile1.
Installs CPU-only torch/torchaudio, then the package with a new [test] extra
(pytest, librosa, onnx), and runs pytest -m "not slow".

Assumptions:
- push is limited to main; pull_request covers branch review, so PR branches
  are not tested twice.
- librosa and onnx go in a test extra rather than core dependencies: they are
  needed only by v1.2 diagnostic modules and their tests, not by the runner.
- Verified in a clean Python 3.12 venv with only these installs:
  325 passed, 4 skipped.
PR #3 CI failed one test: tests/test_v12_audio.py::test_validator_reads_real_pcm
raised FileNotFoundError for 'fpcalc'. artifactbench/v12/validate_audio.py shells
out to fpcalc for Chromaprint fingerprints; on Ubuntu it ships in
libchromaprint-tools.

Assumption: install the tool rather than skip the test, since the validator
genuinely requires fpcalc.
Run 41477730145 sat in the apt install step for over 10 minutes (the earlier
run finished it in under a minute). Pass DEBIAN_FRONTEND=noninteractive to
apt-get explicitly and cap the step at 10 minutes so a hang fails fast.

Assumption: the stall was an interactive prompt or slow mirror, not a
missing package; libchromaprint-tools exists in Ubuntu 24.04 universe.
Runs scripts/check_docs.py (merged in #5) in CI so README/docs commands and
relative links stay in sync with the code.

Context: this branch re-delivers the CI workflow from PRs #3/#4 (cherry-picked
21b1f4e, 6b13cbb, 4b7685c onto origin/main) because ci.yml never reached main.
Assumption: check_docs runs after the suite, in the same job, since it needs the
installed package to run each documented program's --help.
@unohee
unohee merged commit 873b14b into main Nov 2, 2026
1 check passed
@unohee
unohee deleted the goal/05-github-workflows-ci-yml-exists branch November 2, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant