Skip to content

Commit a985f51

Browse files
Merge pull request #15 from agentplugins/agent/native-recovery-ci
Exercise Recovery in native Codex CI
2 parents 2591d99 + 81e8bac commit a985f51

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ The root development package builds and tests the plugins.
3838

3939
Unit and integration tests exercise the packaged MCP probes through the official MCP SDK and invoke the skill-local reporting scripts. Their harness expands configuration and launches servers itself.
4040

41-
CI also runs a pinned Codex client on Ubuntu and Windows. It installs the unchanged Core and reporting plugins, starts the HTTP fixture, calls Core's stdio and HTTP probes through Codex's native MCP runtime, and checks the saved report's covered results. The JSON report and client diagnostics are retained as CI artifacts. This smoke test requires no API key or model turn; it does not exercise an agent following the guiding skill.
41+
CI also runs a pinned Codex client on Ubuntu and Windows. It installs the unchanged Core, Recovery, and reporting plugins, starts the HTTP fixture, collects MCP observations through Codex's native runtime, and checks the saved report's MCP results. The JSON report and client diagnostics are retained as CI artifacts. This smoke test requires no API key or model turn; it does not exercise an agent following the guiding skill.

‎scripts/smoke-codex.mjs‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@ const reportPath = join(output, 'report.json');
1515
const [codex, ...extra] = process.argv.slice(2);
1616
assert.ok(codex && isAbsolute(codex) && extra.length === 0,
1717
'Usage: node scripts/smoke-codex.mjs <absolute-codex-binary>');
18-
const names = ['agent-plugins-conformance-core', 'agent-plugins-conformance'];
19-
const servers = ['default', 'relative', 'root', 'data', 'http'];
20-
const coveredCases = CASE_IDS.filter((id) => id.startsWith('mcp.streamable-http.') || (id.startsWith('mcp.stdio.')
21-
&& id !== 'mcp.stdio.data.distinct-across-plugins'
22-
&& !id.startsWith('mcp.stdio.recovery.')));
18+
const names = ['agent-plugins-conformance-core', 'agent-plugins-conformance', 'agent-plugins-conformance-recovery'];
19+
const servers = ['default', 'relative', 'root', 'data', 'http', 'recovery-valid'];
20+
const coveredCases = CASE_IDS.filter((id) => id.startsWith('mcp.'));
2321
const temporary = await realpath(await mkdtemp(join(tmpdir(), 'apc-codex-smoke-')));
2422
const home = join(temporary, 'codex-home');
2523
const workspace = join(temporary, 'workspace');
@@ -205,7 +203,7 @@ try {
205203
for (const id of coveredCases) {
206204
assert.equal(report.results.find((result) => result.id === id)?.status, 'pass', `${id} did not pass`);
207205
}
208-
console.log(`Native Codex smoke passed: ${coveredCases.length} Core stdio and HTTP cases; ${report.summary.not_verified} not verified.`);
206+
console.log(`Native Codex smoke passed: ${coveredCases.length} Core and Recovery MCP cases; ${report.summary.not_verified} not verified.`);
209207
console.log(`Report: ${reportPath}`);
210208
} catch (error) {
211209
console.error(`Native Codex smoke failed: ${error.message}`);

0 commit comments

Comments
 (0)