Skip to content

feat(skills): allow direct unit test commands - #55

Draft
slavakurilyak wants to merge 2 commits into
plainlang:mainfrom
slavakurilyak:feat/direct-unit-test-command
Draft

slavakurilyak wants to merge 2 commits into
plainlang:mainfrom
slavakurilyak:feat/direct-unit-test-command

Conversation

@slavakurilyak

@slavakurilyak slavakurilyak commented Nov 30, 2026 •

Copy link
Copy Markdown

A Go project that runs its unit tests with go test ./... currently needs a shell wrapper to satisfy Forge's health check. This change lets the config authoring and health-check skills accept a direct argument list for projects rendered with Pyro.

Before and after

Before:

unittests-script: test_scripts/run_unittests_go.sh

Config authoring and the health check currently require the script setting.

After:

unittests-command: ["go", "test", "./..."]

Forge accepts exactly one of unittests-command or unittests-script and checks that the selected Pyro has the runner. Forge validates the configuration; Pyro executes it. Script-based projects can keep their current configuration.

Depends on plainlang/pyro#50. Pyro owns command execution, including staging the build in a temporary directory and returning the test command's exit status. This PR updates Forge's config authoring and validation guidance. It should land once Forge bundles a Pyro release that includes the runner. The config key typo in #54 is a separate fix.

Validation: all 82 Forge tests passed and git diff --check passed.

@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Comment thread forge/skills/plain-healthcheck/SKILL.md Resolved

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant