Skip to content

lifecycle.ts session-id probe: raw initialize fetch is unbounded and never consumes the response body #428

Description

@pcarleton

Problem

The session-id visible-ASCII check in src/scenarios/server/lifecycle.ts sends a raw fetch POST (initialize) with no timeout signal, and the response body is never read or cancelled.

Two failure modes:

Proposal

Add signal: AbortSignal.timeout(...) to the probe fetch and cancel the body after reading the header. ~5 lines.

Related: #427 (runner-level per-scenario timeout) is the structural fix for the hang class; this one is still worth doing for fast failure and clean check attribution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions