Make ConfiguredTargetValue a NotComparableSkyValue. Since no implementation of ConfiguredTarget implements equality, it's very much not comparable.
@@ -22,14 +22,13 @@ import com.google.devtools.build.lib.analysis.config.BuildConfiguration;
import com.google.devtools.build.lib.cmdline.Label;
import com.google.devtools.build.lib.collect.nestedset.NestedSet;
import com.google.devtools.build.lib.packages.Package;
+import com.google.devtools.build.skyframe.NotComparableSkyValue;
import com.google.devtools.build.skyframe.SkyKey;
import com.google.devtools.build.skyframe.SkyValue;
import java.util.List;
-/**
- * A {@link SkyValue} for a {@link ConfiguredTarget}.
- */
-public interface ConfiguredTargetValue extends SkyValue {
+/** A {@link SkyValue} for a {@link ConfiguredTarget}. */
+public interface ConfiguredTargetValue extends NotComparableSkyValue {
static SkyKey key(Label label, BuildConfiguration configuration) {
return ConfiguredTargetKey.of(label, configuration);
}
