CliWorkerProgressOutput class final

Prints completed worker outcomes while leaving in-flight events internal.

Progress files remain the source of internal run state; this adapter only projects terminal outcomes to the CLI stream.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

drainFiles(List<String> progressFiles, Map<String, int> seenLines, {void writeLine(String line)?}) → void
hasMissingReports(Iterable<String> reportFiles) → bool
A worker can be terminated without a non-zero exit status before Flutter has written its report. In that case its progress stream is still the only record of the case that was in flight.
preserveIncompleteProgress(List<String> progressFiles, Directory diagnosticsDirectory, {Set<int> timedOutWorkerIndexes = const {}, DateTime? capturedAt}) → List<File>
Preserves in-flight worker events when a process fails before writing its complete report. The terminal stream intentionally shows only completed case outcomes, so these events are the only durable pointer to a stuck case after its worker is terminated.