bitter-ability-32190
09/12/2022, 5:11 PMimmutable_input_digests
as most won't be mutating inputs (save for fmt
?)
Is that true? Should we consider swapping the "default" so we have input_digests
be immutable and mutable_input_digest
for the alternative?bitter-ability-32190
09/12/2022, 5:12 PMfast-nail-55400
09/12/2022, 5:13 PMimmutable_input_digest
is something to be reused over multiple Process
invocationsfast-nail-55400
09/12/2022, 5:13 PMProcess
invocations whereas the source files will change for each Process
invocationbitter-ability-32190
09/12/2022, 5:14 PMfast-nail-55400
09/12/2022, 5:14 PMfast-nail-55400
09/12/2022, 5:14 PMfast-nail-55400
09/12/2022, 5:15 PMbitter-ability-32190
09/12/2022, 5:15 PMfast-nail-55400
09/12/2022, 5:16 PMimmutable_input_digest
which is geared to things like unpacking the Go SDK once and then re-using itbitter-ability-32190
09/12/2022, 5:16 PMfast-nail-55400
09/12/2022, 5:17 PMbitter-ability-32190
09/12/2022, 5:17 PMGeneratedSources
bitter-ability-32190
09/12/2022, 5:19 PMhundreds-father-404
09/12/2022, 5:19 PMbitter-ability-32190
09/12/2022, 5:20 PMwitty-crayon-22786
09/12/2022, 5:25 PMwide-midnight-78598
09/12/2022, 5:25 PMro
properties on files?witty-crayon-22786
09/12/2022, 5:26 PMimmutable
currently, because we keep it on disk for the lifetime of pantsd
witty-crayon-22786
09/12/2022, 5:26 PMwide-midnight-78598
09/12/2022, 5:27 PMwide-midnight-78598
09/12/2022, 5:28 PMwitty-crayon-22786
09/12/2022, 10:58 PMbrfs
filesystem hosts digests as a FUSE filesystem. we discussed using it as an alternative to implementing something like immutable inputs, but at the time, FUSE was far too unstable on macOS to be a solution.
in the last week or so though, https://www.fuse-t.org/ was announced, which replaces the unstable portion on macOS, and apparently improves performancewitty-crayon-22786
09/12/2022, 11:02 PMimmutable_inputs
in terms of FUSE, rather than necessarily having the entire sandbox be FUSE.