Repository navigation
fix(core): a consolidated record is linked to its room (#1594) - #1614
Merged
Merged
Conversation
The executor wrote the room under metadata key room while the code that links the record read room_id, so a consolidated record was never linked. Write room_id and keep reading room as a fallback.
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
This was referenced Nov 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Room consolidation now writes the room under
room_id(the keyConsolidationStore::insert_memoryreads to link a record to its room) instead ofroom. The reader also accepts the oldroomkey. The metadata is built in one helper,consolidation_metadata.Why
The executor wrote
metadata["room"]and the reader looked formetadata["room_id"], so a consolidated record was stored but never linked to the room it came from (atlas finding 6). The existing test setroom_idby hand, which hid the mismatch.Testing
roomkey is still linked.