Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/coding-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- Fixed Homebrew installs attempting to self-update their versioned Cellar keg instead of directing users to `brew upgrade prime-agent` ([#844](https://github.com/PrimeIntellect-ai/prime-agent/issues/844))
- Fixed the agents view collapsing expanded subagent lists when returning from an opened agent ([ENG-5105](https://linear.app/primeintellect/issue/ENG-5105/keep-the-agents-view-state-persistent)).
- Kept the subagent summary row visible and selectable while its list is expanded in the agents view, so pressing enter on it collapses the list again ([ENG-5105](https://linear.app/primeintellect/issue/ENG-5105/keep-the-agents-view-state-persistent)).
- Fixed a slow IPython kernel start on Windows being reported as a broken kernel. The wait for resolved ports is 15s there, unchanged elsewhere.

## [0.7.1] - 2026-08-07

Expand Down
11 changes: 10 additions & 1 deletion packages/coding-agent/src/core/kernel/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,16 @@ import {

const DELIM = Buffer.from("<IDS|MSG>");
const PROTOCOL_VERSION = "5.3";
const PORTS_RESOLVE_TIMEOUT_MS = 5000;
/**
* How long to wait for a starting kernel to publish its resolved ports.
*
* Windows pays a much slower interpreter start than Linux or macOS, and several
* kernels starting at once — a sharded test run, or a daemon bringing up
* sessions in parallel — pushes it past five seconds. The wait loop below exits
* early when the kernel dies, so a longer budget never delays a real failure;
* it only stops a slow start being reported as a broken one.
*/
const PORTS_RESOLVE_TIMEOUT_MS = process.platform === "win32" ? 15_000 : 5000;
const READY_TIMEOUT_MS = 5000;
// Loopback PUB/SUB subscription propagation is usually sub-ms, but keep a small guard before first execute.
const IOPUB_SUBSCRIBE_DELAY_MS = 50;
Expand Down