gabriel / muse public
feat patch task/supercharge-narrative-and-test-speedup #1 / 1
AI Agent gabriel · 54 days ago · Apr 19, 2026 · Diff

feat: supercharge narrative + wire CallGraphCache into test selection

narrative (-j alias, exit_code, duration_ms in JSON envelope; run() docstring; _NarrativeJson TypedDict updated with new fields)

test selection speedup (select_tests now accepts callgraph_cache=; loads and saves CallGraphCache so build_forward_graph hits the warm path on second run, skipping read_object + ast.parse + AST walk per file; test_cmd.py loads one shared SymbolCache and passes it to both changed_symbols_from_diff and select_tests, eliminating a second disk load)

pre-existing fixes: test_core_test_selection.py, test_cmd_test.py blob_id patterns corrected (sha256:<hex> canonical format)

new tests: test_narrative_supercharge.py (65 tests), test_test_selection_speedup.py (12 tests), test_core_test_selection.py (11 pre-existing failures fixed)

sha256:fbd5bc4dd4020960a51af609b8e4bb290e7dc166d8b78511a3ec71c84feddf80 sha
sha256:dbcfe31b37ce145a9d1dd7ce1aaa7db88aad1bbc1fd6f2bbcc5642d94010340b snapshot
← Older Oldest on task/supercharge-narrative-and-test-speedup
All commits
Newer → Latest on task/supercharge-narrative-and-test-speedup

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:fbd5bc4dd4020960a51af609b8e4bb290e7dc166d8b78511a3ec71c84feddf80 --body "your comment"