Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở Phù hợp với người mới
#112 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
azure, typescript
Lĩnh vực
documentation, tooling

Hướng nghiên cứu

Bắt đầu với output.ts và docs/AZURE.md, hai tệp được nêu trong issue. Kiểm tra cách gợi ý timeout mô tả các cờ async được hỗ trợ cho functionapp deploy và webapp deploy, sau đó xem lại hướng dẫn triển khai Azure. Hoàn tất khi gợi ý đề xuất --async true cho cả hai lệnh và tài liệu giải thích rằng lần triển khai mã đầu tiên tải xuống build image và extension bundle, đồng thời có thể mất hơn 300 giây.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
TypeScript
Star
29
Fork
14
Merge trung bình
3 ngày 16 giờ
Pull request đã merge (30 ngày)
18

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của localstack/localstack-mcp-server

Tất cả issue của localstack/localstack-mcp-server

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.