/** * Workaround to clear all legacy data, like the artifact factory. We need to clear them to avoid * conflicts. TODO(bazel-team): Remove this workaround. [skyframe-execution] */ void clearLegacyData() { artifactFactory.clear(); }