Fix comment in Starlark action.
The Starlark action no longer depends on its shadowed action's outputs.
PiperOrigin-RevId: 366970303
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/actions/StarlarkAction.java b/src/main/java/com/google/devtools/build/lib/analysis/actions/StarlarkAction.java
index c43e866..f1a6dee 100644
--- a/src/main/java/com/google/devtools/build/lib/analysis/actions/StarlarkAction.java
+++ b/src/main/java/com/google/devtools/build/lib/analysis/actions/StarlarkAction.java
@@ -168,8 +168,7 @@
public NestedSet<Artifact> discoverInputs(ActionExecutionContext actionExecutionContext)
throws ActionExecutionException, InterruptedException {
// If the Starlark action shadows another action and the shadowed action discovers its inputs,
- // we depend on the outputs of the action doing input discovery and it should know its inputs
- // after having been executed.
+ // we get the shadowed action's discovered inputs and append it to the Starlark action inputs.
if (shadowedAction.isPresent() && shadowedAction.get().discoversInputs()) {
Action shadowedActionObj = shadowedAction.get();