private void CompleteExistingRun(string messages, byte[] artifact) { RunAttempt last = Runs.LastOrDefault(); if (last != null) { last.Complete(messages, artifact); } }