fix: add concurrency protection to action sync workflows (#451)

* fix: add concurrency protection to action sync workflows

* style: fix formatting in action/modes.ts

---------

Co-authored-by: pullfrog[bot] <226033991+pullfrog[bot]@users.noreply.github.com>
This commit is contained in:
pullfrog[bot]
2026-03-05 23:44:55 +00:00
committed by pullfrog[bot]
parent 5684cbef77
commit 8bac460177
40 changed files with 221 additions and 122 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import type { AgentResult, TestRunnerOptions, ValidationCheck } from "../utils.ts";
import { defineFixture, getAgentOutput, getStructuredOutput } from "../utils.ts";
import { defineFixture, getAgentOutput } from "../utils.ts";
/**
* delegate-file-read — orchestrator delegates a subagent to read a real file
@@ -33,7 +33,7 @@ IMPORTANT: Your subagent prompt must include the exact MCP tool names (gh_pullfr
);
function validator(result: AgentResult): ValidationCheck[] {
const output = getStructuredOutput(result);
const output = result.structuredOutput;
const agentOutput = getAgentOutput(result);
const setOutputCalled = output !== null;