feat(dev): CodeZip dev runner and process lifecycle core - #1883
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## refactor #1883 +/- ##
============================================
+ Coverage 96.72% 96.73% +0.01%
============================================
Files 301 302 +1
Lines 16745 16939 +194
============================================
+ Hits 16196 16386 +190
- Misses 549 553 +4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
tejaskash
force-pushed
the
feat/dev-server-core
branch
from
July 31, 2026 16:55
f5e0f3a to
ba41e68
Compare
tejaskash
force-pushed
the
feat/dev-server-core
branch
4 times, most recently
from
August 3, 2026 18:01
750364c to
fe79c87
Compare
tejaskash
force-pushed
the
feat/dev-server-core
branch
from
August 3, 2026 21:16
fe79c87 to
356b555
Compare
tejaskash
force-pushed
the
feat/dev-server-core
branch
from
August 6, 2026 15:57
70f25ad to
970d944
Compare
tejaskash
force-pushed
the
feat/dev-server-core
branch
from
August 6, 2026 17:34
ddad635 to
dd9c5de
Compare
tejaskash
force-pushed
the
feat/dev-server-core
branch
from
August 6, 2026 18:43
5213de0 to
6cad8b2
Compare
tejaskash
force-pushed
the
feat/dev-server-core
branch
from
August 6, 2026 19:19
6cad8b2 to
c96378f
Compare
tejaskash
force-pushed
the
feat/dev-server-core
branch
from
August 6, 2026 19:22
3f9671b to
d20d71f
Compare
tejaskash
force-pushed
the
feat/dev-server-core
branch
from
August 7, 2026 16:37
d20d71f to
8e17d7d
Compare
tejaskash
force-pushed
the
feat/dev-server-core
branch
2 times, most recently
from
August 10, 2026 15:08
3798df1 to
72d85ec
Compare
tejaskash
force-pushed
the
feat/dev-server-core
branch
5 times, most recently
from
August 10, 2026 15:31
8714739 to
6fc79c5
Compare
tejaskash
force-pushed
the
feat/dev-server-core
branch
from
August 10, 2026 18:41
6fc79c5 to
4f5bb54
Compare
…ution Implements the core infrastructure for `agentcore project dev`: - ProcessSupervisor manages child processes with SIGTERM/SIGHUP cleanup - CodeZipDevRunner bootstraps Python (uvicorn) and TypeScript (tsx) runtimes - findAvailablePort walks up from requested port to find a free one - Consumer-owned DevRunner interface with ProcessExit union type
- port: reject non-EADDRINUSE errors instead of treating every failure as "port busy" (EACCES on a privileged port no longer masquerades as in-use and gets silently walked past) - dev: delete duplicate core/dev/run.ts; consume io/exec.ts (runProcess) so subprocess IO lives only in io/ (boundary of concern) - codezip: drop nodePackageManager lockfile detection; assume npm - process: rewrite watch() comment; tighten 128+signal comment
tejaskash
force-pushed
the
feat/dev-server-core
branch
2 times, most recently
from
August 10, 2026 20:15
7aac8a7 to
214e439
Compare
aidandaly24
reviewed
Aug 10, 2026
tejaskash
force-pushed
the
feat/dev-server-core
branch
from
August 10, 2026 20:52
214e439 to
80d9c7c
Compare
aidandaly24
approved these changes
Aug 10, 2026
jariy17
approved these changes
Aug 10, 2026
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
ioboundaryAbortSignal, with graceful termination, hard-kill escalation, and descendant cleanupCodeZipDevRunnerto yield status and process events without callbacks or lifecycle handlesuv run; use uvicorn for HTTP and direct Python execution for MCP, A2A, and AGUInpm exec -- tsx watch, installing dependencies only whennode_modulesis absentVerification
bun test(981 tests)bun run typecheckbun run lint:checkbun run format:checkbun run build