Please land the process_output/process_exited ordering fix

クローズ
#1,840 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
javascript, typescript
領域
release

調査の方向性

まず dist/sidecar/rpc-client.js とコミット 9555bf756 を確認し、続いて agent/acp-codex-session-benchmark ブランチ上の process-event-ordering.test.ts を調べてください。その順序付けテストを実行し、リリースワークフローを確認してください。完了とは、修正が main に入り、リリース済みのバージョンに含まれていることを意味します。

索引モデルが issue の本文から書いたものです。

説明

Problem

[email protected] ships a workaround in dist/sidecar/rpc-client.js (drainTrailingProcessOutputTurn, see the comment at the top of the file) for native-sidecar process_output events arriving up to one macrotask after process_exited.

A proper fix exists — commit 9555bf756 ("fix(sidecar): order process output before exit", 2026-07-13, includes process-event-ordering.test.ts) — but as far as we can tell it currently lives only on the agent/acp-codex-session-benchmark branch and is not on main / in any released version.

Why it matters to us

We stream agent output token-by-token to end users, and on the previous (JS runtime) architecture we had to patch around adjacent stream-frame reordering ourselves. Event ordering between guest process streams and lifecycle events is load-bearing for us; with the runtime now compiled into the sidecar binary, we have no local mitigation available anymore — we depend on upstream releases for this class of fix.

主要言語
Rust
スター
4.8k
フォーク
270
平均マージ
13時間 37分
マージ済み PR(30日)
48

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rivet-dev/agentos のほかの issue

rivet-dev/agentos の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。