Store_map and some improvements#46
Merged
guzman-raphael merged 43 commits intonauticalab:devfrom Apr 1, 2025
Merged
Conversation
Contributor
Author
|
Updated the pull request with the new redesign of the store pointer and hashing system. Please ignore the orchestrator failing tests. There are some cases that are not being caught, causing it to fail and currerntly working on fixing it. |
…r error handling for ioerror
guzman-raphael
suggested changes
Mar 15, 2025
Contributor
guzman-raphael
left a comment
There was a problem hiding this comment.
We didn't get to discuss in our meeting today so I'll drop a summary here from my review.
- Retry
- Didn't realize until finishing the review that it isn't implemented (only placeholders in model)
- In that case, we should separate this into a separate PR/issue for a complete feature
- Logs
- Didn't realize this was in until reviewing
- The feature is missing key elements from the issue (
get_logs_blocking(),get_logs()) - Given that, I think this would be best suited for it's own PR
- IoError wrapper(s) or similar
- Spent quite a bit of time looking into this
- Unfortunately, there isn't much low-level options from
fs thiserroralso isn't exposing ways to add contextsnafuseems like an interesting option that actually seems to be recommended by several articles- Worried about our error lib growing to a level that would be challenging to maintain (common complaint of
thiserror) - Perhaps rather than putting energy into manually adding it, we could instead pull this into a separate PR for converting us to
snafu(if it makes sense)
- Without the above, the PR boils down to
- Removing the default user file data e.g. from store, orchestrator
- Removing
BlobInterface - Removing
util::hash - Simplifying design of
PodJobspec - Adding a namespace lookup i.e.
namespace-> local path - Hash
FolderandCollectioninputs - Handle binds for
Collectioninputs
- After reviewing, I made this branch with some ideas.
We can probably go over in more detail when we tagup next.
Apply review feedback
guzman-raphael
approved these changes
Apr 1, 2025
Contributor
guzman-raphael
left a comment
There was a problem hiding this comment.
Nice collab @Synicix! 💪
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.
Updated (03/06/2024)
From the top to bottom of files change
Cargo.toml:
crypto.rs
error.rs
model.rs
docker.rs
mod.rs
filestore.rs
mod.rs
model.rs
orchestrator.rs
store.rs