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
- pyproject + uv.lock: drop pytest-anyio 0.0.0 placeholder; anyio's
pytest plugin (already required via tests extra) provides the
@pytest.mark.anyio marker. (Copilot review)
- api/graph.py: when listing graphs, apply the internal-suffix filter
to the *branch* component for parsed names (e.g.
code:repo:main_git is hidden, but code:repo:release_tmp stays
visible). Legacy bare names still filtered by full name.
(CodeRabbit graph.py:99)
- api/graph.py: Graph/AsyncGraphQuery constructors now coerce
branch="" to DEFAULT_BRANCH alongside branch=None, so self.branch
matches the actual graph key produced by compose_graph_name.
(CodeRabbit graph.py:133)
- api/project.py: same coercion for Project.__init__; an explicit
empty-string branch now autodetects (or falls back to
DEFAULT_BRANCH) instead of staying "". (CodeRabbit project.py:71)
- api/index.py + api/llm.py: ChatRequest.branch is now threaded
through ask() / _ask_sync() / _create_kg_agent() and used to
compose the FalkorDB graph key. Previously it was accepted on the
request but silently ignored. (CodeRabbit index.py:81)
- api/migrations/per_branch.py: when both src and dst graphs exist
(interrupted prior migration) the rename helper now deletes the
leftover legacy src and reports success, so reruns can complete
cleanly instead of skipping forever. Dry-run path preserved.
(CodeRabbit per_branch.py:80)
- api/git_utils/git_utils.py: rename CamelCase helpers
GitRepoName/LegacyGitRepoName -> git_repo_name/legacy_git_repo_name
(snake_case per api guidelines); keep CamelCase as deprecated
aliases so the public surface stays backwards compatible. Update
the in-module callers. switch_commit now guards against a None
current_hash and raises a clear ValueError instead of silently
walking off the end. (CodeRabbit git_utils.py:30)
- api/info.py: get_repo_commit return type tightened to
Optional[str] to reflect the documented None return.
(CodeRabbit git_utils.py:30)
All 24 tests in tests/test_per_branch_graphs.py still pass.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments