gabriel / musehub public
fix dev
AI Agent gabriel · 132 days ago · May 4, 2026 · Diff

fix: add missing symbol detail fixtures, fix stale test assertions, add route query coverage

- Add all missing fixtures to conftest.py: repo_fixture, seed_symbol, seed_type_intel, seed_sym_intel, seed_api_intel, seed_many_refactor_events, seed_refactor_event, seed_refactor_event_with_xss, seed_symbol_with_xss_commit, seed_symbol_with_large_history, seed_symbol_high_coupling, seed_symbol_with_clones, benchmark_timer - Fix T205/T303 assertions: template uses sd-refactor-section class, not REFACTORING HISTORY text - Fix T304 assertion: template uses sd-type-section class, not TYPE HEALTH text - Fix T703 assertion: 404 JSON is not an HTML rendering context, XSS not exploitable there - Fix T704 assertion: Jinja2 escapes <, so check for raw <img not onerror= substring - Add test_symbol_timeline_query_includes_signature to test_commit_meta_promotion.py: verifies signature column is included in the route SELECT (regression for the 500 we just fixed)

sha256:786cc353daf8bbee8de902f6a35fb86edb1e4e7cc40813d2d6c8db54c242fe70 sha
+23 ~8 symbols
sha256:02f68169696e20c73ecf85d01568bb0aeaa6b4e15299d7dd242187d2ab49088d snapshot
+23
symbols added
~8
symbols modified
0
dead code introduced
Semantic Changes 31 symbols
~ tests/conftest.py .py 22 symbols added
+ _make_commit_row function async_function _make_commit_row L417–435
+ _make_history_entry function async_function _make_history_entry L438–451
+ _make_repo_row function async_function _make_repo_row L395–414
+ _sha function function _sha L387–388
+ _utc_now function function _utc_now L391–392
+ benchmark_timer function function benchmark_timer L684–692
+ _contextlib import import _contextlib L383–383
+ _dt import import _dt L381–381
+ _hashlib import import _hashlib L382–382
+ _time import import _time L384–384
+ repo_fixture function async_function repo_fixture L455–458
+ seed_api_intel function async_function seed_api_intel L525–539
+ seed_many_refactor_events function async_function seed_many_refactor_events L543–560
+ seed_refactor_event function async_function seed_refactor_event L564–580
+ seed_refactor_event_with_xss function async_function seed_refactor_event_with_xss L584–600
+ seed_sym_intel function async_function seed_sym_intel L496–521
+ seed_symbol function async_function seed_symbol L462–470
+ seed_symbol_high_coupling function async_function seed_symbol_high_coupling L632–654
+ seed_symbol_with_clones function async_function seed_symbol_with_clones L658–680
+ seed_symbol_with_large_history function async_function seed_symbol_with_large_history L619–628
+ seed_symbol_with_xss_commit function async_function seed_symbol_with_xss_commit L604–615
+ seed_type_intel function async_function seed_type_intel L474–492
+ test_symbol_timeline_query_includes_signature function async_function test_symbol_timeline_query_includes_signature L329–385
← 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:786cc353daf8bbee8de902f6a35fb86edb1e4e7cc40813d2d6c8db54c242fe70 --body "your comment"