fix
patch
mpack-index-job
feat/fix-object-refs-on-repush
#2 / 4
fix(mpack-index-job): write object_refs after musehub_objects upsert
Bug D: process_mpack_index_job upserted mpack_index rows and musehub_objects but never called _upsert_object_refs, leaving object_refs empty for repos whose objects were pre-existing at push time.
Fix: call _upsert_object_refs(session, repo_id, all_blob_oids) after the musehub_objects upsert so the FK constraint on musehub_object_refs.object_id is satisfied before the refs are written.
MPIJ-1 and MPIJ-2 both green. ORP-1 through ORP-5 remain green.
sha256:c3e12fae919d99c0e030595f58eb0a7b7df9ae4bd4ed6ce582a46c33784a54d0
sha
~1
symbols
sha256:dc36e20b4b15ed2fce2eb3dc9c2303c1e94c86dc601987e71ce4df16de88281e
snapshot
~1
symbol modified
0
dead code introduced
Semantic Changes
1 symbol
Older
test(mpack-index-job): Phase 3 failing test for Bug D — job neve…
sha256:d8a98ffcade6226a977047fb68396a940db91fa1a2f6590b0e55bb1a0f0d2735
All commits
Newer
add tests for fixing object refs on repush
sha256:0d5e0b2da626326b94809c9538e015ad168ec3f7b9333b7f25d5d5eaf411729f
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:c3e12fae919d99c0e030595f58eb0a7b7df9ae4bd4ed6ce582a46c33784a54d0 --body "your comment"
No comments yet. Be the first to start the discussion.