Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

localstack-azure-client: a cold first functionapp deploy times out at 300 s, and the hint names --no-wait

未關閉 適合新手
#112 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
78/100
Issue 類型
文件
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
azure, typescript

研究方向

從 Issue 中提到的兩個檔案 output.ts 和 docs/AZURE.md 開始。檢查逾時提示如何說明 functionapp deploy 和 webapp deploy 支援的 async 旗標,接著檢視 Azure 部署指南。完成條件是:提示為兩個命令都建議使用 --async true,且文件說明首次程式碼部署會下載建置映像和擴充功能套件,可能耗時超過 300 秒。

由索引模型根據 Issue 內容生成。

描述

What happens

On a machine that has never deployed Function App code to the emulator, the first functionapp deploy makes the emulator:

  1. pull the Oryx build image mcr.microsoft.com/oryx/build:github-actions-debian-bookworm-20260415.1 (1.23 GB, amd64 only, so it runs emulated on arm64)
  2. cache the Functions extension bundle
  3. build the runtime image

Here that took about 38 minutes: 17 minutes for the pull, 16 for the extension bundle, and about 4 for the build. Without --async, the command hits the default LOCALSTACK_AZ_TIMEOUT_SECONDS of 300:

functionapp deploy --resource-group local-rg --name local-inventory-functionapp-test --src-path function/inventory_function.zip --type zip
❌ Command Timed Out

`az` did not finish within 300 s and was stopped; it may have changed the emulator already. For long operations raise LOCALSTACK_AZ_TIMEOUT_SECONDS, or use `--no-wait` where the command has it.

az functionapp deploy and az webapp deploy don't have --no-wait. Their flag is --async true. With the caches warm, the same deploy finishes in 1 minute 44 seconds.

Expected

  • The timeout hint (output.ts) should name --async true for functionapp deploy and webapp deploy.
  • docs/AZURE.md should mention that the first code deployment downloads the build image and the extension bundle once, and can take far longer than 300 s.

Context

  • MCP server 0.7.0 via npx
  • LocalStack Azure emulator 2026.11.0.dev501
  • OrbStack on Apple silicon
  • api-management-function-app sample from localstack-azure-samples
主要語言
TypeScript
星號
29
分支
14
平均合併
3 天 16 小時
30 天內合併 PR
18

環境準備

  • 提供 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

localstack/localstack-mcp-server 的其他 Issue

查看 localstack/localstack-mcp-server 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。