jackwener/maka-agent

ci(headless): alignment_audit leaks unhandled pty write (EBADF) failures

オープン

#2,296 opened on 2026/08/06

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (0 件のフォーク)github user discovery
good first issue

Repository metrics

Stars
 (1 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Failure mode (in the alignment_audit lane):

Unhandled pty write error [Error: EBADF: bad file descriptor, write]

surfaced as a lane failure; passed on rerun.

Observed: #2273 alignment_audit; passed on rerun.

Likely cause: pty fd closed while a write is still in flight during headless-session teardown under load.

Suggested fix: track pty lifecycle (abort pending writes before close) and/or treat post-close write errors as benign in the audit harness.

コントリビューターガイド