Execution

mill.exec.Execution
See theExecution companion class
object Execution

Attributes

Companion
class
Source
Execution.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Execution.type

Members list

Type members

Classlikes

class LeaseTracker(indexToTerminal: Array[Task[_]], interGroupDeps: Map[Task[_], Seq[Task[_]]])

Tracks per-task read leases on the workspace lock and releases them once every transitive downstream task that depends on the holder has completed.

Tracks per-task read leases on the workspace lock and releases them once every transitive downstream task that depends on the holder has completed.

The transitive part matters because a direct downstream can forward PathRefs or other data from an upstream output to its own downstreams. Releasing the upstream read lease when only the direct downstream completes would let a concurrent launcher overwrite that output while a later transitive downstream may still read it.

Attributes

Source
Execution.scala
Supertypes
class Object
trait Matchable
class Any

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def findInterGroupDeps(sortedGroups: MultiBiMap[Task[_], Task[_]], effectiveInputs: Task[_] => Seq[Task[_]] = ...): Map[Task[_], Seq[Task[_]]]

Attributes

Source
Execution.scala
def formatFailedCount(failures: Int, completed: Boolean, errorColor: String => String, successColor: String => String): Str

Format a failed count as a string to be used in status messages. When completed: returns ", N FAILED" if count > 0, otherwise ", SUCCESS" When in-progress: returns ", N failing" if count > 0, otherwise an empty string.

Format a failed count as a string to be used in status messages. When completed: returns ", N FAILED" if count > 0, otherwise ", SUCCESS" When in-progress: returns ", N failing" if count > 0, otherwise an empty string.

Attributes

Source
Execution.scala