We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a14def commit f36d146Copy full SHA for f36d146
src/runner/client.ts
@@ -27,7 +27,11 @@ async function executeClient(
27
let stderr = '';
28
let timedOut = false;
29
30
- // Build environment with scenario name and optional context
+ // Build environment with scenario name and optional context.
31
+ // We use separate env vars rather than putting scenario in context because:
32
+ // 1. Scenario is always set, context is only set when there's scenario-specific data
33
+ // 2. Simpler to read a string vs parsing JSON just to get the scenario name
34
+ // 3. Semantic separation: scenario identifies "which test", context provides "test data"
35
const env = { ...process.env };
36
env.MCP_CONFORMANCE_SCENARIO = scenarioName;
37
if (context) {
0 commit comments