.NET isolated 10.0: same Static Web App accepts one package and rejects later packages at 15s with no inner error

Đang mở
#1,820 5 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
15/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp, react
Lĩnh vực
cloud, devops

Hướng nghiên cứu

The failing deploys are listed by deployment ID in the issue, and the successful run 40399678514 is the baseline. The payload points to FunctionApi/host.json, FunctionApi/FunctionApi.csproj and the workflow file, which are unchanged between the good and bad commits, so the source change is in the Functions project code. The inner Functions host activation error can only be retrieved on the Static Web Apps service side, so this needs a maintainer or Azure support lookup. Done means the host exception for one of the failing deployment IDs is identified and reported.

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

Mô tả

Describe the bug

A Static Web App with managed .NET isolated Functions accepts one package and rejects later packages of the same app. Oryx builds the API, functions.metadata is found, and the upload finishes. The deployment poll then fails in about 15 seconds. The only message in the GitHub Actions log is:

Status: Failed. Time: 15.3708987(s)
Deployment Failure Reason: Failed to deploy the Azure Functions.

The closing line that points at https://github.com/azure/static-web-apps/issues/ is the deploy action's standard footer. The log contains no inner exception.

This is the same app, the same workflow, and the same runtime as a deploy that succeeded on 26 October 2026. A failed deploy leaves the previous package in place, and that October 26 package is still the live site, so the managed Functions host for this resource is up. Please retrieve the inner activation error for the deployment IDs below. We cannot see it from GitHub or the Azure activity log.

To Reproduce

Public repository: https://github.com/D63H/SmartScoreboard

Workflow: https://github.com/D63H/SmartScoreboard/blob/master/.github/workflows/azure-static-web-apps-new.yml

staticwebapp.config.json: https://github.com/D63H/SmartScoreboard/blob/master/ReactApp/public/staticwebapp.config.json

The workflow uses Azure/static-web-apps-deploy@v1 on push to master, with app_location: ./ReactApp, api_location: ./FunctionApi, and output_location: build.

{
  "platform": {
    "apiRuntime": "dotnet-isolated:10.0"
  }
}

Between the successful commit 508569c4e5d6d94b704c00a35767c87e0b7cda31 and the latest failure 3bf0373e5b4b3bb6cb117fe458bf76931b2926a2, these files are identical: .github/workflows/azure-static-web-apps-new.yml, ReactApp/public/staticwebapp.config.json, FunctionApi/host.json, and FunctionApi/FunctionApi.csproj. The Functions project source did change. Each attempt still ends with the same generic host rejection.

Visible sequence on every failure:

  1. Oryx builds the React app and the Function API.
  2. Log line: Function Runtime Information. OS: windows, Functions Runtime: ~4, dotnetisolated version: 10.0
  3. Log line: Found functions.metadata file
  4. Upload completes: Finished Upload. Polling on deployment.
  5. One Status: InProgress poll, then Status: Failed at about 15 seconds.
Result GitHub Actions run Commit Deployment ID Poll
Succeeded https://github.com/D63H/SmartScoreboard/actions/runs/40399678514 508569c4e5d6d94b704c00a35767c87e0b7cda31 3e45b438-dd28-48f0-8fb7-2457fb26bc14 46.82s, 2026-10-26T20:57:10Z
Failed https://github.com/D63H/SmartScoreboard/actions/runs/41242254961 59adcc6da886cd469ebef03c95cea225644a5296 5d7f35fa-3974-4372-a8fd-3659e453ab94 15.51s, 2026-10-31T21:12:17Z
Failed https://github.com/D63H/SmartScoreboard/actions/runs/41243602219 ff8e69053b114dc6ec8f0bc61534e36c8bbeeb4c 79e38162-0d20-4d6d-bd73-86a20e1e9fe1 15.57s, 2026-10-31T21:29:18Z
Failed https://github.com/D63H/SmartScoreboard/actions/runs/41307859348 3bf0373e5b4b3bb6cb117fe458bf76931b2926a2 e06bbde8-298e-4f9a-b128-25e8353c1532 15.37s, 2026-11-01T12:46:47Z

Oryx version on the latest failure: 0.2.20260728.2.

Expected behavior

The deployment succeeds, as run 40399678514 did for this same app, or the failure reason includes the Functions host exception for that deployment ID.

Device info (if applicable):

  • SWA plan: Free
  • Region: East US 2
  • API runtime: managed dotnet-isolated:10.0 on Windows, Functions runtime ~4
  • Deploy client: GitHub Actions ubuntu-latest, Azure/static-web-apps-deploy@v1
  • No separate Function App. api_location is ./FunctionApi.

Additional context

This differs from the reports where an unchanged app stopped deploying entirely (#1761, #1749, #1751). Here the 26 October package deployed and is still served. Three later packages of the same app are rejected at the same point in the poll, with no diagnostic in the Actions log. The deployment IDs above are the ones that need a lookup on the Static Web Apps side.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
347
Fork
68
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 Azure/static-web-apps

Tất cả issue của Azure/static-web-apps

Issue tương tự

Thêm issue về Cloud

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.