feat(lfs): add FastCDC media transport - #461
Open
marshawcoco wants to merge 2 commits into
Open
Conversation
Signed-off-by: Henry Guo <marshawcoco@gmail.com>
marshawcoco
marked this pull request as ready for review
August 30, 2026 14:45
Signed-off-by: Henry Guo <marshawcoco@gmail.com>
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.
Summary
fastcdc-v1chunker, manifest, and local chunk store to normal LFS push/download flowsThis is the client half of a coordinated Mega server change. Mega companion PR: gitmono-dev/mega#2178
Verification
cargo test --features fastcdc --test compat_fastcdc_feature_gate_guard: 2 passedcargo test --features fastcdc --test media_fastcdc_test: 6 passed, 1 interop case ignoredcargo test --features fastcdc --lib utils::media::: 12 passedcargo +nightly fmt --all --check,git diff --check, and a Playwright 1.62.1 Chromium install dry-run passed after repairing the self-hosted Web E2E workflowThe PR also removes Playwright's per-job
--with-depsinvocation from the self-hosted Web E2E job. The runner must provide its Linux browser dependencies; the old command attempted interactivesudoand had timed out for five minutes across multiple unrelated PRs before any E2E test ran.cargo test --features fastcdc --libcompleted with 4,196 passed and 98 failures in non-FastCDC Windows-sensitive areas. Those failures were not individually proven to be baseline failures because the clean-baseline comparison was itself blocked by unguarded Unix-only test code. The two--allruns and strict all-targets/all-features Clippy were also non-zero on Windows. This PR does not claim full CI is green.Deployment boundary
The feature is disabled by default and can be disabled per repository with
lfs.fastcdc=false. The HTTP fixture uses loopback, an injected test client/token, SQLite, and Local object storage. It does not validate production credential storage, a complete Mono deployment, S3/GCS backends, shared repository ACLs, quotas, or garbage collection.