Skip to content

Agent abandons build if it takes longer than 15 seconds #252495

Open
@richardTingle

Description

@richardTingle

Type: Bug

If a build takes longer than 15 seconds the agent gives up, rewrites its build request and tries again (which obviously also fails). It should just wait for the build to finish (however long that takes).

This blocks any workflow that requires the agent to run tests (and that also takes longer than 15 seconds)

Steps to reproduce:

  • Have a build that takes more than 15 seconds
  • Give the prompt
  • Could you run the tests in [redacted] and resolve any failures
  • AI correctly starts running the test
  • 15 seconds goes by

Expected results:

  • AI continues to wait

Actual results:

  • AI gets bored and says "The tests are taking a long time to run. Let me check if there are specific test configurations or if I can run them more efficiently"
  • The AI comes up with another command line to run that won't be any quicker
  • AI gets bored again and gives up on running the test, declares that everything is probably fine already

I don't understand why there is any limit on how long it will wait, surely the AI isn't "active" again until the run finishes and it can look at the results

Extension version: 0.28.2
VS Code version: Code 1.101.1 (Universal) (18e3a1e, 2025-06-18T13:35:12.605Z)
OS version: Darwin arm64 24.4.0
Modes:

System Info
Item Value
CPUs Apple M3 Pro (12 x 2400)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 5, 4, 3
Memory (System) 36.00GB (1.34GB free)
Process Argv
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscod805cf:30301675
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
pythonrstrctxt:31112756
nativeloc1:31192215
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31333650
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
c7cif404:31314491
5b33h341:31326279
pythonpulldiagcf:31325931
996jf627:31283433
pythonrdcb7:31303018
usemplatestapi:31297334
0aa6g176:31307128
7bj51361:31289155
747dc170:31275177
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
0g0a1943:31332226
i851h500:31332225
useunpkg:31333564
agentclaude:31334889
b6b4d950:31327385
id45c886:31333049
test-11-treatment:31335235
gh_pad_aa_t:31335104
3cc7c867:31335119

Metadata

Metadata

Assignees

Labels

chat-terminalThe run in terminal tool in chatfeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions