Cotal TypeScript packages
    Preparing search index...

    Function migrationSeats

    • The seats a committed migration hands over or tears down, read off the report's own rows so the commit acts on exactly what the report said. release is every settled spawn the caller named with --release; adopt maps each persona to the handle its next spawn receives, in journal order, so two adopted seats of one persona are handed out in the order they were spawned.

      Parameters

      • entries: readonly JournalEntry[]
      • report: {
            orphans: readonly { step: string; verdict: string }[];
            overrides: readonly string[];
        }

      Returns {
          adopt: ReadonlyMap<string, readonly JournalEntry[]>;
          release: readonly JournalEntry[];
      }