fix(engine): correct parameter order in runVerificationCommand after merge

Reorder backend/timeoutMsOverride params so timeoutMsOverride remains at
position 10 (matching callers in executor.ts, merger.ts from main).
Update mission-verification.ts call sites to pass undefined for
timeoutMsOverride before the isolating backend argument.
This commit is contained in:
copilot-swe-agent[bot]
2026-06-19 23:50:37 +00:00
committed by GitHub
parent 78bd016743
commit b0c42974d0
2 changed files with 4 additions and 2 deletions

View File

@@ -501,6 +501,7 @@ export class TestExecutionVerificationCapability implements VerificationCapabili
verifyLog,
"reviewer",
scrubbedEnv,
undefined,
isolating,
);
@@ -531,6 +532,7 @@ export class TestExecutionVerificationCapability implements VerificationCapabili
verifyLog,
"reviewer",
scrubbedEnv,
undefined,
isolating,
);

View File

@@ -324,14 +324,14 @@ export async function runVerificationCommand(
agentLabel?: string,
/** Optional extra environment variables to inject into the child process (merged over process.env). */
extraEnv?: NodeJS.ProcessEnv,
/** Optional project-level per-command timeout override in milliseconds. Values <= 0 preserve the legacy default. */
timeoutMsOverride?: number,
/**
* Optional explicit sandbox backend. When omitted, the process-global backend
* is resolved. Pass this to pin an isolating backend without mutating global
* state (required for safe concurrent verification — see mission-verification).
*/
backend?: SandboxBackend,
/** Optional project-level per-command timeout override in milliseconds. Values <= 0 preserve the legacy default. */
timeoutMsOverride?: number,
): Promise<VerificationCommandResult> {
const logger = log ?? { log: console.log, error: console.error, warn: console.warn };
const label = (agentLabel ?? "merger") as AgentRole;