This prevents the server from gradually filling up due to store paths fetched by hydra-server that then get turned into a GC root by hydra-update-gc-roots.
PJD4HUOJXDAPSY3GBEK2KS6SIBQOQI7U72RLPG2YLVVQWS2FTMUAC
YAT6VX542JXMSSS642S52K72636L7IM3F6ZDHCOUUB3325S7NHOQC
TJK27WSBFOM6LKVCSA7LTTCWUGB4O2AL22PNIDQXS4BFOFCISH2QC
WZ3AEJ67LOG5L335AAC2BDLIJPIU4VSCGBMATBHDZC26ECRS5A6AC
HLYVEJX74DMSDR7VTGSLZCLUKQDZFDIK4FFDV4S27UPBN5JH4KDQC
SLBM7H4QGAX5J25YXYZL7APK5Y3TSB4KSWCEJPF3X3KF7UG7Y3GQC
my $config = getHydraConfig();
if ($build->finished && ($build->buildstatus == 0 || $build->buildstatus == 6)) {
if (($config->{store_mode} // "direct") eq "direct" && $build->finished && ($build->buildstatus == 0 || $build->buildstatus == 6)) {
if (($config->{store_mode} // "direct") eq "direct" &&
$build->finished && ($build->buildstatus == 0 || $build->buildstatus == 6))
{