Skip to content

feat: implement unified project test orchestration - #78

Merged
dDevAhmed merged 6 commits into
mainfrom
feat/cli-032-test-orchestration
Sep 8, 2026
Merged

feat: implement unified project test orchestration#78
dDevAhmed merged 6 commits into
mainfrom
feat/cli-032-test-orchestration

Conversation

@dDevAhmed

Copy link
Copy Markdown
Contributor

Summary

Implements CLI-032 by adding stellarforge test for supported generated Node.js and Stellar smart-contract projects.

This PR is temporarily stacked on CLI-031 so it can reuse the validated safe subprocess supervisor while the repository-level Dependency Graph setting remains the only external blocker on preceding PRs.

Included

  • registers stellarforge test
  • detects generated Node.js projects with a package.json test script
  • detects generated Cargo smart-contract workspaces
  • invokes Node tests via npm run test and contract tests via cargo test
  • never executes package script text directly
  • reuses shell-free subprocess supervision and filtered child environment
  • streams prefixed child stdout/stderr
  • converts failing child tests into non-zero subprocess CLI failures
  • rejects unsupported/malformed project layouts with actionable guidance
  • unit coverage for Node/Cargo resolution and malformed layouts
  • command-level coverage for successful output and failing-child semantics

Security

  • executable + argument arrays only
  • no shell interpolation
  • no arbitrary test command field execution
  • no broad environment inheritance
  • no swallowed child failures

Closes #35

@dDevAhmed
dDevAhmed force-pushed the feat/cli-031-dev-orchestration branch from e7afedc to f5f61a3 Compare September 8, 2026 22:32
@dDevAhmed
dDevAhmed force-pushed the feat/cli-032-test-orchestration branch from d033598 to ba26b2a Compare September 8, 2026 22:34
@dDevAhmed
dDevAhmed changed the base branch from feat/cli-031-dev-orchestration to main September 8, 2026 22:35
@dDevAhmed
dDevAhmed merged commit c512597 into main Sep 8, 2026
3 of 4 checks passed
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.

CLI-032 — Implement stellarforge test unified test orchestration MVP

1 participant