Remove committed __pycache__ .pyc artifacts from 0ce199e and add gitignore entries #25

Closed
opened 2026-07-31 05:55:49 +00:00 by Mark · 1 comment
Owner

Summary

Commit 0ce199e (kilo-gsd follow-up for #23) accidentally tracked compiled bytecode artifacts. Found by post-deploy probe (kanban card t_5ecf9aa6).

Actual behavior

The following binary blobs are tracked in the repo (verified with git ls-files):

  • tests/__pycache__/test_pre_commit_loop_detector.cpython-311-pytest-9.1.1.pyc (~26KB)
  • tests/__pycache__/test_pre_commit_loop_detector.cpython-312-pytest-8.3.4.pyc (~23KB)

.gitignore has no __pycache__/ or *.pyc entry, so a kilo-gsd git add swept them in.

Expected behavior

No compiled artifacts in git history; .gitignore contains __pycache__/ and *.pyc.

Reproduction steps

  1. cd to repo root
  2. git ls-files | grep -E "__pycache__|\.pyc$" → shows the two .pyc paths

Impact

Binary blobs will rot and cause merge noise. Cleanup should git rm --cached the files, add gitignore entries, and commit.


Filed by reporter lane from kanban card t_5ecf9aa6 (post-deploy probe of #23).

## Summary Commit `0ce199e` (kilo-gsd follow-up for #23) accidentally tracked compiled bytecode artifacts. Found by post-deploy probe (kanban card `t_5ecf9aa6`). ## Actual behavior The following binary blobs are tracked in the repo (verified with `git ls-files`): - `tests/__pycache__/test_pre_commit_loop_detector.cpython-311-pytest-9.1.1.pyc` (~26KB) - `tests/__pycache__/test_pre_commit_loop_detector.cpython-312-pytest-8.3.4.pyc` (~23KB) `.gitignore` has no `__pycache__/` or `*.pyc` entry, so a kilo-gsd `git add` swept them in. ## Expected behavior No compiled artifacts in git history; `.gitignore` contains `__pycache__/` and `*.pyc`. ## Reproduction steps 1. `cd` to repo root 2. `git ls-files | grep -E "__pycache__|\.pyc$"` → shows the two .pyc paths ## Impact Binary blobs will rot and cause merge noise. Cleanup should `git rm --cached` the files, add gitignore entries, and commit. --- Filed by reporter lane from kanban card `t_5ecf9aa6` (post-deploy probe of #23).
Author
Owner

Resolved on main. Commit 4519ce6 ("chore: ignore pycache and untrack stale pyc artifacts") already untracked the .pyc blobs and added both __pycache__/ and *.pyc to .gitignore. Verified: git ls-files on origin/main shows zero tracked pycache/.pyc paths, and git check-ignore -v tests/__pycache__ matches .gitignore:33:__pycache__/. Closing.

Resolved on main. Commit 4519ce6 ("chore: ignore __pycache__ and untrack stale pyc artifacts") already untracked the .pyc blobs and added both `__pycache__/` and `*.pyc` to .gitignore. Verified: `git ls-files` on origin/main shows zero tracked __pycache__/.pyc paths, and `git check-ignore -v tests/__pycache__` matches `.gitignore:33:__pycache__/`. Closing.
Mark closed this issue 2026-08-11 09:53:37 +00:00
Sign in to join this conversation.
No description provided.