Skip to content

Commit 4f6fab5

Browse files
committed
Revert to always-false-condition for documentation purposes.
Signed-off-by: Felipe <afrueda97@outlook.com>
1 parent 06a4e6a commit 4f6fab5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

analyzer/java/com/engflow/bazel/invocation/analyzer/dataproviders/remoteexecution/CriticalPathQueuingDurationDataProvider.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,11 @@ CriticalPathQueuingDuration getCriticalPathQueuingDuration()
152152
&& cPathEvent.start.compareTo(event.start) <= 0) {
153153
continue;
154154
}
155+
// Keep this always-false-condition for documentation purposes!
155156
// We have found cases where the end time of the critical path event is less than the end
156157
// time of the processing event. This might be a bug / inconsistency in Bazel profile
157158
// writing.
158-
if (!cPathEvent.end.almostEquals(event.end) && cPathEvent.end.compareTo(event.end) <= 0) {
159+
if (false && (!cPathEvent.end.almostEquals(event.end) && cPathEvent.end.compareTo(event.end) <= 0)) {
159160
continue;
160161
}
161162

0 commit comments

Comments
 (0)