chore: stop tracking runtime and build artifacts - #47
Merged
Conversation
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 freeto 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.
Task 1 of the 14-task implementation plan: repo hygiene — stop tracking build artifacts.
What changed
data/manufacturing.dbandlast_reasoning.jsonviagit rm --cached(both remain on disk)..gitignore: grouped the loose trailing entries under existing comment headings, switched directory patterns to trailing-slash form, added.pytest_cache/, and added a trailing newline (the file previously had none).Most of the plan's paths were already untracked
The plan was written against an older repo state.
git ls-filesshowschroma_db/,site/,logs/,artifacts/,__pycache__/and.pytest_cache/have zero tracked files already. Only two artifact paths were actually tracked, and those are the two removed here. The.gitignoreentries for the rest are retained/tidied so they stay ignored.Deviations from the plan text
(a)
artifacts/is kept anchored as/artifacts/— the plan's bareartifacts/is not used.A bare
artifacts/matches a directory of that name at any depth, including the source packagepackages/core/src/nl2sql/execution/artifacts/, which would silently make new files there unaddable. This was a real bug fixed in an earlier PR. Verified both forms in isolation:With the anchored form as committed,
git check-ignorereports nothing forstore.py,parquet.py,__init__.py, or a hypothetical new file in that directory.(b) The bare
dataline is replaced with specific generated paths.The plan says "do not ignore
data/wholesale", but.gitignorealready contained a baredataline doing exactly that (git check-ignoreattributeddata/schema_store.dbanddata/demo_lite/to.gitignore:27:data). It is replaced with the specific generated paths —data/demo_lite/,data/vector_store_demo/— alongside the pre-existingdata/*.db, which already coversmanufacturing.dbandschema_store.db. Files added underdata/are now visible to git again.Discovery: no test loads a committed fixture
Both are runtime paths, not committed fixtures.
The plan said to keep
data/manufacturing.dbtracked only if tests use it. Nothing references it, so it is untracked.data/schema_store.dbwas never tracked; everyschema_store.dbreference istmp_dir / "schema_store.db"in a runtime temp directory.Verification
git ls-files | wc -l: 411 before → 409 after — exactly the two intended removals.git ls-filesthroughgit check-ignore; only the two targets matched).git rm --cached.git statusclean after commit.Test results
Command:
OPENAI_API_KEY= pytest -m "not integration" -q(pytest-randomlyactive, so ordering varies).Before (baseline, index and
.gitignoretemporarily reverted):After (run twice for randomised ordering):
Identical before and after. The pre-existing skip (
pyodbcdriver not installed) and xfail (PhysicalValidatornot wired into the default SQL subgraph) are unrelated to this change.No
CHANGELOG.mdor version changes. No generated demo data committed.