perf: MWP bulk inserts, N+1 fix, parallel presign, stale snapshot repair
- bulk_upsert_snapshot_entries: ON CONFLICT DO UPDATE WHERE manifest_blob IS NULL (repairs stale rows; was DO NOTHING which silently dropped manifests) - wire_push commits: single pg_insert ON CONFLICT DO NOTHING replaces N session.add() calls - wire_fetch: get_snapshot_manifests_batch eliminates N+1 manifest queries - wire_presign: asyncio.gather parallelises presign loop - transport.py: CHUNK_COMMITS 200 → 500 (fewer sequential round-trips) - musehub/models/musehub.py: add missing StrDict import (fixes Pydantic model resolution) - tests/test_snapshot_entries.py: update 7 tests to assert on manifest_blob path (not legacy musehub_snapshot_entries table); rewrite update test as backfill test
sha256:8bb07e6fbcf39f8cb56726ab86e89eb7aff70ed1c6712dbabb32352a261c2744
sha
sha256:2b60f17789c95bbdd8a6dbe14e4fca9e45d29609c6f9146a9d0428e75f155dcd
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:8bb07e6fbcf39f8cb56726ab86e89eb7aff70ed1c6712dbabb32352a261c2744 --body "your comment"
No comments yet. Be the first to start the discussion.