[6/9] feat: add SCCACHE_FILE_CLONE_COMPRESS for post-write compression - #9
Open
mmastrac wants to merge 1 commit into
Open
[6/9] feat: add SCCACHE_FILE_CLONE_COMPRESS for post-write compression#9mmastrac wants to merge 1 commit into
mmastrac wants to merge 1 commit into
Conversation
mmastrac
force-pushed
the
vercel/file-clone-compress
branch
from
March 31, 2026 18:03
b668492 to
c779b68
Compare
mmastrac
force-pushed
the
vercel/file-clone-reflink
branch
2 times, most recently
from
March 31, 2026 18:23
e49e0d7 to
52be489
Compare
mmastrac
force-pushed
the
vercel/file-clone-compress
branch
2 times, most recently
from
March 31, 2026 22:05
226e9df to
c3ebfff
Compare
mmastrac
force-pushed
the
vercel/file-clone-reflink
branch
2 times, most recently
from
April 1, 2026 18:01
4801769 to
7991e34
Compare
mmastrac
force-pushed
the
vercel/file-clone-compress
branch
2 times, most recently
from
April 1, 2026 20:55
2afce2b to
f12d053
Compare
mmastrac
force-pushed
the
vercel/file-clone-reflink
branch
from
April 1, 2026 20:55
7991e34 to
82cae86
Compare
mmastrac
force-pushed
the
vercel/file-clone-compress
branch
from
April 1, 2026 21:02
f12d053 to
136498c
Compare
mmastrac
force-pushed
the
vercel/file-clone-reflink
branch
2 times, most recently
from
April 2, 2026 00:52
822f6cc to
5055c36
Compare
mmastrac
force-pushed
the
vercel/file-clone-compress
branch
from
April 2, 2026 00:52
136498c to
4be87c8
Compare
mmastrac
force-pushed
the
vercel/file-clone-reflink
branch
from
April 2, 2026 16:22
5055c36 to
614ab48
Compare
mmastrac
force-pushed
the
vercel/file-clone-compress
branch
2 times, most recently
from
April 2, 2026 16:24
0106a7d to
ddb7117
Compare
mmastrac
force-pushed
the
vercel/file-clone-reflink
branch
2 times, most recently
from
April 2, 2026 16:29
3b1c8b7 to
c2dfa44
Compare
mmastrac
force-pushed
the
vercel/file-clone-compress
branch
from
April 2, 2026 16:29
ddb7117 to
eed7dde
Compare
mmastrac
force-pushed
the
vercel/file-clone-compress
branch
from
April 2, 2026 17:18
eed7dde to
f7e3b82
Compare
mmastrac
force-pushed
the
vercel/file-clone-reflink
branch
2 times, most recently
from
April 7, 2026 18:12
67072e8 to
e6a50c2
Compare
mmastrac
force-pushed
the
vercel/file-clone-compress
branch
2 times, most recently
from
April 7, 2026 18:20
3d27feb to
cf104ad
Compare
mmastrac
force-pushed
the
vercel/file-clone-reflink
branch
2 times, most recently
from
April 7, 2026 18:24
cef13e5 to
ac7af77
Compare
mmastrac
force-pushed
the
vercel/file-clone-compress
branch
2 times, most recently
from
April 7, 2026 19:09
66992c5 to
dd8329f
Compare
mmastrac
force-pushed
the
vercel/file-clone-reflink
branch
from
April 7, 2026 19:09
ac7af77 to
f0a0bdc
Compare
mmastrac
force-pushed
the
vercel/file-clone-reflink
branch
from
April 16, 2026 21:35
f0a0bdc to
3d1bc8f
Compare
mmastrac
force-pushed
the
vercel/file-clone-compress
branch
from
April 16, 2026 21:35
dd8329f to
0511c15
Compare
mmastrac
force-pushed
the
vercel/file-clone-reflink
branch
from
April 17, 2026 14:44
3d1bc8f to
cbf1ce6
Compare
mmastrac
force-pushed
the
vercel/file-clone-compress
branch
from
April 17, 2026 14:44
0511c15 to
fbb6657
Compare
When SCCACHE_FILE_CLONE=true, users can set SCCACHE_FILE_CLONE_COMPRESS to a command that will be spawned on each cache entry directory after writing. The entry directory path is appended to the command. Example: SCCACHE_FILE_CLONE_COMPRESS="applesauce compress -c lzfse" applies APFS transparent compression on macOS, reducing cache disk usage while keeping files transparently readable and reflink-capable. The command runs in the background and failures are silently ignored. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
mmastrac
force-pushed
the
vercel/file-clone-compress
branch
from
April 17, 2026 15:08
fbb6657 to
5e9fb55
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.
Summary
SCCACHE_FILE_CLONE_COMPRESSspecifies a command to run on each cache entry directory after writing (whenSCCACHE_FILE_CLONE=true)shlexfor proper quoting supportSCCACHE_FILE_CLONE_COMPRESS="applesauce compress -c lzfse"applies APFS transparent compression on macOSStack: 6/8