Repository navigation
test(v1): offline mock-executor smoke tests and 1.0.0 release prep - #19
Merged
Merged
Conversation
- 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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
4 tasks done
This branch was successfully deployed
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.
Closes #15
Part of #11
MockStepExecutor(exported from@stackforge/agents): deterministic, no network or delays. It emits the same stage events asProviderStepExecutor, andfailAtmakes 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 aBlueprintSchema-valid blueprint, using a provider that throws if called. A failure atapistops after planner and schema and raisesStepExecutionError(stageapi,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, thejob_failedpayload, and that no blueprint is stored on failure.0.1.0→1.0.0in the root and all 5 workspace manifests.bun.lockis unchanged (workspace versions are not pinned there).Local (
--force, no cache): typecheck, test (agents 33, api 12), build pass.