-
Notifications
You must be signed in to change notification settings - Fork 34k
Description
Type: Bug
When copilot running Claude Sonnet 4 request to run a command on the console, and the command is something like this:
cd /home/antonio/Projects/conciliacionescca && /home/antonio/Projects/conciliacionescca/.venv/bin/python -c "
import asyncio
import json
from app.database import get_session
from app.services.contracts import ContractService
from app.schemas import ContractCreate
from decimal import Decimal
async def test_contract_items():
# Load the sample JSON
with open('1. Plan de Venta.json', 'r') as f:
json_data = json.load(f)
# Create contract data
contract_data = ContractCreate(
title='Test Payment Items',
client_billing_name='ALTICA SERVICIOS SOCIEDAD ANONIMA',
branch_id=1,
total_amount=Decimal('135700.00'),
currency='USD',
contract_type='plan_ventas',
contract_data=json_data # This contains the payment data
)
# Create the contract
async for db in get_session():
try:
contract = await ContractService.create_contract(db, contract_data, 1)
print(f'Contract created: {contract.id}')
print(f'Number of items: {len(contract.items)}')
for item in contract.items:
print(f'Item {item.item_number}: {item.payment_detail} - {item.amount} {item.currency}')
except Exception as e:
print(f'Error: {e}')
import traceback
traceback.print_exc()
finally:
break
asyncio.run(test_contract_items())
"
It stays waiting for the result. Normally I stop the chat, and paste the results. For some smaller command it continues correctly.
Extension version: 0.29.1
VS Code version: Code 1.102.1 (7adae6a, 2025-07-15T16:41:17.147Z)
OS version: Linux x64 6.8.0-64-generic snap
Modes:
System Info
Item | Value |
---|---|
CPUs | AMD Ryzen 5 5500 (12 x 4241) |
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: disabled_off video_decode: enabled video_encode: disabled_software vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off webnn: disabled_off |
Load (avg) | 2, 1, 1 |
Memory (System) | 62.58GB (22.60GB free) |
Process Argv | --no-sandbox --force-user-env --crash-reporter-id ae0e13bf-8fa6-42bb-a6bb-d90c0afb448a |
Screen Reader | no |
VM | 0% |
DESKTOP_SESSION | ubuntu |
XDG_CURRENT_DESKTOP | Unity |
XDG_SESSION_DESKTOP | ubuntu |
XDG_SESSION_TYPE | x11 |
A/B Experiments
vsliv368:30146709
binariesv615:30325510
0bi6i642:31350688
2e7ec940:31000449
nativeloc1:31344060
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
9064b325:31222308
copilot_t_ci:31333650
e5gg6876:31282496
pythoneinst12:31285622
c7cif404:31314491
pythonpulldiag:31343502
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
0aa6g176:31307128
747dc170:31275177
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
pylancequickfixf:31350060
9d2cg352:31346308
convertlamdaf:31350062
usemarketplace:31343026
nesew2to5:31336538
agentclaude:31350858
nes-diff-11:31337487
replacestringexc:31350595
nes-set-on:31350020
6abeh943:31336334
yijiwantestdri0626-t:31336930
0927b901:31350571
f76d9909:31348711
0cj2b977:31350606
a02b4192-color:31350622