A manual evaluation workflow can be started after a previous run has already produced results. For one continuation in a demo evaluation workflow, we added a check for a result file. If the file exists, the branch skips the continuation. If it is absent, the branch invokes the continuation.

We ran that shell branch locally with the continuation command replaced by a recording stub. The plan file was present in all three fixtures. With no result file, the branch invoked the stub once. With a result file containing an empty JSON object, it skipped the stub. A zero-byte result file also caused a skip.

The empty-file case shows what the check actually reads. It tests for the presence of a file. It does not examine whether the file contains a complete result. That may be enough to skip a rerun when the file is a reliable record of completion. The fixtures leave that reliability open.

The local checks exercised one branch. They did not run a hosted manual evaluation or test parallel starts. When we use a file to decide whether work should run, the useful question is what the decision can verify about that file.

← All engineering articles