fix(wp7-02): preserve independent mixed model evidence
Dada P0-A isolated Windows CI / validate-and-package (push) Failing after 2m11s
Dada P0-A isolated Windows CI / validate-and-package (push) Failing after 2m11s
This commit is contained in:
@@ -137,13 +137,18 @@ if (!externalExitCodesValid) {
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
if (controlledReal && externalCommands.every((command) => command.exit_code === 0)) {
|
||||
if (controlledReal) {
|
||||
const manualConfirmed = process.env.DADA_WP7_02_MANUAL_REVIEW_CONFIRMATION === "confirmed";
|
||||
const manual = run("manual-review", process.execPath, ["scripts/record-wp7-02-manual-review.mjs", ...(manualConfirmed ? ["--confirm-manual-review"] : [])], {
|
||||
env: { DADA_TDD_RUN_ID: runId, DADA_WP7_02_CASE_DIR: caseDirectory },
|
||||
logicalCommand: `pnpm review:wp7-02${manualConfirmed ? " -- --confirm-manual-review" : ""}`,
|
||||
});
|
||||
commands.push(manual);
|
||||
if (![0, 3].includes(manual.exit_code)) {
|
||||
writeFileSync(resolve(caseDirectory, "commands.json"), `${JSON.stringify({ commands, run_id: runId }, null, 2)}\n`);
|
||||
console.error(JSON.stringify({ code: "WP7_02_MANUAL_REVIEW_COMMAND_FAILED", command: manual.command, exit_code: manual.exit_code, real_calls: 0, run_id: runId, status: "failed" }));
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
const modelEvidence = WP7_02_MODEL_IDS.map((modelId) => {
|
||||
|
||||
Reference in New Issue
Block a user