backend/pybind_kv.so is a 9.5 MB compiled artifact checked into Git. It's not used (the KV service talks to ResilientDB over HTTP).
Current state:
backend/pybind_kv.so present, not imported.
Proposed implementation:
- Delete the file.
git filter-repo --path backend/pybind_kv.so --invert-paths to rewrite history (communicate this — it's force-push territory; only do it if you own the upstream).
- Add
*.so to .gitignore (already present for some, verify).
- Add a pre-commit hook (
pre-commit framework) that rejects files over 1 MB unless allowlisted.
- Document in
docs/contributing.md.
Files likely affected:
backend/pybind_kv.so (deleted)
.gitignore
.pre-commit-config.yaml (new)
Acceptance criteria:
git log -- backend/pybind_kv.so no longer shows the file.
- A commit that adds a 2 MB binary is rejected locally by pre-commit.
backend/pybind_kv.sois a 9.5 MB compiled artifact checked into Git. It's not used (the KV service talks to ResilientDB over HTTP).Current state:
backend/pybind_kv.sopresent, not imported.Proposed implementation:
git filter-repo --path backend/pybind_kv.so --invert-pathsto rewrite history (communicate this — it's force-push territory; only do it if you own the upstream).*.soto.gitignore(already present for some, verify).pre-commitframework) that rejects files over 1 MB unless allowlisted.docs/contributing.md.Files likely affected:
backend/pybind_kv.so(deleted).gitignore.pre-commit-config.yaml(new)Acceptance criteria:
git log -- backend/pybind_kv.sono longer shows the file.