Skip to content

[Bug]: ACP process-exit mid-prompt shows generic "Provider turn failed." — exit code/signal/stderr dropped #30272

Closed as duplicate

Description

@giri256

Before submitting

Area

apps/server (ACP provider error surfacing)

Summary

When an ACP agent process exits during an in-flight session/prompt, the thread shows only a generic Provider error / Provider turn failed. The exit code, signal, and stderr excerpt that the ACP runtime captures for AcpProcessExitedError never reach the thread's failure item, the provider event log, or any other user-visible place — so repeated mid-turn crashes are impossible to diagnose from T3 Code.

Environment

  • T3 Code 0.1.6 (Linux desktop, Wayland)
  • Provider: Antigravity via ACP, long resumed conversation, tool-heavy turns

Observed failures (one thread, one day, UTC)

[2026-11-03T13:06:50Z] session/prompt failed  errorTag=AcpProcessExitedError reasonCount=1   (prompt ran 62m55s)
[2026-11-03T14:09:57Z] session/prompt failed  errorTag=AcpProcessExitedError reasonCount=1   (prompt ran 3m09s)
[2026-11-03T14:18:19Z] session/prompt failed  errorTag=AcpProcessExitedError reasonCount=1   (prompt ran 5m22s)
[2026-11-03T14:30:40Z] session/prompt failed  errorTag=AcpProcessExitedError reasonCount=1   (prompt ran 11m52s)

The thread's failure item for such an exit contains only:

type = error
title = Provider error
failure.class = provider_error
failure.message = Provider turn failed.
failure.code = None

No exit code, no signal, no stderr excerpt. System logs rule out OOM/segfault for these exits (no kernel kill records; the agent's resource peak was far below its sandbox limit), but the agent's own reason for exiting is recorded nowhere the user can reach: the provider event log keeps only errorTag/reasonCount, and in this configuration the ACP agent persists no log file of its own.

Expected behavior

  • The thread failure item for an ACP process exit shows the exit code or signal and a sanitized stderr excerpt (handled with appropriate care for potentially sensitive content), the way the runtime already assembles them internally.
  • Repeated process exits can be diagnosed from T3 Code's UI/logs without external process inspection.

Actual behavior

  • Every mid-prompt ACP process exit renders as the same generic Provider turn failed. with code = None, regardless of cause.

Activity

  1. juliusmarminge commented on Nov 12, 2026

    @juliusmarminge
    Member

    This is the same problem as #28401, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.

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

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