Skip to content

fix panic on middleware construction failure#6517

Merged
rajeshkamal5050 merged 3 commits into
Azure:mainfrom
weikanglim:weilim/middleware-resolve
Jan 15, 2026
Merged

fix panic on middleware construction failure#6517
rajeshkamal5050 merged 3 commits into
Azure:mainfrom
weikanglim:weilim/middleware-resolve

dummy commit

53aebab
Select commit
Loading
Failed to load commit list.
Azure Pipelines / azure-dev - cli succeeded Jan 15, 2026 in 56m 15s

Build #20260114.10 had test failures

Details

Tests

  • Failed: 3 (0.02%)
  • Passed: 12,553 (99.54%)
  • Other: 55 (0.44%)
  • Total: 12,611

Annotations

Check failure on line 570 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure-dev - cli

Build log #L570

The signing feature is not available for your organization yet.

Check failure on line 572 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure-dev - cli

Build log #L572

The signing feature is not available for your organization yet.

Check failure on line 574 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure-dev - cli

Build log #L574

The signing feature is not available for your organization yet.

Check failure on line 575 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure-dev - cli

Build log #L575

Failure response from server.

Check failure on line 1 in TestUsage/azd/ai

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure-dev - cli

TestUsage/azd/ai

Failed
Raw output
=== RUN   TestUsage/azd/ai
    snapshot.go:72: snapshot not equal:
        --- Previous
        +++ Current
        @@ -1,3 +1,3 @@
         
        -Extension for the Foundry Agent Service. (Preview)
        +Extension for Foundry Fine Tuning. (Preview)
         
        
        --- FAIL: TestUsage/azd/ai (0.00s)

Check failure on line 1 in TestUsage/azd

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure-dev - cli

TestUsage/azd

Failed
Raw output
=== RUN   TestUsage/azd
    snapshot.go:72: snapshot not equal:
        --- Previous
        +++ Current
        @@ -40,3 +40,3 @@
           Enabled extensions commands 
        -    ai          	: Extension for the Foundry Agent Service. (Preview)
        +    ai          	: Extension for Foundry Fine Tuning. (Preview)
             coding-agent	: This extension configures GitHub Copilot Coding Agent access to Azure
        
    --- FAIL: TestUsage/azd (0.07s)

Check failure on line 1 in TestUsage

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure-dev - cli

TestUsage

Failed
Raw output
=== RUN   TestUsage
    usage_test.go:36: Adding local registry source 'local' from /Users/runner/work/1/s/cli/azd/extensions/registry.json
    cli.go:255: 130ms [stdout] 
    cli.go:255: 136ms [stdout] Add extension source (azd extension source add)
    cli.go:255: 136ms [stdout] 
    cli.go:255: 145ms [stdout]   (✓) Done: Validating extension source
    cli.go:255: 146ms [stdout] Saving extension source
    cli.go:255: 148ms [stdout]   (✓) Done: Saving extension source
    cli.go:255: 148ms [stdout] 
    cli.go:255: 150ms [stdout] SUCCESS: Added azd extension source local
    cli.go:255: 158ms [stdout] Run `azd extension list` to see the available set of azd extensions.
    cli.go:255: 145ms [stdout] [
    cli.go:255: 146ms [stdout]   {
    cli.go:255: 147ms [stdout]     "id": "azure.ai.agents",
    cli.go:255: 149ms [stdout]     "name": "Foundry agents (Preview)",
    cli.go:255: 151ms [stdout]     "namespace": "ai.agent",
    cli.go:255: 155ms [stdout]     "version": "0.1.5-preview",
    cli.go:255: 158ms [stdout]     "installedVersion": "",
    cli.go:255: 159ms [stdout]     "source": "local"
    cli.go:255: 159ms [stdout]   },
    cli.go:255: 160ms [stdout]   {
    cli.go:255: 161ms [stdout]     "id": "azure.ai.finetune",
    cli.go:255: 165ms [stdout]     "name": "Foundry Fine Tuning (Preview)",
    cli.go:255: 168ms [stdout]     "namespace": "ai.finetuning",
    cli.go:255: 170ms [stdout]     "version": "0.0.8-preview",
    cli.go:255: 172ms [stdout]     "installedVersion": "",
    cli.go:255: 173ms [stdout]     "source": "local"
    cli.go:255: 173ms [stdout]   },
    cli.go:255: 174ms [stdout]   {
    cli.go:255: 178ms [stdout]     "id": "azure.coding-agent",
    cli.go:255: 180ms [stdout]     "name": "Coding agent configuration extension",
    cli.go:255: 181ms [stdout]     "namespace": "coding-agent",
    cli.go:255: 182ms [stdout]     "version": "0.5.2",
    cli.go:255: 186ms [stdout]     "installedVersion": "",
    cli.go:255: 189ms [stdout]     "source": "local"
    cli.go:255: 190ms [stdout]   },
    cli.go:255: 190ms [stdout]   {
    cli.go:255: 191ms [stdout]     "id": "microsoft.azd.concurx",
    cli.go:255: 192ms [stdout]     "name": "Concurx",
    cli.go:255: 193ms [stdout]     "namespace": "concurx",
    cli.go:255: 196ms [stdout]     "version": "0.0.1",
    cli.go:255: 197ms [stdout]     "installedVersion": "",
    cli.go:255: 198ms [stdout]     "source": "local"
    cli.go:255: 198ms [stdout]   },
    cli.go:255: 198ms [stdout]   {
    cli.go:255: 199ms [stdout]     "id": "microsoft.azd.demo",
    cli.go:255: 201ms [stdout]     "name": "Demo Extension",
    cli.go:255: 205ms [stdout]     "namespace": "demo",
    cli.go:255: 206ms [stdout]     "version": "0.4.0",
    cli.go:255: 207ms [stdout]     "installedVersion": "",
    cli.go:255: 209ms [stdout]     "source": "local"
    cli.go:255: 209ms [stdout]   },
    cli.go:255: 209ms [stdout]   {
    cli.go:255: 212ms [stdout]     "id": "microsoft.azd.extensions",
    cli.go:255: 214ms [stdout]     "name": "AZD Extensions Developer Kit",
    cli.go:255: 215ms [stdout]     "namespace": "x",
    cli.go:255: 216ms [stdout]     "version": "0.7.1",
    cli.go:255: 218ms [stdout]     "installedVersion": "",
    cli.go:255: 220ms [stdout]     "source": "local"
    cli.go:255: 220ms [stdout]   }
    cli.go:255: 220ms [stdout] ]
    usage_test.go:43: Installing extension azure.ai.agents@0.1.5-preview
    cli.go:255: 160ms [stdout] 
    cli.go:255: 171ms [stdout] Install an azd extension (azd extension install)
    cli.go:255: 182ms [stdout] Installs the specified extension onto the local machine.
    cli.go:255: 182ms [stdout] 
    cli.go:255: 184ms [stdout] Installing azure.ai.agents extension
    cli.go:255: 187ms [stdout] Installing azure.ai.agents extension
    cli.go:255: 197ms [stdout] Installing azure.ai.agents extension
    cli.go:255: 1.375s [stdout]   (✓) Done: Installing azure.ai.agents extension (0.1.5-preview)
    cli.go:255: 1.379s [stdout]       Usage: