Repository navigation
feat(objects): give descriptions and payloads an object kind of their own - #138
Open
PiquelChips wants to merge 1 commit into
Open
PiquelChips wants to merge 1 commit into
PiquelChips wants to merge 1 commit into
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 34 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
PiquelChips
force-pushed
the
feat/permissions-attachments
branch
from
November 22, 2026 15:04
c88cfa5 to
2b24352
Compare
PiquelChips
force-pushed
the
feat/permissions-attachments
branch
2 times, most recently
from
November 22, 2026 18:54
4b005ee to
ab0b808
Compare
… own A revision's description and a statement's payload were blobs, the same kind as a file's content. Any record could then name a file's blob as its description or payload, and a fetch of the record would bring the file with it, whatever the path it sits at: once reading depends on paths, that's a way around it. Descriptions and payloads are now attachments, an object kind of their own with an id type of its own, `AttachmentId`. A record never carries a file: puts refuse a description that isn't an attachment, or a payload the repository holds as something else, and fetching a record only brings the attachment it carries, never a blob. A `core.conflict` must also come with its list, or find it stored, since reading the statement needs it. Retention no longer walks every snapshot to keep the payloads a file shares: attachments never share an id with a file, so only descriptions can keep a payload alive.
PiquelChips
force-pushed
the
feat/permissions-attachments
branch
from
November 22, 2026 19:20
ab0b808 to
b568a23
Compare
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.
A revision's description and a statement's payload were blobs, the same kind as a file's content. So any record could name a file's blob as its description or payload, and fetching the record would bring the file with it, whatever path it sits at. Once reading depends on paths, that's a way around it.
Descriptions and payloads are now attachments, an object kind of their own with its own id type,
AttachmentId, so no record can carry a file's content.core.conflictmust come with its list, or find it stored, since reading the statement needs it.Note
Written by Claude Opus 5.5 in Claude Code (via T3 Code)