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

refactor: replace describe_commit inline BFS with walk_dag + distance side-channel

sha256:479d3a79f8e37edbc30c94cf09a0b00e8bad67f9a5f58b9e334f8a8dcfc177c0 sha
+20 ~1 −1 symbols
sha256:e87cc7b8b272b6d4fdfb7d0d02548f95b2d2dd1f8b7329e0a7cdb229506e0d37 snapshot
+20
symbols added
~1
symbol modified
−1
symbol removed
0
dead code introduced
Semantic Changes 22 symbols
~ tests/test_describe_walk.py .py 20 symbols added
+ _make_commit function function _make_commit L36–64
+ _repo function function _repo L23–33
+ CommitRecord import import CommitRecord L18–18
+ SnapshotRecord import import SnapshotRecord L18–18
+ __version__ import import __version__ L15–15
+ annotations import import annotations L6–6
+ blob_id import import blob_id L19–19
+ compute_commit_id import import compute_commit_id L17–17
+ compute_snapshot_id import import compute_snapshot_id L17–17
+ datetime import import datetime L8–8
+ inspect import import inspect L9–9
+ json import import json L10–10
+ muse_dir import import muse_dir L20–20
+ pathlib import import pathlib L11–11
+ pytest import import pytest L13–13
+ write_commit import import write_commit L18–18
+ write_object import import write_object L16–16
+ write_snapshot import import write_snapshot L18–18
+ test_dc1_describe_commit_uses_walk_dag function function test_dc1_describe_commit_uses_walk_dag L71–83
+ test_dc2_describe_commit_distance function function test_dc2_describe_commit_distance L90–119
~ muse/core/describe.py .py 1 symbol removed, 1 symbol modified
deque import import deque L37–37
← 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:479d3a79f8e37edbc30c94cf09a0b00e8bad67f9a5f58b9e334f8a8dcfc177c0 --body "your comment"