Skip to content

test(v1): offline mock-executor smoke tests and 1.0.0 release prep - #19

Merged
7vignesh merged 1 commit into
mainfrom
test/stackforge-v1-smoke
Nov 28, 2026
Merged

7vignesh merged 1 commit into
mainfrom
test/stackforge-v1-smoke

Conversation

@7vignesh

Copy link
Copy Markdown
Owner

Closes #15
Part of #11

  • MockStepExecutor (exported from @stackforge/agents): deterministic, no network or delays. It emits the same stage events as ProviderStepExecutor, and failAt makes a chosen stage throw.
  • generateProject(..., { executor }) is optional, so the API path can run offline.
  • packages/agents/test/smoke-offline.test.ts: a 7-stage run produces a BlueprintSchema-valid blueprint, using a provider that throws if called. A failure at api stops after planner and schema and raises StepExecutionError (stage api, step-3).
  • apps/api/test/smoke-offline.test.ts: the same two scenarios through the real job store and emitter. Checks status, agentsCompleted, currentStage, failure, the job_failed payload, and that no blueprint is stored on failure.
  • Version 0.1.0 → 1.0.0 in the root and all 5 workspace manifests. bun.lock is unchanged (workspace versions are not pinned there).

Local (--force, no cache): typecheck, test (agents 33, api 12), build pass.

- Add MockStepExecutor: deterministic, offline AgentStepExecutor with
  optional failAt stage
- generateProject accepts an optional executor
- Smoke tests in packages/agents and apps/api cover a full 7-stage run
  and a mid-pipeline failure at 'api' with no provider or API keys
- Bump workspace versions to 1.0.0
@vercel

vercel Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
stackforge-web Ready Ready Preview Nov 28, 2026 10:55pm UTC

@7vignesh
7vignesh merged commit 07a92c0 into main Nov 28, 2026
3 checks passed
@7vignesh
7vignesh deleted the test/stackforge-v1-smoke branch November 28, 2026 22:55

This branch was successfully deployed

1 active deployment
Preview — dffb3567 Deployed Nov 28, 2026 by vercel[bot]
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.

test(v1): offline mock-executor smoke tests and 1.0.0 release prep

1 participant