hi all, just curious about the remote cache featur...
# general
f
hi all, just curious about the remote cache feature, which I’m setting up. does it only cache the final target, and not intermediary outputs? for example, in the below output, do the the interpreter or sources never make it to the remote cache?
Copy code
17:34:25 00:01   [pyprep]
17:34:25 00:01     [interpreter]
17:34:26 00:02       [cache]
                   No cached artifacts for 6 targets.
                   Invalidated 6 targets.
17:34:26 00:02     [build-local-dists]
17:34:26 00:02     [requirements]
17:34:27 00:03       [cache]
                   No cached artifacts for 10 targets.
                   Invalidated 10 targets.
17:34:35 00:11     [sources]
17:34:35 00:11       [cache]
                   No cached artifacts for 6 targets.
                   Invalidated 6 targets.
17:34:36 00:12   [binary]
17:34:36 00:12     [binary-jvm-prep-command]
17:34:36 00:12       [jvm_prep_command]
17:34:36 00:12     [binary-prep-command]
17:34:36 00:12     [py]
17:34:37 00:13       [cache].
                   Using cached artifacts for 1 target.
                   created pex dist/load_tester.pex
17:34:48 00:24     [py-wheels]
17:34:48 00:24     [jvm]
17:34:48 00:24     [dup]
               Waiting for background workers to finish.
17:34:48 00:24   [complete]
               SUCCESS
h
I think the intermediate products should be cached, depending on your config.
What are you seeing?
f
just the final binary is cached
reading the logs of my cache server, it only gets a PUT for the final binary