test(e2e): cover harness happy path - #47
Closed
Hweinstock wants to merge 2 commits into
Closed
Hweinstock wants to merge 2 commits into
Hweinstock wants to merge 2 commits into
Conversation
Hweinstock
commented
Sep 22, 2026
| expectedText?: string; | ||
| }; | ||
|
|
||
| const TIMEOUT_MS = { |
Owner
Author
There was a problem hiding this comment.
lets move the timeouts to a central timeouts.ts so that these are shared with other tests.
| test("deploys the empty project", { timeout: TIMEOUT_MS.PROJECT_DEPLOY }, async () => { | ||
| const deployment = parseResult( | ||
| DeployResponseSchema, | ||
| await cli.run(["project", "deploy", "--yes", "--json"], projectDir), |
Owner
Author
There was a problem hiding this comment.
lets do a remove all here.
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
Verification
bun test— 3,559 passed, 0 failedbun run typecheckbun run lint:checkbun run format:checkbun run secrets:checkbun run compileThe successful e2e run used the schema-v2 CDK CI tarball because the base branch pins
@aws/agentcore-cdk@1.0.0-rc.2, which is not currently published to npm. A post-rebasererun stops during project creation at that package installation and creates no AWS
resources.
Testing instructions
Reproduction
Before this change,
e2eTest/project/covered runtime templates but did not exercisethe harness add, deploy, remote invoke, remove, and teardown lifecycle.
Spec
Add
e2eTest/project/harness.test.tswith test cases defined by a harness name,additional add flags, and additional invoke flags. Cover only two to three memory
settings and one custom-system-prompt harness. Add the harnesses to an empty project,
deploy them, invoke them remotely, remove them, and deploy the empty project.