AutoMovie API
    Preparing search index...

    Function planAutoMovieArtifacts

    • Diff a run's keys against the stored keys: which artifacts must be computed and which can be reused.

      A key is reused when the store already holds it or when an earlier position of this same run computes it, because positions run in order and each computed artifact is stored before the next position starts. Every verifyEvery-th reuse, counted from the first, becomes verify: the caller recomputes it and compares digests, the sampled bypass that catches a key missing an input or a nondeterministic stage (Bazel's rebuild-and-compare check). A second run over the keys the first run stored computes nothing.

      Parameters

      • keys: readonly string[]

        The run's composed keys, in execution order.

      • stored: ReadonlySet<string>

        Keys whose entries already exist in the store.

      • OptionalverifyEvery: number

        Positive integer sampling period for verification; omitted verifies nothing.

      Returns IAutoMovieArtifactPlan

      One action per key and the action counts.