t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: The provider process exited with code 0. Check the server logs for the provider's output, then retry the turn.

Open Taiungk opened this issue 1 week ago • 2 comments

Before submitting

  • [x] I searched existing issues and did not find a duplicate.
  • [x] I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

用反重力模型,时不时报这个错,输入继续又好了!

Expected behavior

The provider process exited with code 0. Check the server logs for the provider's output, then retry the turn.

Actual behavior

The provider process exited with code 0. Check the server logs for the provider's output, then retry the turn.

Impact

Blocks work completely

Version or commit

No response

Environment

No response

Logs or stack traces


Screenshots, recordings, or supporting files

No response

Workaround

No response

Taiungk avatar Nov 26 '26 07:11 Taiungk

@Taiungk When the error appears again, could you attach the last 30 or so lines of the newest acp-server-*.log file under ~/.t3/userdata/providers/antigravity//antigravity-acp/log/ (on Windows, %USERPROFILE%.t3\userdata...), along with your OS, your T3 Code version and the model you were using? That log is where agy records why it shut down.

juliusmarminge avatar Nov 26 '26 07:11 juliusmarminge

I hit the same error today and captured the exact agy shutdown. Here is the information you asked for:

  • OS: Microsoft Windows 11 Home Single Language, 10.0.26200 (build 26200), x64
  • T3 Code version: 0.1.13
  • Model: gemini-4-hydrogen on the Antigravity provider (managed agy language server 1.5.20)
  • Timing: turn started 2026-11-29T14:26:43Z and failed 14:28:02Z with AcpProcessExitedError; the bridge received the interrupt at 14:28:01Z (19:58:01 IST).

Last 30 lines of the acp-server log covering the failure (redacted):

I1129 19:57:14.152066    4903 runner.go:961] Monitor sir_flash_lite FINISHED: triggered=false, reason="The pending tool call runs a diagnostic Python snippet using `run_command` to check settings, API routes, simulation runtime, and import modules for the project. This is a read-only diagnostic check that matches the 'Status, diagnostic, and read-only queries' routine category.", duration=2.4037267s
I1129 19:57:14.152066    4903 runner.go:507] Monitor severe_internal_risks_agy SKIPPED
I1129 19:57:14.206382    4912 server.go:2873] Tool confirmation for conversation <conversation-id> step 335 (type=*gemini_coder_go_proto.Step_Generic approved=true)
W1129 19:57:14.208415    4390 sandbox_gates.go:40] failed to read project file for default-cli-project in GetSandboxConfig: failed to read project config file %USERPROFILE%\.t3\userdata\providers\antigravity\<instance-id>\config\projects\default-cli-project.json: open %USERPROFILE%/.t3/userdata/providers/antigravity/<instance-id>/config/projects/default-cli-project.json: The system cannot find the file specified.
I1129 19:57:31.436161    4390 http_helpers.go:787] URL: https://daily-cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse Trace: <redacted> ResponseID: <redacted>
I1129 19:57:35.329780    4989 runner.go:961] Monitor agy_tool_safety FINISHED: triggered=false, reason="allowed_tool", duration=29.4╡s
I1129 19:57:35.330777    4989 runner.go:507] Monitor sir_flash_lite SKIPPED
I1129 19:57:35.330777    4989 runner.go:507] Monitor severe_internal_risks_agy SKIPPED
I1129 19:57:35.518554    5026 runner.go:961] Monitor agy_tool_safety FINISHED: triggered=false, reason="allowed_tool", duration=22.4╡s
I1129 19:57:35.518554    5026 runner.go:507] Monitor sir_flash_lite SKIPPED
I1129 19:57:35.518554    5026 runner.go:507] Monitor severe_internal_risks_agy SKIPPED
I1129 19:57:35.652158    4937 runner.go:961] Monitor agy_tool_safety FINISHED: triggered=true, reason="unquoted_shell_operators", duration=146.6╡s
I1129 19:57:35.652158    5059 llm_monitor.go:349] LLM Monitor sir_flash_lite: Starting evaluation
I1129 19:57:35.725291    5059 llm_monitor.go:636] LLM Monitor sir_flash_lite: Trajectory formatted, length: 3374
I1129 19:57:35.725291    5059 llm_monitor.go:712] LLM Monitor sir_flash_lite: Calling LLM (model: MODEL_TIER_FLASH_LITE)
I1129 19:57:37.491359    5059 http_helpers.go:787] URL: https://daily-cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse Trace: <redacted> ResponseID: <redacted>
I1129 19:57:37.727952    5059 llm_monitor.go:731] LLM Monitor sir_flash_lite: LLM response received, length: 316
I1129 19:57:37.727952    5059 llm_monitor.go:769] LLM Monitor sir_flash_lite: LLM response parsed successfully
I1129 19:57:37.727952    5059 llm_monitor.go:785] LLM Monitor sir_flash_lite: Evaluation complete. Triggered: false, Severity: 0, Confidence: 10
I1129 19:57:37.727952    4943 runner.go:961] Monitor sir_flash_lite FINISHED: triggered=false, reason="The pending tool call runs standard local pytest test suites and sets an environment variable for testing (`$env:AGENT_SWARM_TESTING=\"1\"`). This falls under routine local testing and development activities without any risk signals present.", duration=2.0753774s
I1129 19:57:37.727952    4943 runner.go:507] Monitor severe_internal_risks_agy SKIPPED
I1129 19:57:37.742938    5048 server.go:2873] Tool confirmation for conversation <conversation-id> step 339 (type=*gemini_coder_go_proto.Step_Generic approved=true)
W1129 19:57:37.746461    4390 sandbox_gates.go:40] failed to read project file for default-cli-project in GetSandboxConfig: failed to read project config file %USERPROFILE%\.t3\userdata\providers\antigravity\<instance-id>\config\projects\default-cli-project.json: open %USERPROFILE%/.t3/userdata/providers/antigravity/<instance-id>/config/projects/default-cli-project.json: The system cannot find the file specified.
I1129 19:57:57.220634    4390 http_helpers.go:787] URL: https://daily-cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse Trace: <redacted> ResponseID: <redacted>
I1129 19:58:01.577358      68 serve.go:68] Received signal interrupt, shutting down
I1129 19:58:01.577358     269 server.go:1351] Stream goroutine exited for <conversation-id>, sending completion signal
I1129 19:58:01.577358     166 server.go:4817] Got signal interrupt, shutting down
I1129 19:58:01.580485    5137 server.go:4853] Language server shutting down
I1129 19:58:01.583260    5137 server.go:4894] Waiting for migrations to complete to prevent partial migration state...
E1129 19:58:01.715586     124 file_watcher.go:194] skipping empty or temp file: 

Additional triage notes from T3's own logs and shipped binary:

  • The bridge logged "Received signal interrupt, shutting down" and then exited 0, which is why T3's UI said "provider process exited with code 0". The agy.exe format string is "Received signal %v, shutting down", so %v was os.Interrupt: a real interrupt signal, not an internal error.
  • The provider event log shows no session/cancel, and the server trace contains no thread.interrupt or run.interrupt command in the two seconds before termination. The prompt-inactivity watchdog did not fire.
  • Related reports: #43012 (starting a second Antigravity thread cancels an in-flight turn, with no session/cancel from T3) and #44262 (a fresh agy process is spawned per thread). Continuing on another provider worked, which matches the reporter's workaround.

surya-gorla avatar Nov 29 '26 15:11 surya-gorla