Add template variables, conditional steps, dry-run, abort handling, and GitHub summary to harness#2960
Open
Add template variables, conditional steps, dry-run, abort handling, and GitHub summary to harness#2960
Conversation
…nd GitHub summary to harness
- Template variable substitution ({{agent}}, {{language}}, {{workspace}}, {{scenario}}) in step fields
- Conditional step execution with only_if/skip_if on agent, language, and os
- --dry-run flag to validate scenarios and print step summaries without executing
- Graceful Ctrl+C handling with partial result writing via AbortController
- GitHub Actions job summary markdown output via GITHUB_STEP_SUMMARY
- Remove issue number references from comments
vigoo
approved these changes
Mar 16, 2026
# Conflicts: # golem-skills/tests/harness/src/driver/base.ts # golem-skills/tests/harness/src/executor.ts # golem-skills/tests/harness/tests/abort.test.ts # golem-skills/tests/harness/tests/conditions.test.ts # golem-skills/tests/harness/tests/github-summary.test.ts # golem-skills/tests/harness/tests/loader.test.ts # golem-skills/tests/harness/tests/variables-integration.test.ts # golem-skills/tests/harness/tests/variables.test.ts # tests/harness/src/driver/claude.ts # tests/harness/src/driver/gemini.ts # tests/harness/src/driver/opencode.ts # tests/harness/src/run.ts # tests/harness/tests/assertions.test.ts # tests/harness/tests/executor.test.ts # tests/harness/tests/watcher.test.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
{{agent}},{{language}},{{workspace}},{{scenario}}in step fields (prompt, shell, invoke, trigger, create/delete agent)only_if/skip_ifon agent, language, and os (with platform normalization: darwin→macos, win32→windows)--dry-runflag (Add --dry-run mode (validate specs without executing) #2914): Validates scenarios and prints step summaries without requiring a Golem server or agent$GITHUB_STEP_SUMMARYwith pass/fail icons, durations, and failure detailsCloses #2885, closes #2884, closes #2914, closes #2917, closes #2904
Test plan
npx tsc --noEmitpassesnpx tsx src/run.ts --dry-run --scenarios scenariosvalidates and prints step summaries