You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(deps): pin tree-sitter packages and make environment-sensitive tests hermetic #670
priority/p3-lowPriority P3: a small improvementscope/cliCore CLI framework, Typer subcommands, options, and tablestype/choreType chore: maintenance, such as a dependency update
Found in the release/v0.2.23 review (line numbers at 7fdaa9d).
The tree-sitter packages are not pinned. The new tree-sitter core and 12 grammar packages use open >= ranges, while every other runtime dependency is pinned with == (pyproject.toml:43-55). uv.lock resolves them at the floor, but a wheel or uv tool install has no lock. It will pick up future py-tree-sitter releases and grammar ABI changes, which have broken APIs before.
Three tests fail when a GitHub token is in the environment. They read the ambient GH_TOKEN or GITHUB_TOKEN, and all three pass once it is unset:
One test fails when run as root.tests/test_sandbox_logs.py::test_archive_incident_records_archive_error relies on a read-only directory refusing writes, which root ignores.
Remediation Plan
Pin the tree-sitter packages with == to the locked versions.
Clear the GitHub token variables with monkeypatch.delenv in the affected tests, or in a shared fixture.
Make the archive-error test inject the failure directly instead of relying on file permissions.
priority/p3-lowPriority P3: a small improvementscope/cliCore CLI framework, Typer subcommands, options, and tablestype/choreType chore: maintenance, such as a dependency update
Activity
fix(mcp): hydrate lazy domains, fail closed on readiness, pin tree-si…
dan-petty commentedon Sep 28, 2026
Closed by #674, merged into
release/v0.2.23.GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by
devops gh issues close-merged.