chore(deps): bump @agent-relay/sdk + @agent-relay/cloud to ^6.0.15#96
Conversation
Pulls in agent-relay/relay#838 ("Drain broker stdout after SDK startup")
which is the upstream/root fix for the broker pipe-buffer deadlock that
wedged overnight runs of the proactive-runtime workflows.
Reproducible symptom prior to this bump: after M1 fans out to 9 PTY
workers, every worker's log goes silent within seconds of each other,
broker process parks in `write()` (or `_pthread_cond_wait` once enough
events queue), and the workflow node's `step.run` awaits a drain signal
that never arrives. Two diagnostic captures (~/wedge-92b45d3e-diag/ and
~/wedge-c9600674-diag/, ~14h apart on independent runs) showed the same
freeze-at-fanout shape.
Ricky already shipped the loader-level unblocker in #94. This bump
brings in the upstream SDK fix so direct SDK consumers — including
Ricky-driven workflows whose runtime SDK is the bundled copy under
Ricky's node_modules (per #92's loader redirect) — pick up the proper
drain.
Verification
- npm run typecheck — clean
- npm run build — bundles cleanly, externals unchanged
- npm test — 1075 / 1075 pass, including the existing
"drains broker stdout after SDK startup so event floods cannot wedge
the workflow node" regression in src/local/entrypoint.test.ts
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
📝 WalkthroughWalkthroughTwo Agent Relay package dependencies are incremented from version ^6.0.13 to ^6.0.15 in ChangesDependency Version Bump
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Ricky Eval ReviewRun: Passed: 8 | Needs human: 43 | Reviewable: 43 | Missing output: 0 | Failed: 0 | Skipped: 0 Human Review CasesThese cases passed deterministic checks and include captured Ricky output for a human verdict against their REVIEW
|
Summary
Pulls in agent-relay/relay#838 ("Drain broker stdout after SDK startup") — the upstream/root fix for the broker pipe-buffer deadlock that's been wedging overnight runs of the proactive-runtime workflows.
Why
Ricky 0.1.46 vendors
@agent-relay/sdk@6.0.14, which still does not contain the drain fix (grep drainBrokerStdoutAfterStartup dist/client.js→ 0 matches in 6.0.14, 2 matches in 6.0.15). Because Ricky's loader (#92) redirects every@agent-relay/sdk*import to its bundled copy, the SDK actually used at workflow runtime is Ricky's vendored version — so bumping the SDK in consumer repos alone has no effect.Reproducer symptom (without this bump)
After M1's
lead-coordinatefans out to 9 PTY workers, every worker's log freezes within seconds of each other, broker process parks inwrite()(or_pthread_cond_waitonce enough events queue waiting for backpressure to clear), and the workflow node'sstep.runawaits a drain signal that never arrives. Two diagnostic captures (~/wedge-92b45d3e-diag/and~/wedge-c9600674-diag/, ~14h apart on independent runs) showed the same freeze-at-fanout shape.PR #94 shipped a loader-level unblocker; this bump brings in the proper upstream SDK fix so the runtime SDK that workflows execute against finally contains the drain.
What changed
package.json@agent-relay/cloud:^6.0.13→^6.0.15@agent-relay/sdk:^6.0.13→^6.0.15package-lock.json— regenerated vianpm install(52 lines added / 52 removed; version bumps + integrity hashes for the relay packages, no transitive surface changes).Verification
npm run typecheck— cleannpm run build— externals unchangednpm test— 1075 / 1075 pass, including the existing\"drains broker stdout after SDK startup so event floods cannot wedge the workflow node\"regression insrc/local/entrypoint.test.ts