Skip to content

[bug] 环境 heredoc(ambient Text 端点)在并发管道 spawner 下仍不投递子进程(#2292 残项) #2308

Closed

Description

@caomengxuan666

[bug] 环境 heredoc(ambient Text 端点)在并发管道 spawner 下仍不投递子进程(#2292 残项)

背景

#2292 已由 PR #2303(merge 1cdace4)修复:owner-tagged 的 Text 端点(环境 heredoc)在顺序 spawn 面经 carrier 投递到子进程。但并发管道 spawner 面仍不投递——物化正文的 carrier 没有跨并发 spawn 的生命周期管理,该面子进程读该 fd 得 EBADF。GNU 侧 heredoc 正文在 fork 时就是真 fd(redir.c here_document_to_fd),每个管道子进程都继承。

现状锚点

  • 记录钉在 tests/issue2292_ambient_text_spawn_delivery_regressions.rs(pins-only,记录当前缺口形状)。
  • 顺序面已达标:同文件 18 条钉全过(主会话收口批,洗净 fd 环境)。

归宿

deferred:1.5.0 后 fd 波次处理——需要给物化 carrier 一个跨并发 spawn 的生命周期设计(引用计数或按 spawn 批次的持有面),不是补丁式小修。与 #2305(heredoc 正文串位)同属 heredoc 投递家族,可同簇评估。

Regression seed: tests/issue2292_ambient_text_spawn_delivery_regressions.rs 中记录并发 spawner 缺口的钉即种子,修复时转正为断言 GNU 期望的回归钉。

Activity

  1. added
    bug
    deferred
    gnu-baseline
    P3-low
    area:fd
    and removed
    deferred
    on Oct 31, 2026
  2. caomengxuan666 commented on Oct 31, 2026

    @caomengxuan666
    MemberAuthor

    Un-deferred per the user's 2026-10-31 directive that residuals be fixed rather than parked. A design-first cluster is dispatched: concurrent pipeline spawners need a carrier lifetime for ambient Text endpoints; if the design lands inside the current spawner architecture it ships in 1.5.0, otherwise the cluster reports the design and the blocker explicitly instead of forcing it.

  3. added this to the 1.5.0 milestone on Oct 31, 2026
  4. caomengxuan666 commented on Oct 31, 2026

    @caomengxuan666
    MemberAuthor

    Un-deferred per the user's directive (2026-10-31): residuals from this fix wave are to be fixed, not carried past the release. Now in milestone 1.5.0; a design-first cluster is dispatched (the lifetime mechanism must be designed against the concurrent spawner architecture; if it proves to need the #2234-class carrier rework, the cluster reports design-only with boundary evidence rather than forcing a partial fix).

  5. removed this from the 1.5.0 milestone on Oct 31, 2026
  6. caomengxuan666 commented on Oct 31, 2026

    @caomengxuan666
    MemberAuthor

    范围收敛(用户 2026-10-31 指示:1.5.0 不再扩容、尽快发版):本单移出 1.5.0 发布门。已派的工作继续完成、PR 照常走验证,能在冻结前干净落地的照常合并,落不进的顺延,不阻塞发版。

  7. added a commit that references this issue on Oct 31, 2026
  8. caomengxuan666 commented on Oct 31, 2026

    @caomengxuan666
    MemberAuthor

    Fixed by PR #2331 (merged).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P3-lowarea:fdbuggnu-baseline

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions