Advance WBV2 through native engine module matrix
This commit is contained in:
@@ -341,7 +341,7 @@ export function buildTaskContext(requestedTask) {
|
||||
const parentStatusSource = fs.existsSync(parentStatusPath) ? read(parentStatusPath) : "";
|
||||
const ownManifestPath = path.join(root, "tests/golden", task, "manifest.json");
|
||||
const ownManifest = fs.existsSync(ownManifestPath) ? json(ownManifestPath) : null;
|
||||
if (!requestedTask && task === queue.currentTask && ownManifest?.status === "done") {
|
||||
if (!requestedTask && task === queue.currentTask && ownManifest?.status === "done" && ownManifest.nextTask !== null) {
|
||||
throw new Error(`queue current task ${task} is already done; advance EXECUTION_QUEUE.md to ${ownManifest.nextTask}`);
|
||||
}
|
||||
if (!requestedTask && task === queue.currentTask && path.basename(path.dirname(queue.parentManifest)) !== parent) {
|
||||
|
||||
Reference in New Issue
Block a user