diff --git a/src/main/java/com/google/devtools/build/skyframe/QueryableGraph.java b/src/main/java/com/google/devtools/build/skyframe/QueryableGraph.java index 0434eedd524c36..b0515d6aa6333b 100644 --- a/src/main/java/com/google/devtools/build/skyframe/QueryableGraph.java +++ b/src/main/java/com/google/devtools/build/skyframe/QueryableGraph.java @@ -170,6 +170,9 @@ enum Reason { /** The node is being looked up to service {@link WalkableGraph#getValueAndRdeps}. */ WALKABLE_GRAPH_VALUE_AND_RDEPS, + /** The node is being looked up to service another "graph lookup" function. */ + WALKABLE_GRAPH_OTHER, + /** Some other reason than one of the above that needs the node's value and deps. */ OTHER_NEEDING_VALUE_AND_DEPS, @@ -186,7 +189,8 @@ public boolean isWalkable() { return this == WALKABLE_GRAPH_VALUE || this == WALKABLE_GRAPH_DEPS || this == WALKABLE_GRAPH_RDEPS - || this == WALKABLE_GRAPH_VALUE_AND_RDEPS; + || this == WALKABLE_GRAPH_VALUE_AND_RDEPS + || this == WALKABLE_GRAPH_OTHER; } }