Skip to content

Stop tracking build artifacts, fix fake-green CI - #1

Open
SuperInstance wants to merge 3 commits into
mainfrom
production-round3-2026-07-10
Open

Stop tracking build artifacts, fix fake-green CI#1
SuperInstance wants to merge 3 commits into
mainfrom
production-round3-2026-07-10

Conversation

@SuperInstance

Copy link
Copy Markdown
Owner

Summary

This repo was already in good shape — 17/17 real tests, zero external dependencies confirmed, genuinely published on PyPI. Two real hygiene fixes:

  • Removed committed build artifacts and bytecode cache: dist/*.whl, dist/*.tar.gz, and 7 .pyc files were tracked in git. .gitignore already correctly covers these patterns — the files were just committed before/around when it was added. Removed from tracking (kept on disk locally).
  • Fixed fake-green CI: .github/workflows/ci-python.yml's test step had || true, masking any test failure. Removed it — verified via a deliberate-break-then-revert test (broke an assertion, confirmed real exit code 1, reverted, confirmed clean 17/17 pass with exit 0).

Investigated but correctly left alone

The GitHub repo description says "<100KB" while the README's own Design Goals table says "< 50 KB total" — these numbers differ, but a full repo-wide grep confirms the README's figure is the only one that exists in tracked files, is internally consistent, and is accurate (real source ~20.2 KB, wheel ~10.3 KB). The "<100KB" figure only exists in the GitHub repo description, which can't be edited via PR — flagged as a follow-up for whoever has repo-settings access, rather than inventing an unnecessary README change.

Verification

  • pytest: 17/17 passing, independently re-run
  • git ls-files | grep -E "dist/|__pycache__|\.pyc$": now returns nothing

🤖 Generated with a multi-agent hardening pass (opencode/GLM), independently verified before opening this PR.

PurplePincher Automation added 3 commits July 10, 2026 13:14
Remove committed dist/ wheels + sdists and __pycache__/*.pyc from
git tracking. .gitignore already covers dist/, __pycache__/, *.pyc,
so these are regenerated locally and never re-added.
The test step appended '|| true', masking every test failure and
forcing exit 0 (fake-green). Verified locally: a deliberately broken
assertion now produces pytest exit code 1; reverted, all 17 pass
(exit 0).
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