Repo hygiene: drop master remnants, GHCR-prebuilt runner image, ignore local artifacts#47
Merged
Conversation
…e local artifacts - Delete root index.html — dead redirect to leaderboard/ (removed; Pages serves site/) - ci.yml / publish-on-merge.yml: drop the stale master branch trigger - New runner-image.yml: build + push problem-reductions-runner:<PR_REF> to GHCR on runner-input changes, so 'make run' can start with a pull instead of a ~1 h Rust build - Makefile: runner-pull target (GHCR_IMAGE, overridable) + help entry - README: document 'make runner-pull' as the fast path for the Model API backend - .gitignore: ignore .pytest_cache/, .venv/, .claude/, /docs/, /reports/ (local tooling state and personal artifacts, not project content)
The hardcoded CARGO_BUILD_JOBS=1 leaves multi-core Docker VMs and CI runners idle for the whole Rust compile. Keep 1 as the safe default for constrained VMs; allow --build-arg CARGO_JOBS=N / make runner-build JOBS=N. The GHCR workflow builds with 4 jobs (ubuntu-latest has 4 vCPUs / 16 GB).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
index.html— it redirects toleaderboard/, which no longer exists on main (Pages deployssite/via publish-on-merge.yml). Dead artifact at the repo root.masterfrom CI triggers — the branch is gone (it was strictly behind main, 0 commits ahead);ci.ymlandpublish-on-merge.ymlstill listed it.runner-image.ymlbuildsproblem-reductions-runner:<PR_REF>(tag read from the Makefile) on changes to runner inputs and pushes to GHCR.make runner-pullpulls + retags it. This removes the ~30–60 min local Rust compile (CARGO_BUILD_JOBS=1) from the documented run path.make runner-pulldocumented as the fast path for the Model API backend;make runner-buildremains the fallback..pytest_cache/,.venv/,.claude/,/docs/,/reports/(local tooling state / personal artifacts that were showing up as untracked clutter).Done separately (not in this diff)
benchmark/verify.pywith stubbed-solver tests; the stalesolve-mismatch-verificationbranch re-implements it against the pre-main codebase and can be abandoned.masterbranch ref (it no longer existed on the remote) and pointedorigin/HEADatmain.originto the new repo location (CodingThrust/problem-reductions-benchmark).Notes
runner-image.ymlrun creates the GHCR package as private — mark it public (Packages → problem-reductions-runner → Package settings) somake runner-pullworks without a PAT.grep/sed) was tested on macOS and uses POSIX classes for the Ubuntu runner.make helprenders withrunner-pull,test_docs.py8/8 pass.