Repository navigation
batch object materialization - #2
Merged
Merged
Conversation
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.
Adds batch materialization of large objects and a raw output channel for subprocess logs, and fixes several Git LFS problems around
index.lock, cancellation and GitLab endpoints.Added
WorkspaceSession.ObjectBatchMaterialization:MaterializeandDematerializenow accept many paths in one call. The Git provider supplies the service; lakeFS doesn't, andwithFallbackServicesfills it with a no-op.OperationContext.ReportOutput: an opt-in channel that streams redacted git and git-lfs output for a "Show logs" view. Create a context withOperationContext.createWithOutputto use it.Changed
MaterializeandDematerializefail withlocal_changeswhen a path has local edits (previouslylfs_operation_failed).ReportProgress.git statusonly for that path, which makes it much faster in large repositories.Breaking
OperationContext,WorkspaceSession,ServiceAvailabilityandNodeProcess.ProcessRequesthave new fields. Code that builds these records as literals has to set them; thecreatehelpers already do.Fixed
.git/index.lockbehind. A held lock now gives theremove_index_lockrecovery, including when git-lfs exits 0 after failing to update the index.NetworkorTimeoutinstead ofProviderError.Redaction.redactremoves the whole userinfo when the user name contains@..gitsuffix no longer fail with "Unprocessable entity" ([Bug]: Git LFS download failed (macOS) nfdi4plants/ARCitISA#1471).