Repository navigation
chore: untrack the Python bytecode cache - #241
Merged
Merged
Conversation
python/__pycache__/lce_schema.cpython-314.pyc was committed with the Python helper (#116, 2026-08-05), before .gitignore listed __pycache__/ and *.pyc, so the ignore rules never applied to it and every test run that imported the helper modified a tracked file. It is removed from the index; .gitignore loses the three entries that repeated __pycache__/ and *.pyc. The npm package never carried it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Summary
python/__pycache__/lce_schema.cpython-314.pycwas committed together with the Python helper (#116, 2026-08-05)..gitignoreonly listed__pycache__/and*.pyclater, and ignore rules do not apply to a file git already tracks. So every test run that imports the helper modified a tracked file.This PR:
.gitignorelines that repeated__pycache__/and*.pyc.The npm package never carried the file (
npm pack --dry-run: 0 hits).I scanned
origin/mainof the engine and the eleven content repositories for other files that do not belong in git: caches, IDE folders,node_modules, virtualenvs, logs,.DS_Store, build output. This was the only one.Test plan
src/python-validator.test.ts: 8 passed. Afterwardsgit status --ignoredlists the regeneratedpython/__pycache__/as ignored, not modified.npm pack --dry-run: no__pycache__.🤖 Generated with Claude Code