Skip to content

Commit

Permalink
Increase visibility of SkyframeExecutor helpers.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 525143270
Change-Id: I29f5d597611a9a1b34120e86d094917b6ff87ae8
  • Loading branch information
Googler authored and fweikert committed May 25, 2023
1 parent c2afe5e commit 248dbac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ public final class SequencedSkyframeExecutor extends SkyframeExecutor {
new ArrayBlockingQueue<>(MODIFIED_OUTPUT_PATHS_SAMPLE_SIZE);
private final AtomicInteger modifiedFilesDuringPreviousBuild = new AtomicInteger();

private Duration sourceDiffCheckingDuration = Duration.ofSeconds(-1L);
private Duration outputTreeDiffCheckingDuration = Duration.ofSeconds(-1L);

private GraphInconsistencyReceiver inconsistencyReceiver = GraphInconsistencyReceiver.THROWING;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,8 @@ public abstract class SkyframeExecutor implements WalkableGraphFactory, Configur
@Nullable private final WorkspaceInfoFromDiffReceiver workspaceInfoFromDiffReceiver;
private Set<String> previousClientEnvironment = ImmutableSet.of();

protected Duration sourceDiffCheckingDuration = Duration.ofSeconds(-1L);

class PathResolverFactoryImpl implements PathResolverFactory {
@Override
public boolean shouldCreatePathResolverForArtifactValues() {
Expand Down Expand Up @@ -3429,7 +3431,8 @@ public ImmutableMap<String, Object> getExplicitStarlarkOptions(

@CanIgnoreReturnValue
@Nullable
WorkspaceInfoFromDiff handleDiffs(ExtendedEventHandler eventHandler, OptionsProvider options)
protected WorkspaceInfoFromDiff handleDiffs(
ExtendedEventHandler eventHandler, OptionsProvider options)
throws InterruptedException, AbruptExitException {
TimestampGranularityMonitor tsgm = this.tsgm.get();
modifiedFiles.set(0);
Expand Down

0 comments on commit 248dbac

Please sign in to comment.