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

オープン
#1,820 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
15/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp, react
領域
cloud, devops

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
言語のデータがありません
スター
347
フォーク
68
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Azure/static-web-apps のほかの issue

Azure/static-web-apps の issue をすべて見る

似ている issue

Cloud の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。