Repository navigation
Conversation
The harness suite's beforeAll runs `create --template empty` with the 3-minute PROJECT_CREATE budget. On the Windows runner that create takes longer while the other E2E files run alongside it, so the hook times out and every harness test is skipped. It has failed this way on every v1.x push since 11/24.
Contributor
Package TarballHow to installgh release download pr-2969-tarball --repo aws/agentcore-cli --pattern "*.tgz" --dir /tmp/pr-tarball
npm install -g /tmp/pr-tarball/aws-agentcore-1.4.0.tgz |
Contributor
|
Claude Security Review: no high-confidence findings. (run) |
Contributor
There was a problem hiding this comment.
AgentCore Harness Review
Verdict: Looks good
Single-line E2E timeout change; I found nothing that needs to change before merge.
What I checked:
e2eTest/timeouts.ts:2is the only consumer-facing change.PROJECT_CREATEis used in exactly two places —e2eTest/project/harness.test.ts:77(thebeforeAllhook timeout that was failing) and the summed per-test budget ine2eTest/project/templates.test.ts:166— so the blast radius is just those two, and the second only gets a looser budget on Windows, as the description says.CliRunner.run(e2eTest/helpers/run.ts) has no internal deadline of its own, andvitest.e2e.config.tssets no globaltestTimeout/hookTimeout, so the per-hook argument is genuinely the limit being hit — raising it is the right lever.- The Windows job in
.github/workflows/e2e-test.ymlhas notimeout-minutes, so the extra 7 minutes stays well inside the 360-minute default; no risk of trading a hook timeout for a job timeout. process.platform === "win32"is evaluated in the vitest worker, not in the config module (the config only importsconstants.ts), so the branch resolves against the actual runner OS. The same guard pattern already exists ate2eTest/project/prebuilt-runtime.test.ts:53.- The added comment states why the Windows branch exists (slow create under parallel E2E files timing out
beforeAll) rather than restating the expression, so it earns its place. - No
command.md, fixture, or golden-file churn; no source behavior change.
Worth noting for follow-up (not blocking): this masks rather than fixes the underlying Windows create slowness, which the description already calls out as out of scope. If it recurs on another step, a Windows-wide multiplier applied across TIMEOUT_MS may be preferable to adding more per-key conditionals.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v1.x #2969 +/- ##
=======================================
Coverage 96.73% 96.73%
=======================================
Files 747 747
Lines 62845 62845
=======================================
Hits 60793 60793
Misses 2052 2052 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
notgitika
approved these changes
Nov 30, 2026
This branch has not been 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.
Description
Raises
TIMEOUT_MS.PROJECT_CREATEfrom 3 to 10 minutes on Windows only.e2eTest/project/harness.test.tscreates its project inbeforeAllwith thePROJECT_CREATEbudget. On the Windows runner,create --template emptytakes longer than 3 minutes while the other E2E files run alongside it, so the hook fails withHook timed out in 180000msand all 17 harness tests are skipped. The Windows E2E leg has failed this way on everyv1.xpush since 11/24, for example https://github.com/aws/agentcore-cli/actions/runs/46492288234/job/142107945561. macOS and Linux keep the 3-minute budget.The runtime template tests also create projects on Windows and pass, because their timeout covers create, dev, deploy and invoke together. They get the extra 7 minutes too, which only loosens an already-passing budget.
Not addressed here: why
createis that slow on Windows.Related Issue
None filed.
Documentation PR
Not applicable.
Type of Change
Testing
How have you tested the change?
bun testbun run test:e2e, or explained why they are not applicable(CI does not run them for you): the Windows E2E leg runs on push to v1.x
bun run typecheckbun run lint:checkbun run format:check(on the changed file)bun run auditbun run secrets:checkbun run buildsrc/assets/, I updated affected snapshots withbun test <test-file> --update-snapshotsand committed themby this PR
command.md(the release workflow regenerates it)Checklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the
terms of your choice.