claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Can't get headless claude to run in pipeline when connecting to Azure Foundry models

Open sheldonhull opened this issue 1 month ago • 4 comments

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

I've tried many variations from the linked issue, and while I can get Foundry to work in local context with environment variables, when running remote in pipeline I can't figure out why it isn't working.

Claude Code CLI v2.0.58/2.0.59 hangs indefinitely (60s timeout) when running in Azure DevOps hosted agents with Microsoft Foundry integration. The CLI produces zero output before hanging - not even debug messages.

What Should Happen?

I've tried running a single command with no extra prompt setup to just confirm it is working, and claude --debug --print --dangerously-skip-permissions --output-format text respond with a haiku from my output doesn't work.

The templated command that is generated from is:

      # Connectivity check: validate Claude API access before main execution
      echo "##[section]Testing Claude API connectivity"
      CONNECTIVITY_CMD=("${CLAUDE_CMD}" --debug --print --dangerously-skip-permissions --output-format text "respond with a haiku")
      echo "##[command]${CONNECTIVITY_CMD[*]}"

      set +e
      timeout 60 "${CONNECTIVITY_CMD[@]}" >/dev/null 2>&1
      CONNECTIVITY_EXIT_CODE=$?
      set -e

      if [ ${CONNECTIVITY_EXIT_CODE} -ne 0 ]; then
        if [ ${CONNECTIVITY_EXIT_CODE} -eq 124 ]; then
          echo "##vso[task.logissue type=error]Claude API connectivity check timed out after 60 seconds"
        else
          echo "##vso[task.logissue type=error]Claude API connectivity check failed with exit code ${CONNECTIVITY_EXIT_CODE}. Unable to reach model."
        fi
        exit 1
      fi
      echo "##[info]Claude API connectivity verified successfully"

Error Messages/Logs

##[error]Claude API connectivity check timed out after 60 seconds


I can't get it to respond.
Based on the issue feedback earlier, I tried with debug flag, environment variable and more but it won't show me any output at all to know what's wrong. 

I've added logging to confirm the variables are set:


Azure AI Foundry Configuration (Required)
##[info]┌──────────────────────────────────────────────────────────────┐
##[info]│ CLAUDE_CODE_USE_FOUNDRY      = 1                             │
##[info]│ ANTHROPIC_FOUNDRY_RESOURCE   = sheld-[REDACTED]-eastus2
##[info]│ ANTHROPIC_FOUNDRY_API_KEY    = [REDACTED]                    │
##[info]└──────────────────────────────────────────────────────────────┘
Model Configuration
##[info]┌──────────────────────────────────────────────────────────────┐
##[info]│ ANTHROPIC_DEFAULT_HAIKU_MODEL  = claude-haiku-4-5
##[info]│ ANTHROPIC_DEFAULT_SONNET_MODEL = claude-sonnet-4-5
##[info]│ ANTHROPIC_DEFAULT_OPUS_MODEL   = claude-opus-4-5
##[info]└──────────────────────────────────────────────────────────────┘
Debug Configuration
##[info]CLAUDE_LOG_LEVEL=debug
##[info]CLAUDE_DEBUG=true
##[info]CLAUDE_HOME will use default: $HOME/.claude
##[info]Skills directory found with 0 files
##[info]ANTHROPIC_MCP_CONFIG set to: /home/vsts/work/_temp/.cache/mcp-config.json

Steps to Reproduce

I've tried to configure my agent directory so it had skills and other settings.

I have a template repo that gets cloned containing all the special claude prompts and skills.

      TARGET_CLAUDE_DIR="${HOME}/.claude"
      rsync -av "${SOURCE_CLAUDE_DIR}/" "${TARGET_CLAUDE_DIR}/"

So before claude code is called, I have copied all the config settings over and confirmed with this output it shows:

rsync -av "/home/vsts/work/1/autopilot/.claude/" "/home/vsts/.claude/"
sending incremental file list
./
CLAUDE.md
settings.json
agents/
agents/azure-devops-manager.md
commands/
commands/devex-docs-review.md
commands/devex-pr-review.md
skills/
skills/azure-repos-threads/
skills/azure-repos-threads/SKILL.md
skills/azure-repos-threads/scripts/
skills/azure-repos-threads/scripts/Check-CodexAzdoEnvironment.ps1
skills/azure-repos-threads/scripts/Get-CodexAzdoMainProgressThread.ps1
skills/azure-repos-threads/scripts/New-CodexAzdoThreadComment.ps1
skills/azure-repos-threads/scripts/New-CodexAzdoThreadSuggestion.ps1
skills/azure-repos-threads/scripts/Update-CodexAzdoMainProgressThread.ps1
skills/git-diff-analyzer/
skills/git-diff-analyzer/SKILL.md

sent 94,454 bytes  received 287 bytes  189,482.00 bytes/sec
total size is 93,179  speedup is 0.98
##[info]Successfully synced .claude configuration to /home/vsts/.claude
##[info]Contents of /home/vsts/.claude: /home/vsts/.claude
├── CLAUDE.md
├── agents
│   └── azure-devops-manager.md
├── commands
│   ├── devex-docs-review.md
│   └── devex-pr-review.md
├── settings.json
└── skills
    ├── azure-repos-threads
    │   ├── SKILL.md
    │   └── scripts
    │       ├── Check-CodexAzdoEnvironment.ps1
    │       ├── Get-CodexAzdoMainProgressThread.ps1
    │       ├── New-CodexAzdoThreadComment.ps1
    │       ├── New-CodexAzdoThreadSuggestion.ps1
    │       └── Update-CodexAzdoMainProgressThread.ps1
    └── git-diff-analyzer
        └── SKILL.md

7 directories, 12 files

I've run commands to

# CLI responds immediately
$ claude --version
# Output: 2.0.59 (Claude Code)

# Network connectivity confirmed
$ curl -sS --max-time 10 -o /dev/null -w "HTTP %{http_code}\n" "https://<resource>.services.ai.azure.com"
# Output: HTTP 200

Environment Variables Set

CLAUDE_CODE_USE_FOUNDRY=1
ANTHROPIC_FOUNDRY_BASE_URL=https://<resource>.services.ai.azure.com
ANTHROPIC_FOUNDRY_API_KEY=<redacted>
ANTHROPIC_DEFAULT_HAIKU_MODEL=claude-haiku-4-5
ANTHROPIC_DEFAULT_SONNET_MODEL=claude-sonnet-4-5
ANTHROPIC_DEFAULT_OPUS_MODEL=claude-opus-4-5
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
DO_NOT_TRACK=1

Iterations Tested

Iteration 1: Basic invocation

  • Command: claude --debug --print --dangerously-skip-permissions --output-format text "respond with a haiku"
  • Result: Hangs 60s, no output

Iteration 2: Added pre-flight diagnostics

  • Added claude --version check (works)
  • Added curl connectivity test (works - HTTP 200 in ~80ms)
  • Result: Still hangs on actual command

Iteration 3: Isolated CLAUDE_HOME

  • Used env CLAUDE_HOME=/tmp/.claude-test claude ...
  • Hypothesis: MCP config with invalid paths causing hang
  • Result: Still hangs

Iteration 4: Removed CLAUDE_CODE_SKIP_FOUNDRY_AUTH

  • Removed undocumented CLAUDE_CODE_SKIP_FOUNDRY_AUTH=1 variable
  • Result: Still hangs

Iteration 5: Isolated HOME (pending)

  • Using HOME=/tmp/.claude-test-home instead of CLAUDE_HOME
  • Simplified command without arrays/subshells
  • Result: No difference, still hangs.

Key Observations

  1. Zero output: The CLI produces absolutely no output - no debug logs, no errors, nothing. It just hangs silently.

  2. Version works: claude --version responds instantly, proving the CLI binary executes.

  3. Network works: Direct HTTPS to Foundry endpoint returns HTTP 200 in <100ms.

  4. Local works: The same configuration works locally on macOS.

  5. Memory stable: Agent memory stays around 1GB during hang - no memory leak.

  6. CPU idle: CPU usage drops to <1% during hang - CLI is waiting on something, not spinning.

Local Testing

export CLAUDE_CODE_USE_FOUNDRY=1
# NOPE: export ANTHROPIC_FOUNDRY_BASE_URL='https://<resource-name>.services.ai.azure.com' // API Error: 404 {"error":{"code":"404","message":"Resource not found"}}
export ANTHROPIC_FOUNDRY_BASE_URL='https://<resource-name>.services.ai.azure.com/anthropic'
export ANTHROPIC_FOUNDRY_API_KEY="$(az cognitiveservices account keys list --name '<resourcename>' --resource-group '<rg>' --subscription '<subscription>' --query key1 -o tsv)"
export ANTHROPIC_DEFAULT_HAIKU_MODEL=claude-haiku-4-5
export ANTHROPIC_DEFAULT_SONNET_MODEL=claude-sonnet-4-5
export ANTHROPIC_DEFAULT_OPUS_MODEL=claude-opus-4-5
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
export DO_NOT_TRACK=1
claude --debug --print --dangerously-skip-permissions --output-format text "respond with a haiku"

So one note in running this in my local test is that /anthropic is not documented as required, but with base url it made an immediate difference.

When using ANTHROPIC_FOUNDRY_RESOURCE=<resource> locally in my terminal it also worked, but not with base url missing the /anthropic path.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.0.59

Platform

Other

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Non-interactive/CI environment

Additional Information

Environment

  • Claude Code Version: 2.0.58, 2.0.59 (latest)
  • Platform: Azure DevOps Hosted Agents (Ubuntu, ubuntu-latest)
  • Foundry Endpoint: https://<resource>.services.ai.azure.com, and also have used ANTHROPIC_FOUNDRY_BASE_URL as well as basic resource <resource>
  • Authentication: API Key (ANTHROPIC_FOUNDRY_API_KEY)
  • Node.js: v22.x

sheldonhull avatar Dec 05 '25 02:12 sheldonhull

Claude CLI Pipeline Failure Analysis

Log File: failurelog.log
Date: 2025-12-05
Duration: ~9 minutes (02:09:11 - 02:18:17)

Summary

The invoke-claude---exec task ran Claude CLI against Azure AI Foundry but was terminated by Azure DevOps job cancellation after ~8 minutes of apparent inactivity. API requests that were finally dispatched succeeded immediately before process termination.

Timeline

Time Event
02:09:11 Task started, environment configured
02:09:12 Claude CLI version confirmed: 2.0.59
02:09:13 Network connectivity to Foundry: OK (HTTP 200)
02:09:13 API connectivity test started (simple haiku prompt)
02:10:13 ⚠️ API connectivity test timed out (60s)
02:10:13 Main Claude CLI execution started with --agents and MCP config
02:10:13 - 02:18:07 ~8 minutes of silence - no output, low CPU (~0-2%)
02:18:07 🔴 Job cancellation triggered, SIGINT sent
02:18:15 SIGTERM sent; Claude CLI finally logged pending API requests
02:18:16 API requests succeeded (HTTP 200, ~1s response times)
02:18:17 OperationCanceledException - task terminated

Key Observations

  • Pre-flight connectivity test hung for 60s despite raw HTTPS returning HTTP 200
  • Main execution produced zero output for 8 minutes
  • API requests succeeded instantly (~984ms-1355ms) once finally dispatched
  • Multiple parallel requests (haiku-4-5, sonnet-4-5) were queued but not sent until termination signal

Configuration Used

Model: claude-haiku-4-5
Foundry: Azure AI Foundry (East US 2)
CLI Version: 2.0.59
MCP Config: /home/vsts/.claude/mcp.json
Agents: azure-devops-pr-handler (8092 chars JSON)
📄 log entry from debug in here
2025-12-05T02:09:11.1247101Z ##[debug]Evaluating condition for step: 'invoke-claude---exec'
2025-12-05T02:09:11.1248121Z ##[debug]Evaluating: SucceededNode()
2025-12-05T02:09:11.1248611Z ##[debug]Evaluating SucceededNode:
2025-12-05T02:09:11.1249129Z ##[debug]=> True
2025-12-05T02:09:11.1249582Z ##[debug]Result: True
2025-12-05T02:09:11.1250804Z ##[section]Starting: invoke-claude---exec
2025-12-05T02:09:11.1257201Z ==============================================================================
2025-12-05T02:09:11.1257368Z Task         : Bash
2025-12-05T02:09:11.1257450Z Description  : Run a Bash script on macOS, Linux, or Windows
2025-12-05T02:09:11.1257739Z Version      : 3.259.0
2025-12-05T02:09:11.1257832Z Author       : Microsoft Corporation
2025-12-05T02:09:11.1257947Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash
2025-12-05T02:09:11.1258086Z ==============================================================================
2025-12-05T02:09:11.2269343Z ##[debug]Using node path: /home/vsts/actions-runner/cached/externals/node20_1/bin/node
2025-12-05T02:09:11.3159411Z ##[debug]system.debug=true
2025-12-05T02:09:11.3169258Z ##[debug]DistributedTask.Tasks.Node.SkipDebugLogsWhenDebugModeOff=True
2025-12-05T02:09:11.3258766Z ##[debug]agent.TempDirectory=/home/vsts/work/_temp
2025-12-05T02:09:11.3260005Z ##[debug]loading inputs and endpoints
2025-12-05T02:09:11.3261147Z ##[debug]loading INPUT_TARGETTYPE
2025-12-05T02:09:11.3280579Z ##[debug]loading INPUT_FILEPATH
2025-12-05T02:09:11.3296798Z ##[debug]loading INPUT_SCRIPT
2025-12-05T02:09:11.3297849Z ##[debug]loading INPUT_WORKINGDIRECTORY
2025-12-05T02:09:11.3298521Z ##[debug]loading INPUT_FAILONSTDERR
2025-12-05T02:09:11.3299175Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2025-12-05T02:09:11.3299817Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2025-12-05T02:09:11.3300506Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2025-12-05T02:09:11.3309687Z ##[debug]loading SECRET_AQUA_GITHUB_TOKEN
2025-12-05T02:09:11.3314817Z ##[debug]loading SECRET_OPENAI-BASE-URL
2025-12-05T02:09:11.3317301Z ##[debug]loading SECRET_TRUNK-GITHUB-COM-TOKEN
2025-12-05T02:09:11.3325140Z ##[debug]loading SECRET_GITHUB_TOKEN
2025-12-05T02:09:11.3328994Z ##[debug]loading SECRET_ANTHROPIC_FOUNDRY_API_KEY
2025-12-05T02:09:11.3329770Z ##[debug]loading SECRET_OPENAI-API-KEY
2025-12-05T02:09:11.3330561Z ##[debug]loading SECRET_OPENAI-AZURE-VERSION
2025-12-05T02:09:11.3345757Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
2025-12-05T02:09:11.3353556Z ##[debug]loading SECRET_OPENAI-MODEL
2025-12-05T02:09:11.3354120Z ##[debug]loading SECRET_GITHUB_COM_TOKEN
2025-12-05T02:09:11.3354644Z ##[debug]loaded 18
2025-12-05T02:09:11.3355155Z ##[debug]Agent.ProxyUrl=undefined
2025-12-05T02:09:11.3355707Z ##[debug]Agent.CAInfo=undefined
2025-12-05T02:09:11.3356682Z ##[debug]Agent.ClientCert=undefined
2025-12-05T02:09:11.3357229Z ##[debug]Agent.SkipCertValidation=undefined
2025-12-05T02:09:11.3373125Z ##[debug]check path : /home/vsts/work/_tasks/Bash_6c731c3c-3c68-459a-a5c9-bde6e6595b5b/3.259.0/task.json
2025-12-05T02:09:11.3376515Z ##[debug]adding resource file: /home/vsts/work/_tasks/Bash_6c731c3c-3c68-459a-a5c9-bde6e6595b5b/3.259.0/task.json
2025-12-05T02:09:11.3378241Z ##[debug]system.culture=en-US
2025-12-05T02:09:11.3409768Z ##[debug]failOnStderr=false
2025-12-05T02:09:11.3420456Z ##[debug]workingDirectory=/home/vsts/work/1/<MYREPO>
2025-12-05T02:09:11.3421195Z ##[debug]check path : /home/vsts/work/1/<MYREPO>
2025-12-05T02:09:11.3421729Z ##[debug]targetType=inline
2025-12-05T02:09:11.3422251Z ##[debug]bashEnvValue=undefined
2025-12-05T02:09:11.3431801Z ##[debug]script=set -euo pipefail
2025-12-05T02:09:11.3453492Z Generating script.
2025-12-05T02:09:11.3453961Z ##[debug]which 'bash'
2025-12-05T02:09:11.3454483Z ##[debug]found: '/usr/bin/bash'
2025-12-05T02:09:11.3455016Z ##[debug]Agent.Version=4.264.2
2025-12-05T02:09:11.3455550Z ##[debug]agent.tempDirectory=/home/vsts/work/_temp
2025-12-05T02:09:11.3456086Z ##[debug]check path : /home/vsts/work/_temp
2025-12-05T02:09:11.3456480Z ========================== Starting Command Output ===========================
2025-12-05T02:09:11.3457141Z ##[debug]which '/usr/bin/bash'
2025-12-05T02:09:11.3457784Z ##[debug]found: '/usr/bin/bash'
2025-12-05T02:09:11.3458370Z ##[debug]/usr/bin/bash arg: /home/vsts/work/_temp/eb62eb05-e85a-450d-9f3f-3d1f91be5d87.sh
2025-12-05T02:09:11.3458955Z ##[debug]exec tool: /usr/bin/bash
2025-12-05T02:09:11.3459499Z ##[debug]arguments:
2025-12-05T02:09:11.3460053Z ##[debug]   /home/vsts/work/_temp/eb62eb05-e85a-450d-9f3f-3d1f91be5d87.sh
2025-12-05T02:09:11.3460635Z [command]/usr/bin/bash /home/vsts/work/_temp/eb62eb05-e85a-450d-9f3f-3d1f91be5d87.sh
2025-12-05T02:09:11.3551796Z ##[section]Claude Code Invocation Task
2025-12-05T02:09:11.3553092Z ##[info]Documentation: https://code.claude.com/docs/en/microsoft-foundry
2025-12-05T02:09:11.3553280Z
2025-12-05T02:09:11.3553536Z ##[section]Environment Variable Summary
2025-12-05T02:09:11.3554205Z ##[info]┌─────────────────────────────────────────────────────────────────────┐
2025-12-05T02:09:11.3554621Z ##[info]│ REQUIRED FOUNDRY VARIABLES (per official docs)                      │
2025-12-05T02:09:11.3555066Z ##[info]├─────────────────────────────────────────────────────────────────────┤
2025-12-05T02:09:11.3555466Z ##[info]│ CLAUDE_CODE_USE_FOUNDRY      : Will be set to 1                     │
2025-12-05T02:09:11.3556072Z ##[info]│ VAR_INVOKE_CLAUDE_FOUNDRY_RESOURCE : <AZURE_FOUNDRY_RESOURCE>
2025-12-05T02:09:11.3556679Z ##[info]│ ANTHROPIC_FOUNDRY_API_KEY    : [SET] ***
2025-12-05T02:09:11.3557133Z ##[info]├─────────────────────────────────────────────────────────────────────┤
2025-12-05T02:09:11.3557498Z ##[info]│ OPTIONAL MODEL OVERRIDES                                            │
2025-12-05T02:09:11.3558196Z ##[info]├─────────────────────────────────────────────────────────────────────┤
2025-12-05T02:09:11.3558607Z ##[info]│ HAIKU_MODEL                  : claude-haiku-4-5
2025-12-05T02:09:11.3558979Z ##[info]│ SONNET_MODEL                 : claude-sonnet-4-5
2025-12-05T02:09:11.3559341Z ##[info]│ OPUS_MODEL                   : claude-opus-4-5
2025-12-05T02:09:11.3559938Z ##[info]├─────────────────────────────────────────────────────────────────────┤
2025-12-05T02:09:11.3560334Z ##[info]│ CONFIG (CLAUDE_HOME defaults to $HOME/.claude)                      │
2025-12-05T02:09:11.3560763Z ##[info]├─────────────────────────────────────────────────────────────────────┤
2025-12-05T02:09:11.3561164Z ##[info]│ MCP_CONFIG (auto-detect)     : $HOME/.claude/mcp.json
2025-12-05T02:09:11.3561625Z ##[info]│ INSTRUCTIONS_FILE            : /home/vsts/work/1/autopilot/.claude/commands/<MYTEAM>-docs-review.md
2025-12-05T02:09:11.3562087Z ##[info]└─────────────────────────────────────────────────────────────────────┘
2025-12-05T02:09:11.3562212Z
2025-12-05T02:09:11.3562447Z ##[section]Parameter Validation
2025-12-05T02:09:11.3562731Z ##[info]Validating required parameters...
2025-12-05T02:09:11.3563038Z ##[info]instructionsFile: /home/vsts/work/1/autopilot/.claude/commands/<MYTEAM>-docs-review.md
2025-12-05T02:09:11.3563362Z ##[info]foundryResource: <AZURE_FOUNDRY_RESOURCE>
2025-12-05T02:09:11.3563660Z ##[info]foundryApiKey: [REDACTED]
2025-12-05T02:09:11.3563930Z ##[info]All required parameters validated successfully
2025-12-05T02:09:11.3564233Z ##[info]workingDirectory: /home/vsts/work/1/<MYREPO>
2025-12-05T02:09:11.3564778Z ##[info]npmPrefix: /home/vsts/work/_temp/npm-global
2025-12-05T02:09:11.3565078Z ##[info]claudeVersion: latest
2025-12-05T02:09:11.3565341Z ##[info]packageName: @anthropic-ai/claude-code
2025-12-05T02:09:11.3565619Z ##[info]cliCandidates: claude
2025-12-05T02:09:11.3565895Z ##[info]outputPath: /home/vsts/work/1/a/claude/claude-output.txt
2025-12-05T02:09:11.3566195Z ##[info]haikuModel: claude-haiku-4-5
2025-12-05T02:09:11.3566457Z ##[info]sonnetModel: claude-sonnet-4-5
2025-12-05T02:09:11.3566730Z ##[info]opusModel: claude-opus-4-5
2025-12-05T02:09:11.3567075Z ##[info]message: list available skills before starting; invoke <MYTEAM>-pr-review immediately; no questions per headless execution;
2025-12-05T02:09:11.3567398Z ##[info]additionalArgs: <none>
2025-12-05T02:09:11.3567918Z ##[section]Validating Path Parameters
2025-12-05T02:09:11.3568238Z ##[info]Instructions file exists: /home/vsts/work/1/autopilot/.claude/commands/<MYTEAM>-docs-review.md
2025-12-05T02:09:11.3568566Z ##[section]Setting up NPM prefix and PATH
2025-12-05T02:09:11.5402000Z ##[debug]NPM prefix set to: /home/vsts/work/_temp/npm-global
2025-12-05T02:09:11.5416877Z ##[debug]Processed: ##vso[task.prependpath]/home/vsts/work/_temp/npm-global/bin
2025-12-05T02:09:11.5417293Z ##[section]Detecting Claude CLI
2025-12-05T02:09:11.5417675Z ##[debug]Checking for candidate: claude
2025-12-05T02:09:11.5418695Z ##[info]Found Claude CLI: claude
2025-12-05T02:09:11.5478025Z ##[debug]Output directory created: /home/vsts/work/1/a/claude
2025-12-05T02:09:11.5478703Z ##[section]Configuring Claude Environment
2025-12-05T02:09:11.5479250Z ##[section]Configuring Foundry Resource
2025-12-05T02:09:11.5479698Z ##[info]Detected resource name format - setting ANTHROPIC_FOUNDRY_RESOURCE
2025-12-05T02:09:11.5480881Z ##[debug]ANTHROPIC_FOUNDRY_RESOURCE=<AZURE_FOUNDRY_RESOURCE>
2025-12-05T02:09:11.5481467Z ##[section]Azure AI Foundry Configuration (Required)
2025-12-05T02:09:11.5482114Z ##[info]┌──────────────────────────────────────────────────────────────┐
2025-12-05T02:09:11.5482511Z ##[info]│ CLAUDE_CODE_USE_FOUNDRY      = 1                             │
2025-12-05T02:09:11.5483026Z ##[info]│ ANTHROPIC_FOUNDRY_BASE_URL   = <not set>
2025-12-05T02:09:11.5483399Z ##[info]│ ANTHROPIC_FOUNDRY_RESOURCE   = <AZURE_FOUNDRY_RESOURCE>
2025-12-05T02:09:11.5483795Z ##[info]│ ANTHROPIC_FOUNDRY_API_KEY    = [REDACTED]                    │
2025-12-05T02:09:11.5484208Z ##[info]└──────────────────────────────────────────────────────────────┘
2025-12-05T02:09:11.5484485Z ##[section]Model Configuration
2025-12-05T02:09:11.5484882Z ##[info]┌──────────────────────────────────────────────────────────────┐
2025-12-05T02:09:11.5485259Z ##[info]│ ANTHROPIC_DEFAULT_HAIKU_MODEL  = claude-haiku-4-5
2025-12-05T02:09:11.5485654Z ##[info]│ ANTHROPIC_DEFAULT_SONNET_MODEL = claude-sonnet-4-5
2025-12-05T02:09:11.5486200Z ##[info]│ ANTHROPIC_DEFAULT_OPUS_MODEL   = claude-opus-4-5
2025-12-05T02:09:11.5486618Z ##[info]└──────────────────────────────────────────────────────────────┘
2025-12-05T02:09:11.5486870Z ##[section]Debug Configuration
2025-12-05T02:09:11.5487143Z ##[info]ANTHROPIC_LOG=debug
2025-12-05T02:09:11.5487883Z ##[info]CLAUDE_HOME will use default: $HOME/.claude
2025-12-05T02:09:11.5595176Z ##[info]Skills directory found with 0 files
2025-12-05T02:09:11.5595664Z ##[info]MCP config detected at: /home/vsts/.claude/mcp.json
2025-12-05T02:09:11.5595949Z ##[section]Pre-flight Diagnostics
2025-12-05T02:09:11.5597858Z ##[info]Testing Claude CLI version...
2025-12-05T02:09:12.9468939Z 2.0.59 (Claude Code)
2025-12-05T02:09:12.9669118Z ##[info]Claude CLI responds to --version
2025-12-05T02:09:12.9670361Z ##[info]Testing raw HTTPS connectivity to Foundry endpoint...
2025-12-05T02:09:13.1558162Z ##[info]Network connectivity to Foundry endpoint OK (HTTP 200)
2025-12-05T02:09:13.1559503Z ##[section]Testing Claude API connectivity
2025-12-05T02:09:13.1584996Z ##[debug]Using isolated HOME for connectivity test: /home/vsts/work/_temp/.claude-test-home
2025-12-05T02:09:13.1588132Z ##[command]HOME=/home/vsts/work/_temp/.claude-test-home claude --dangerously-skip-permissions --output-format text --print 'respond with a haiku'
2025-12-05T02:09:15.7809327Z ##[debug]Agent environment resources - Disk: / Available 17847.86 MB out of 73325.30 MB, Memory: Used 1086.00 MB out of 6936.00 MB, CPU: Usage 3.36%
2025-12-05T02:09:21.8841610Z ##[debug]Agent environment resources - Disk: / Available 17847.69 MB out of 73325.30 MB, Memory: Used 1072.00 MB out of 6936.00 MB, CPU: Usage 0.98%
2025-12-05T02:09:26.8835178Z ##[debug]Agent environment resources - Disk: / Available 17847.69 MB out of 73325.30 MB, Memory: Used 1072.00 MB out of 6936.00 MB, CPU: Usage 0.98%
2025-12-05T02:09:32.2581163Z ##[debug]Agent environment resources - Disk: / Available 17847.69 MB out of 73325.30 MB, Memory: Used 1078.00 MB out of 6936.00 MB, CPU: Usage 0.98%
2025-12-05T02:09:37.2585188Z ##[debug]Agent environment resources - Disk: / Available 17847.68 MB out of 73325.30 MB, Memory: Used 1077.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:09:42.2590003Z ##[debug]Agent environment resources - Disk: / Available 17847.68 MB out of 73325.30 MB, Memory: Used 1089.00 MB out of 6936.00 MB, CPU: Usage 1.48%
2025-12-05T02:09:47.2600129Z ##[debug]Agent environment resources - Disk: / Available 17847.68 MB out of 73325.30 MB, Memory: Used 1074.00 MB out of 6936.00 MB, CPU: Usage 8.79%
2025-12-05T02:09:52.2603732Z ##[debug]Agent environment resources - Disk: / Available 17847.68 MB out of 73325.30 MB, Memory: Used 1076.00 MB out of 6936.00 MB, CPU: Usage 8.79%
2025-12-05T02:09:57.2613063Z ##[debug]Agent environment resources - Disk: / Available 17847.68 MB out of 73325.30 MB, Memory: Used 1076.00 MB out of 6936.00 MB, CPU: Usage 0.98%
2025-12-05T02:10:02.2611352Z ##[debug]Agent environment resources - Disk: / Available 17847.68 MB out of 73325.30 MB, Memory: Used 1081.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:10:07.2611644Z ##[debug]Agent environment resources - Disk: / Available 17847.67 MB out of 73325.30 MB, Memory: Used 1082.00 MB out of 6936.00 MB, CPU: Usage 0.98%
2025-12-05T02:10:12.2617278Z ##[debug]Agent environment resources - Disk: / Available 17847.67 MB out of 73325.30 MB, Memory: Used 1092.00 MB out of 6936.00 MB, CPU: Usage 1.53%
2025-12-05T02:10:13.1879061Z ##[warning]Claude API connectivity check timed out after 60 seconds
2025-12-05T02:10:13.1886478Z ##[debug]Processed: ##vso[task.logissue type=warning]Claude API connectivity check timed out after 60 seconds
2025-12-05T02:10:13.1887203Z ##[debug]Adding MCP config: --mcp-config /home/vsts/.claude/mcp.json
2025-12-05T02:10:13.1887695Z ##[section]Configuring Claude Agents from CLAUDE_SUBGENT_AZURE_DEVOPS_PR_HANDLER
2025-12-05T02:10:13.1889727Z ##[info]Agents JSON detected (length=8092 chars). Appending --agents argument.
2025-12-05T02:10:13.1890044Z ##[section]Augmenting prompt with CLAUDE_PROMPT_PR_REVIEW contents
2025-12-05T02:10:13.1920665Z ##[info]CLAUDE_PROMPT_PR_REVIEW detected (length=7676 chars). Including in final prompt argument.
2025-12-05T02:10:13.1924936Z ##[section]Executing Claude CLI
2025-12-05T02:10:13.1930723Z ##[command]claude --verbose --model claude-haiku-4-5 --dangerously-skip-permissions --output-format text --system-prompt-file /home/vsts/work/1/autopilot/.claude/commands/<MYTEAM>-docs-review.md --mcp-config /home/vsts/.claude/mcp.json --agents {
2025-12-05T02:10:13.1933425Z  "azure-devops-pr-handler": {
2025-12-05T02:10:13.1933788Z     description: "Orchestrates Azure DevOps PR operations with progress threads, code suggestions, and automatic retries",
2025-12-05T02:10:13.1957482Z     "prompt": "# Azure DevOps Manager Subagent\n\nYou are a specialized subagent for orchestrating Azure DevOps pull request operations.... <TRIMMED>"
2025-12-05T02:10:13.1964898Z   }
2025-12-05T02:10:13.1965202Z } --print list available skills before starting; invoke <MYTEAM>-pr-review immediately; no questions per headless execution; etc... <REMOVED THE REMAINING LONG PROMPT CONTENT>
2025-12-05T02:10:17.2624620Z ##[debug]Agent environment resources - Disk: / Available 17847.61 MB out of 73325.30 MB, Memory: Used 1077.00 MB out of 6936.00 MB, CPU: Usage 0.50%
2025-12-05T02:10:22.2624823Z ##[debug]Agent environment resources - Disk: / Available 17847.61 MB out of 73325.30 MB, Memory: Used 1089.00 MB out of 6936.00 MB, CPU: Usage 0.50%
2025-12-05T02:10:27.2633846Z ##[debug]Agent environment resources - Disk: / Available 17847.61 MB out of 73325.30 MB, Memory: Used 1089.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:10:32.2634441Z ##[debug]Agent environment resources - Disk: / Available 17847.61 MB out of 73325.30 MB, Memory: Used 1089.00 MB out of 6936.00 MB, CPU: Usage 1.89%
2025-12-05T02:10:37.2638941Z ##[debug]Agent environment resources - Disk: / Available 17847.61 MB out of 73325.30 MB, Memory: Used 1089.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:10:42.2641194Z ##[debug]Agent environment resources - Disk: / Available 17847.61 MB out of 73325.30 MB, Memory: Used 1065.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:10:47.2641508Z ##[debug]Agent environment resources - Disk: / Available 17847.60 MB out of 73325.30 MB, Memory: Used 1065.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:10:52.2648676Z ##[debug]Agent environment resources - Disk: / Available 17847.60 MB out of 73325.30 MB, Memory: Used 1065.00 MB out of 6936.00 MB, CPU: Usage 0.00%
2025-12-05T02:10:57.2654841Z ##[debug]Agent environment resources - Disk: / Available 17847.60 MB out of 73325.30 MB, Memory: Used 1066.00 MB out of 6936.00 MB, CPU: Usage 4.98%
2025-12-05T02:11:02.2650354Z ##[debug]Agent environment resources - Disk: / Available 17849.58 MB out of 73325.30 MB, Memory: Used 1066.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:11:07.2652625Z ##[debug]Agent environment resources - Disk: / Available 17849.58 MB out of 73325.30 MB, Memory: Used 1066.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:11:12.2653212Z ##[debug]Agent environment resources - Disk: / Available 17849.58 MB out of 73325.30 MB, Memory: Used 1066.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:11:17.2651398Z ##[debug]Agent environment resources - Disk: / Available 17849.58 MB out of 73325.30 MB, Memory: Used 1066.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:11:22.2653451Z ##[debug]Agent environment resources - Disk: / Available 17849.58 MB out of 73325.30 MB, Memory: Used 1066.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:11:27.2640808Z ##[debug]Agent environment resources - Disk: / Available 17849.58 MB out of 73325.30 MB, Memory: Used 1070.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:11:32.2649294Z ##[debug]Agent environment resources - Disk: / Available 17849.58 MB out of 73325.30 MB, Memory: Used 1070.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:11:37.2651975Z ##[debug]Agent environment resources - Disk: / Available 17849.58 MB out of 73325.30 MB, Memory: Used 1070.00 MB out of 6936.00 MB, CPU: Usage 0.98%
2025-12-05T02:11:42.2650565Z ##[debug]Agent environment resources - Disk: / Available 17849.58 MB out of 73325.30 MB, Memory: Used 1070.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:11:47.2655135Z ##[debug]Agent environment resources - Disk: / Available 17849.58 MB out of 73325.30 MB, Memory: Used 1070.00 MB out of 6936.00 MB, CPU: Usage 0.91%
2025-12-05T02:11:52.2668841Z ##[debug]Agent environment resources - Disk: / Available 17849.58 MB out of 73325.30 MB, Memory: Used 1070.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:11:57.2680160Z ##[debug]Agent environment resources - Disk: / Available 17849.58 MB out of 73325.30 MB, Memory: Used 1071.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:12:02.2678681Z ##[debug]Agent environment resources - Disk: / Available 17849.58 MB out of 73325.30 MB, Memory: Used 1071.00 MB out of 6936.00 MB, CPU: Usage 0.98%
2025-12-05T02:12:07.2677483Z ##[debug]Agent environment resources - Disk: / Available 17849.58 MB out of 73325.30 MB, Memory: Used 1071.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:12:12.2679414Z ##[debug]Agent environment resources - Disk: / Available 17849.58 MB out of 73325.30 MB, Memory: Used 1071.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:12:17.2683505Z ##[debug]Agent environment resources - Disk: / Available 17849.58 MB out of 73325.30 MB, Memory: Used 1071.00 MB out of 6936.00 MB, CPU: Usage 1.73%
2025-12-05T02:12:22.2689570Z ##[debug]Agent environment resources - Disk: / Available 17849.58 MB out of 73325.30 MB, Memory: Used 1071.00 MB out of 6936.00 MB, CPU: Usage 1.73%
2025-12-05T02:12:27.2693439Z ##[debug]Agent environment resources - Disk: / Available 17849.58 MB out of 73325.30 MB, Memory: Used 1071.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:12:32.2696055Z ##[debug]Agent environment resources - Disk: / Available 17849.58 MB out of 73325.30 MB, Memory: Used 1071.00 MB out of 6936.00 MB, CPU: Usage 0.98%
2025-12-05T02:12:37.8158814Z ##[debug]Agent environment resources - Disk: / Available 17849.58 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:12:42.8165319Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.00%
2025-12-05T02:12:47.8161480Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.98%
2025-12-05T02:12:52.8163793Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.98%
2025-12-05T02:12:57.8168326Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1076.00 MB out of 6936.00 MB, CPU: Usage 0.00%
2025-12-05T02:13:02.8180155Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.50%
2025-12-05T02:13:07.8248745Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.00%
2025-12-05T02:13:12.8254522Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 1.39%
2025-12-05T02:13:17.8240407Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 2.48%
2025-12-05T02:13:22.8253312Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 2.48%
2025-12-05T02:13:27.8255784Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 1.00%
2025-12-05T02:13:32.8255406Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:13:37.8259578Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.98%
2025-12-05T02:13:42.8261962Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:13:47.8259125Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:13:52.8260116Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 1.45%
2025-12-05T02:13:57.8259085Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:14:02.8262214Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.08%
2025-12-05T02:14:08.9298582Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.91%
2025-12-05T02:14:15.0346800Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.98%
2025-12-05T02:14:21.4518353Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:14:27.5531899Z ##[debug]Agent environment resources - Disk: / Available 17849.57 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.50%
2025-12-05T02:14:33.6589312Z ##[debug]Agent environment resources - Disk: / Available 17849.56 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:14:39.7620968Z ##[debug]Agent environment resources - Disk: / Available 17849.56 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:14:46.8533051Z ##[debug]Agent environment resources - Disk: / Available 17849.56 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:14:51.8541579Z ##[debug]Agent environment resources - Disk: / Available 17849.55 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:14:56.8549748Z ##[debug]Agent environment resources - Disk: / Available 17849.55 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:15:01.8552318Z ##[debug]Agent environment resources - Disk: / Available 17849.55 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 3.45%
2025-12-05T02:15:06.8555086Z ##[debug]Agent environment resources - Disk: / Available 17849.55 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:15:11.8554341Z ##[debug]Agent environment resources - Disk: / Available 17849.55 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:15:16.8550604Z ##[debug]Agent environment resources - Disk: / Available 17849.55 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:15:21.8552694Z ##[debug]Agent environment resources - Disk: / Available 17849.55 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 2.40%
2025-12-05T02:15:26.8551275Z ##[debug]Agent environment resources - Disk: / Available 17849.55 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:15:31.8552225Z ##[debug]Agent environment resources - Disk: / Available 17849.55 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.00%
2025-12-05T02:15:36.8562725Z ##[debug]Agent environment resources - Disk: / Available 17849.55 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:15:41.8572426Z ##[debug]Agent environment resources - Disk: / Available 17849.55 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:15:46.8572292Z ##[debug]Agent environment resources - Disk: / Available 17849.55 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.59%
2025-12-05T02:15:51.8567719Z ##[debug]Agent environment resources - Disk: / Available 17849.55 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.50%
2025-12-05T02:15:56.8568677Z ##[debug]Agent environment resources - Disk: / Available 17849.55 MB out of 73325.30 MB, Memory: Used 1075.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:16:01.8568106Z ##[debug]Agent environment resources - Disk: / Available 17849.55 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 1.43%
2025-12-05T02:16:06.8573634Z ##[debug]Agent environment resources - Disk: / Available 17849.55 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 1.43%
2025-12-05T02:16:12.3778407Z ##[debug]Agent environment resources - Disk: / Available 17849.55 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:16:17.3782272Z ##[debug]Agent environment resources - Disk: / Available 17849.55 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:16:22.3782854Z ##[debug]Agent environment resources - Disk: / Available 17849.55 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:16:27.3786069Z ##[debug]Agent environment resources - Disk: / Available 17849.54 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 0.50%
2025-12-05T02:16:32.3779917Z ##[debug]Agent environment resources - Disk: / Available 17849.54 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:16:37.3784500Z ##[debug]Agent environment resources - Disk: / Available 17849.54 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:16:42.3787168Z ##[debug]Agent environment resources - Disk: / Available 17849.54 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:16:47.3795096Z ##[debug]Agent environment resources - Disk: / Available 17849.54 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:16:52.3796343Z ##[debug]Agent environment resources - Disk: / Available 17849.54 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:16:57.3799225Z ##[debug]Agent environment resources - Disk: / Available 17849.54 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:17:02.3806359Z ##[debug]Agent environment resources - Disk: / Available 17849.54 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 1.93%
2025-12-05T02:17:07.3801220Z ##[debug]Agent environment resources - Disk: / Available 17849.54 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 0.00%
2025-12-05T02:17:12.3941911Z ##[debug]Agent environment resources - Disk: / Available 17849.54 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 0.00%
2025-12-05T02:17:17.3949237Z ##[debug]Agent environment resources - Disk: / Available 17849.54 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 0.95%
2025-12-05T02:17:22.3954132Z ##[debug]Agent environment resources - Disk: / Available 17849.54 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 0.00%
2025-12-05T02:17:27.3962909Z ##[debug]Agent environment resources - Disk: / Available 17849.54 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 0.00%
2025-12-05T02:17:32.3989234Z ##[debug]Agent environment resources - Disk: / Available 17849.54 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 0.98%
2025-12-05T02:17:37.3991035Z ##[debug]Agent environment resources - Disk: / Available 17849.54 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:17:42.4031280Z ##[debug]Agent environment resources - Disk: / Available 17849.54 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:17:47.4026892Z ##[debug]Agent environment resources - Disk: / Available 17849.54 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 1.00%
2025-12-05T02:17:52.4033724Z ##[debug]Agent environment resources - Disk: / Available 17849.54 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 1.00%
2025-12-05T02:17:57.4049781Z ##[debug]Agent environment resources - Disk: / Available 17849.54 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 0.50%
2025-12-05T02:18:02.4047858Z ##[debug]Agent environment resources - Disk: / Available 17849.53 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 1.43%
2025-12-05T02:18:07.4054997Z ##[debug]Agent environment resources - Disk: / Available 17849.53 MB out of 73325.30 MB, Memory: Used 1079.00 MB out of 6936.00 MB, CPU: Usage 0.48%
2025-12-05T02:18:07.4501872Z ##[debug]Re-evaluate condition on job cancellation for step: 'invoke-claude---exec'.
2025-12-05T02:18:07.4506163Z ##[error]The Operation will be canceled. The next steps may not contain expected logs.
2025-12-05T02:18:07.4620154Z ##[debug][killChildProcess] Signal SIGINT received
2025-12-05T02:18:14.9643031Z ##[debug][killChildProcess] Signal SIGTERM received
2025-12-05T02:18:15.5825307Z [log_f49643] sending request {
2025-12-05T02:18:15.5853171Z   method: 'post',
2025-12-05T02:18:15.5853682Z   url: 'https://<AZURE_FOUNDRY_RESOURCE>.services.ai.azure.com/anthropic/v1/messages?beta=true',
2025-12-05T02:18:15.5854201Z   options: {
2025-12-05T02:18:15.5854626Z     method: 'post',
2025-12-05T02:18:15.5854909Z     path: '/v1/messages?beta=true',
2025-12-05T02:18:15.5855474Z     body: {
2025-12-05T02:18:15.5855892Z       model: 'claude-haiku-4-5',
2025-12-05T02:18:15.5856162Z       messages: [Array],
2025-12-05T02:18:15.5856412Z       system: [Array],
2025-12-05T02:18:15.5856738Z       tools: [],
2025-12-05T02:18:15.5857288Z       tool_choice: undefined,
2025-12-05T02:18:15.5857930Z       metadata: [Object],
2025-12-05T02:18:15.5858305Z       max_tokens: 32000,
2025-12-05T02:18:15.5858659Z       thinking: undefined,
2025-12-05T02:18:15.5858985Z       stream: true
2025-12-05T02:18:15.5859309Z     },
2025-12-05T02:18:15.5859649Z     timeout: 600000,
2025-12-05T02:18:15.5859997Z     signal: AbortSignal { aborted: false },
2025-12-05T02:18:15.5860355Z     stream: true
2025-12-05T02:18:15.5860680Z   },
2025-12-05T02:18:15.5861010Z   headers: {
2025-12-05T02:18:15.5861369Z     accept: 'application/json',
2025-12-05T02:18:15.5861763Z     'anthropic-beta': 'interleaved-thinking-2025-05-14,web-search-2025-03-05',
2025-12-05T02:18:15.5862341Z     'anthropic-dangerous-direct-browser-access': 'true',
2025-12-05T02:18:15.5862708Z     'anthropic-version': '2023-06-01',
2025-12-05T02:18:15.5863076Z     'content-type': 'application/json',
2025-12-05T02:18:15.5863449Z     'user-agent': 'claude-cli/2.0.59 (external, sdk-cli)',
2025-12-05T02:18:15.5863805Z     'x-api-key': '***',
2025-12-05T02:18:15.5864321Z     'x-app': 'cli',
2025-12-05T02:18:15.5864835Z     'x-stainless-arch': 'x64',
2025-12-05T02:18:15.5865144Z     'x-stainless-helper-method': 'stream',
2025-12-05T02:18:15.5899000Z     'x-stainless-lang': 'js',
2025-12-05T02:18:15.5907974Z     'x-stainless-os': 'Linux',
2025-12-05T02:18:15.5909918Z     'x-stainless-package-version': '0.70.0',
2025-12-05T02:18:15.5910197Z     'x-stainless-retry-count': '0',
2025-12-05T02:18:15.5910473Z     'x-stainless-runtime': 'node',
2025-12-05T02:18:15.5910914Z     'x-stainless-runtime-version': 'v22.21.1',
2025-12-05T02:18:15.5911199Z     'x-stainless-timeout': '600'
2025-12-05T02:18:15.5911434Z   }
2025-12-05T02:18:15.5911662Z }
2025-12-05T02:18:15.5995193Z [log_898371] sending request {
2025-12-05T02:18:15.5995837Z   method: 'post',
2025-12-05T02:18:15.5997013Z   url: 'https://<AZURE_FOUNDRY_RESOURCE>.services.ai.azure.com/anthropic/v1/messages?beta=true',
2025-12-05T02:18:15.5997316Z   options: {
2025-12-05T02:18:15.5998087Z     method: 'post',
2025-12-05T02:18:15.5998501Z     path: '/v1/messages?beta=true',
2025-12-05T02:18:15.5998755Z     body: {
2025-12-05T02:18:15.5998989Z       model: 'claude-sonnet-4-5',
2025-12-05T02:18:15.5999250Z       messages: [Array],
2025-12-05T02:18:15.5999505Z       system: [Array],
2025-12-05T02:18:15.5999731Z       tools: [],
2025-12-05T02:18:15.6000684Z       tool_choice: undefined,
2025-12-05T02:18:15.6001019Z       metadata: [Object],
2025-12-05T02:18:15.6001321Z       max_tokens: 32000,
2025-12-05T02:18:15.6001566Z       thinking: undefined,
2025-12-05T02:18:15.6001828Z       stream: true
2025-12-05T02:18:15.6002049Z     },
2025-12-05T02:18:15.6002302Z     timeout: 600000,
2025-12-05T02:18:15.6002562Z     signal: AbortSignal { aborted: false },
2025-12-05T02:18:15.6002865Z     stream: true
2025-12-05T02:18:15.6003092Z   },
2025-12-05T02:18:15.6003333Z   headers: {
2025-12-05T02:18:15.6003575Z     accept: 'application/json',
2025-12-05T02:18:15.6003904Z     'anthropic-beta': 'claude-code-20250219,interleaved-thinking-2025-05-14,web-search-2025-03-05',
2025-12-05T02:18:15.6004259Z     'anthropic-dangerous-direct-browser-access': 'true',
2025-12-05T02:18:15.6004540Z     'anthropic-version': '2023-06-01',
2025-12-05T02:18:15.6004830Z     'content-type': 'application/json',
2025-12-05T02:18:15.6005121Z     'user-agent': 'claude-cli/2.0.59 (external, sdk-cli)',
2025-12-05T02:18:15.6005411Z     'x-api-key': '***',
2025-12-05T02:18:15.6005653Z     'x-app': 'cli',
2025-12-05T02:18:15.6005916Z     'x-stainless-arch': 'x64',
2025-12-05T02:18:15.6006181Z     'x-stainless-helper-method': 'stream',
2025-12-05T02:18:15.6006469Z     'x-stainless-lang': 'js',
2025-12-05T02:18:15.6006724Z     'x-stainless-os': 'Linux',
2025-12-05T02:18:15.6007253Z     'x-stainless-package-version': '0.70.0',
2025-12-05T02:18:15.6007680Z     'x-stainless-retry-count': '0',
2025-12-05T02:18:15.6007963Z     'x-stainless-runtime': 'node',
2025-12-05T02:18:15.6008252Z     'x-stainless-runtime-version': 'v22.21.1',
2025-12-05T02:18:15.6008652Z     'x-stainless-timeout': '600'
2025-12-05T02:18:15.6008905Z   }
2025-12-05T02:18:15.6009117Z }
2025-12-05T02:18:15.7572832Z [log_66c672] sending request {
2025-12-05T02:18:15.7573384Z   method: 'post',
2025-12-05T02:18:15.7573867Z   url: 'https://<AZURE_FOUNDRY_RESOURCE>.services.ai.azure.com/anthropic/v1/messages?beta=true',
2025-12-05T02:18:15.7574442Z   options: {
2025-12-05T02:18:15.7574685Z     method: 'post',
2025-12-05T02:18:15.7575032Z     path: '/v1/messages?beta=true',
2025-12-05T02:18:15.7575351Z     body: {
2025-12-05T02:18:15.7575617Z       model: 'claude-haiku-4-5',
2025-12-05T02:18:15.7575958Z       messages: [Array],
2025-12-05T02:18:15.7576272Z       system: [Array],
2025-12-05T02:18:15.7576599Z       tools: [],
2025-12-05T02:18:15.7576941Z       tool_choice: undefined,
2025-12-05T02:18:15.7577280Z       metadata: [Object],
2025-12-05T02:18:15.7578511Z       max_tokens: 32000,
2025-12-05T02:18:15.7578893Z       thinking: undefined,
2025-12-05T02:18:15.7580397Z       stream: true
2025-12-05T02:18:15.7580745Z     },
2025-12-05T02:18:15.7580993Z     timeout: 600000,
2025-12-05T02:18:15.7581255Z     signal: AbortSignal { aborted: false },
2025-12-05T02:18:15.7581530Z     stream: true
2025-12-05T02:18:15.7581759Z   },
2025-12-05T02:18:15.7582002Z   headers: {
2025-12-05T02:18:15.7582263Z     accept: 'application/json',
2025-12-05T02:18:15.7582559Z     'anthropic-beta': 'interleaved-thinking-2025-05-14,web-search-2025-03-05',
2025-12-05T02:18:15.7582890Z     'anthropic-dangerous-direct-browser-access': 'true',
2025-12-05T02:18:15.7583171Z     'anthropic-version': '2023-06-01',
2025-12-05T02:18:15.7583613Z     'content-type': 'application/json',
2025-12-05T02:18:15.7583889Z     'user-agent': 'claude-cli/2.0.59 (external, sdk-cli)',
2025-12-05T02:18:15.7584340Z     'x-api-key': '***',
2025-12-05T02:18:15.7584568Z     'x-app': 'cli',
2025-12-05T02:18:15.7584820Z     'x-stainless-arch': 'x64',
2025-12-05T02:18:15.7585066Z     'x-stainless-helper-method': 'stream',
2025-12-05T02:18:15.7585336Z     'x-stainless-lang': 'js',
2025-12-05T02:18:15.7585665Z     'x-stainless-os': 'Linux',
2025-12-05T02:18:15.7585910Z     'x-stainless-package-version': '0.70.0',
2025-12-05T02:18:15.7586177Z     'x-stainless-retry-count': '0',
2025-12-05T02:18:15.7586426Z     'x-stainless-runtime': 'node',
2025-12-05T02:18:15.7586695Z     'x-stainless-runtime-version': 'v22.21.1',
2025-12-05T02:18:15.7586942Z     'x-stainless-timeout': '600'
2025-12-05T02:18:15.7587174Z   }
2025-12-05T02:18:15.7587956Z }
2025-12-05T02:18:16.7384796Z [log_66c672] post https://<AZURE_FOUNDRY_RESOURCE>.services.ai.azure.com/anthropic/v1/messages?beta=true succeeded with status 200 in 984ms
2025-12-05T02:18:16.7395718Z [log_66c672] response start {
2025-12-05T02:18:16.7396088Z   url: 'https://<AZURE_FOUNDRY_RESOURCE>.services.ai.azure.com/anthropic/v1/messages?beta=true',
2025-12-05T02:18:16.7396381Z   status: 200,
2025-12-05T02:18:16.7396799Z   headers: {
2025-12-05T02:18:16.7397074Z     'apim-request-id': '<REQUEST_ID>',
2025-12-05T02:18:16.7397396Z     'azureai-processed-tier': 'default',
2025-12-05T02:18:16.7397863Z     'azureai-requested-tier': 'default',
2025-12-05T02:18:16.7398178Z     'azureml-served-by-cluster': '<CLUSTER_NAME>',
2025-12-05T02:18:16.7398480Z     'content-type': 'text/event-stream; charset=utf-8',
2025-12-05T02:18:16.7398812Z     date: 'Fri, 05 Dec 2025 02:18:16 GMT',
2025-12-05T02:18:16.7399105Z     'request-context': 'appId=',
2025-12-05T02:18:16.7399407Z     'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
2025-12-05T02:18:16.7399724Z     'transfer-encoding': 'chunked',
2025-12-05T02:18:16.7399993Z     'x-content-type-options': 'nosniff',
2025-12-05T02:18:16.7400274Z     'x-ms-region': 'East US 2',
2025-12-05T02:18:16.7400942Z     'x-ratelimit-limit-tokens': '-1',
2025-12-05T02:18:16.7401606Z     'x-ratelimit-remaining-tokens': '-1',
2025-12-05T02:18:16.7401871Z     'x-ratelimit-reset-tokens': '0'
2025-12-05T02:18:16.7402311Z   },
2025-12-05T02:18:16.7402694Z   durationMs: 984
2025-12-05T02:18:16.7402941Z }
2025-12-05T02:18:16.7403262Z response 200 https://<AZURE_FOUNDRY_RESOURCE>.services.ai.azure.com/anthropic/v1/messages?beta=true Headers {
2025-12-05T02:18:16.7403585Z   'transfer-encoding': 'chunked',
2025-12-05T02:18:16.7403884Z   'content-type': 'text/event-stream; charset=utf-8',
2025-12-05T02:18:16.7404171Z   'request-context': 'appId=',
2025-12-05T02:18:16.7404455Z   'azureai-requested-tier': 'default',
2025-12-05T02:18:16.7404725Z   'azureai-processed-tier': 'default',
2025-12-05T02:18:16.7405008Z   'x-ratelimit-remaining-tokens': '-1',
2025-12-05T02:18:16.7405435Z   'x-ratelimit-reset-tokens': '0',
2025-12-05T02:18:16.7405706Z   'x-ratelimit-limit-tokens': '-1',
2025-12-05T02:18:16.7406008Z   'azureml-served-by-cluster': '<CLUSTER_NAME>',
2025-12-05T02:18:16.7406295Z   'apim-request-id': '<REQUEST_ID>',
2025-12-05T02:18:16.7406624Z   'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
2025-12-05T02:18:16.7406918Z   'x-content-type-options': 'nosniff',
2025-12-05T02:18:16.7407183Z   'x-ms-region': 'East US 2',
2025-12-05T02:18:16.7407445Z   date: 'Fri, 05 Dec 2025 02:18:16 GMT'
2025-12-05T02:18:16.7411416Z } ReadableStream { locked: false, state: 'readable', supportsBYOB: true }
2025-12-05T02:18:16.7411819Z [log_66c672] response parsed {
2025-12-05T02:18:16.7412128Z   url: 'https://<AZURE_FOUNDRY_RESOURCE>.services.ai.azure.com/anthropic/v1/messages?beta=true',
2025-12-05T02:18:16.7412431Z   status: 200,
2025-12-05T02:18:16.7412661Z   body: lC {
2025-12-05T02:18:16.7412928Z     iterator: [AsyncGeneratorFunction: I],
2025-12-05T02:18:16.7413220Z     controller: AbortController { signal: AbortSignal { aborted: false } }
2025-12-05T02:18:16.7413506Z   },
2025-12-05T02:18:16.7413736Z   durationMs: 986
2025-12-05T02:18:16.7413973Z }
2025-12-05T02:18:16.9278933Z [log_f49643] post https://<AZURE_FOUNDRY_RESOURCE>.services.ai.azure.com/anthropic/v1/messages?beta=true succeeded with status 200 in 1355ms
2025-12-05T02:18:16.9282275Z [log_f49643] response start {
2025-12-05T02:18:16.9282632Z   url: 'https://<AZURE_FOUNDRY_RESOURCE>.services.ai.azure.com/anthropic/v1/messages?beta=true',
2025-12-05T02:18:16.9283102Z   status: 200,
2025-12-05T02:18:16.9283318Z   headers: {
2025-12-05T02:18:16.9283592Z     'apim-request-id': '<REQUEST_ID>',
2025-12-05T02:18:16.9283863Z     'azureai-processed-tier': 'default',
2025-12-05T02:18:16.9284138Z     'azureai-requested-tier': 'default',
2025-12-05T02:18:16.9284399Z     'azureml-served-by-cluster': '<CLUSTER_NAME>',
2025-12-05T02:18:16.9284689Z     'content-type': 'text/event-stream; charset=utf-8',
2025-12-05T02:18:16.9284976Z     date: 'Fri, 05 Dec 2025 02:18:16 GMT',
2025-12-05T02:18:16.9285269Z     'request-context': 'appId=',
2025-12-05T02:18:16.9285548Z     'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
2025-12-05T02:18:16.9285842Z     'transfer-encoding': 'chunked',
2025-12-05T02:18:16.9286102Z     'x-content-type-options': 'nosniff',
2025-12-05T02:18:16.9286355Z     'x-ms-region': 'East US 2',
2025-12-05T02:18:16.9286612Z     'x-ratelimit-limit-tokens': '-1',
2025-12-05T02:18:16.9286862Z     'x-ratelimit-remaining-tokens': '-1',
2025-12-05T02:18:16.9287128Z     'x-ratelimit-reset-tokens': '0'
2025-12-05T02:18:16.9287355Z   },
2025-12-05T02:18:16.9287751Z   durationMs: 1355
2025-12-05T02:18:16.9288142Z }
2025-12-05T02:18:16.9292697Z response 200 https://<AZURE_FOUNDRY_RESOURCE>.services.ai.azure.com/anthropic/v1/messages?beta=true Headers {
2025-12-05T02:18:16.9293392Z   'transfer-encoding': 'chunked',
2025-12-05T02:18:16.9294305Z   'content-type': 'text/event-stream; charset=utf-8',
2025-12-05T02:18:16.9294568Z   'request-context': 'appId=',
2025-12-05T02:18:16.9295421Z   'azureai-requested-tier': 'default',
2025-12-05T02:18:16.9295672Z   'azureai-processed-tier': 'default',
2025-12-05T02:18:16.9295937Z   'x-ratelimit-remaining-tokens': '-1',
2025-12-05T02:18:16.9296187Z   'x-ratelimit-reset-tokens': '0',
2025-12-05T02:18:16.9296611Z   'x-ratelimit-limit-tokens': '-1',
2025-12-05T02:18:16.9296872Z   'azureml-served-by-cluster': '<CLUSTER_NAME>',
2025-12-05T02:18:16.9297163Z   'apim-request-id': '<REQUEST_ID>',
2025-12-05T02:18:16.9297478Z   'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
2025-12-05T02:18:16.9302199Z   'x-content-type-options': 'nosniff',
2025-12-05T02:18:16.9302494Z   'x-ms-region': 'East US 2',
2025-12-05T02:18:16.9302772Z   date: 'Fri, 05 Dec 2025 02:18:16 GMT'
2025-12-05T02:18:16.9303314Z } ReadableStream { locked: false, state: 'readable', supportsBYOB: true }
2025-12-05T02:18:16.9303805Z [log_f49643] response parsed {
2025-12-05T02:18:16.9304111Z   url: 'https://<AZURE_FOUNDRY_RESOURCE>.services.ai.azure.com/anthropic/v1/messages?beta=true',
2025-12-05T02:18:16.9304410Z   status: 200,
2025-12-05T02:18:16.9304624Z   body: lC {
2025-12-05T02:18:16.9304871Z     iterator: [AsyncGeneratorFunction: I],
2025-12-05T02:18:16.9305144Z     controller: AbortController { signal: AbortSignal { aborted: false } }
2025-12-05T02:18:16.9305409Z   },
2025-12-05T02:18:16.9305627Z   durationMs: 1357
2025-12-05T02:18:16.9305850Z }
2025-12-05T02:18:17.4759768Z ##[error]The operation was canceled.
2025-12-05T02:18:17.4764930Z ##[debug]System.OperationCanceledException: The operation was canceled.
   at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at Microsoft.VisualStudio.Services.Agent.Util.ProcessInvoker.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, InputQueue`1 redirectStandardIn, Boolean inheritConsoleHandler, Boolean keepStandardInOpen, Boolean highPriorityProcess, Boolean continueAfterCancelProcessTreeKillAttempt, CancellationToken cancellationToken) in /mnt/vss/_work/1/s/src/Agent.Sdk/ProcessInvoker.cs:line 384
   at Microsoft.VisualStudio.Services.Agent.ProcessInvokerWrapper.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, InputQueue`1 redirectStandardIn, Boolean inheritConsoleHandler, Boolean keepStandardInOpen, Boolean highPriorityProcess, Boolean continueAfterCancelProcessTreeKillAttempt, CancellationToken cancellationToken) in /mnt/vss/_work/1/s/src/Microsoft.VisualStudio.Services.Agent/ProcessInvoker.cs:line 329
   at Microsoft.VisualStudio.Services.Agent.Worker.Handlers.DefaultStepHost.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, Boolean inheritConsoleHandler, Boolean continueAfterCancelProcessTreeKillAttempt, TimeSpan sigintTimeout, TimeSpan sigtermTimeout, Boolean useGracefulShutdown, CancellationToken cancellationToken) in /mnt/vss/_work/1/s/src/Agent.Worker/Handlers/StepHost.cs:line 85
   at Microsoft.VisualStudio.Services.Agent.Worker.Handlers.NodeHandler.RunAsync() in /mnt/vss/_work/1/s/src/Agent.Worker/Handlers/NodeHandler.cs:line 284
   at Microsoft.VisualStudio.Services.Agent.Worker.TaskRunner.RunAsyncInternal() in /mnt/vss/_work/1/s/src/Agent.Worker/TaskRunner.cs:line 472
   at Microsoft.VisualStudio.Services.Agent.Worker.TaskRunner.RunAsync() in /mnt/vss/_work/1/s/src/Agent.Worker/TaskRunner.cs:line 81
   at Microsoft.VisualStudio.Services.Agent.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken) in /mnt/vss/_work/1/s/src/Agent.Worker/StepsRunner.cs:line 369
2025-12-05T02:18:17.4768730Z ##[section]Finishing: invoke-claude---exec

sheldonhull avatar Dec 05 '25 18:12 sheldonhull

Did another pipeline to confirm no env issues in that config and got it to respond.

Still the timeout issue is worth bringing up as no graceful failure and output when it can't find the resource.

This can cause a lot of wasted time in debugging and ci sitting stuck.

sheldonhull avatar Dec 14 '25 01:12 sheldonhull