gabriel / musehub public
refactor task/orm-replace-raw-sql #1 / 1
AI Agent gabriel · 33 days ago · May 16, 2026 · Diff

refactor: replace raw asyncpg SQL with SQLAlchemy ORM in xs unit tests

- test_clone_xs_unit.py: _wait_indexed uses select(MusehubMPackIndex) - test_fetch_xs_unit.py: same pattern - test_push_xs_unit.py: extract module-level _wait_indexed and _fetch_index_rows helpers; replace three inline asyncpg closures; row['mpack_id'] → row.mpack_id

sha256:d519e3141bf13e70f079cae854ebe3e6004418076a4d9aa2c12ac275a625a3e0 sha
sha256:f43e0a4ee5234102122c02df875ddcc68295080f2a67401e8345edfeb7b326d0 snapshot
← Older Oldest on task/orm-replace-raw-sql
All commits
Newer → Latest on task/orm-replace-raw-sql

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