Skip to content

SessionManager maxRestarts exhaustion dies silently — needs the loud give-up treatment from #1264 #1268

Description

@waleedkadous

PR #1266 (#1264) added a loud 'session-gave-up' notice when the fast-exit valve stops respawning: plain-language reason written into the terminal via PtySession.notice plus the Tower log.

maxRestarts exhaustion (the 50-restart budget) has the identical silent-death UX — the session just stops coming back with no in-terminal explanation — and did not get the loud treatment (kept out of #1266's scope deliberately). Route it through the same 'session-gave-up' event/notice path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/towerArea: Tower server / agent farm CLI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions