gabriel / muse public
refactor BREAKING dev
AI Agent gabriel · 121 days ago · May 9, 2026 · Diff

refactor: replace _collect_all_commits inline BFS with iter_ancestors

sha256:c3b10af4e38de537e05659e4230b037d21d0bbe5b53e164d1e043f033260bce1 sha
+21 ~3 −1 symbols
sha256:88c8baf620a2d12418ed53e97193e1f7f1937b1b14ab2d98dc89b47d5d20e5c1 snapshot
+21
symbols added
~3
symbols modified
−1
symbol removed
0
dead code introduced
Semantic Changes 25 symbols
~ tests/test_log_collect_all_commits.py .py 21 symbols added
+ _make_commit function function _make_commit L37–65
+ _repo function function _repo L24–34
+ CommitRecord import import CommitRecord L19–19
+ SnapshotRecord import import SnapshotRecord L19–19
+ __version__ import import __version__ L16–16
+ annotations import import annotations L7–7
+ blob_id import import blob_id L20–20
+ compute_commit_id import import compute_commit_id L18–18
+ compute_snapshot_id import import compute_snapshot_id L18–18
+ datetime import import datetime L9–9
+ inspect import import inspect L10–10
+ json import import json L11–11
+ muse_dir import import muse_dir L21–21
+ pathlib import import pathlib L12–12
+ pytest import import pytest L14–14
+ write_commit import import write_commit L19–19
+ write_object import import write_object L17–17
+ write_snapshot import import write_snapshot L19–19
+ test_lc1_collect_all_commits_uses_iter_ancestors function function test_lc1_collect_all_commits_uses_iter_ancestors L72–84
+ test_lc2_collect_all_commits_returns_all function function test_lc2_collect_all_commits_returns_all L91–108
+ test_lc3_collect_all_commits_truncated_flag function function test_lc3_collect_all_commits_truncated_flag L115–131
~ muse/cli/commands/log.py .py 1 symbol removed, 1 symbol modified
deque import import deque L113–113
← Older Oldest on dev
All commits
Newer → Latest on dev

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:c3b10af4e38de537e05659e4230b037d21d0bbe5b53e164d1e043f033260bce1 --body "your comment"