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

Aperta
#1,820 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
15/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp, react
Ambito
cloud, devops

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Nessun dato sulla lingua
Stelle
347
Fork
68
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Azure/static-web-apps

Tutte le issue di Azure/static-web-apps

Issue simili

Altre issue su Cloud

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.