Repository navigation
refactor: Add manifest reader - #2884
Merged
Merged
Conversation
Contributor
Author
|
@blackmwk any chance of a review here? There is a follow up reactor I'd like to do to make the injection more type safe than it is today |
blackmwk
reviewed
Aug 12, 2026
blackmwk
left a comment
Contributor
There was a problem hiding this comment.
Thanks @xanderbailey for this pr
| @@ -179,23 +178,7 @@ impl ManifestFile { | |||
| /// | |||
| /// This method will also initialize inherited values of [`ManifestEntry`](crate::spec::ManifestEntry), such as `sequence_number`. | |||
| pub async fn load_manifest(&self, file_io: &FileIO) -> Result<Manifest> { | |||
Contributor
There was a problem hiding this comment.
I think we should remove this, the MainfestReader should be constructed by Table
xanderbailey
force-pushed
the
xb/refactor_manifest_reader
branch
from
August 12, 2026 09:49
5e59b24 to
44ad7cb
Compare
xanderbailey
commented
Aug 12, 2026
blackmwk
approved these changes
Aug 20, 2026
blackmwk
left a comment
Contributor
There was a problem hiding this comment.
Thanks @xanderbailey for this pr!
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.
Introduce a ManifestReader that encapsulates the manifest read -> (decrypt) -> parse sequence in one place, so callers no longer repeat it by hand.
Which issue does this PR close?
Closes #2881
What changes are included in this PR?
Are these changes tested?
Yes, both plain text and encrypted paths are tested.