Regression in StaticSitesClient 20260720.247.2: Next.js hybrid deployments fail with "Failed to deploy the Azure Functions" (worked on 20260714.240.1)

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
azure, github-actions, next.js, node.js
領域
backend, cloud, devops

調査の方向性

Azure/static-web-apps-deploy@v1 から開始し、クライアントバージョン 20260714.240.1 と 20260720.247.2 のデプロイログを、利用可能な deployment IDs を含めて比較します。Next.js の再パッケージ化、Azure Functions のプロビジョニング、staticwebapp.config.json のパスを確認します。完了の条件は、リグレッションを特定し、クライアントバージョンの固定がサポートされているかどうかを文書化することです。

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

説明

Summary

Since the StaticSitesClient rolled from 20260714.240.1 to 20260720.247.2 (~2026-07-21 → 2026-07-27 in our deployments), every deployment of our Next.js hybrid app fails with:

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

The failure is server-side, after a successful artifact upload ("Finished Upload. Polling on deployment." → Failed at ~33s), on two independent Static Web Apps resources (staging + production, separate subscriptions). The identical application code deployed successfully on 2026-07-21 with client 20260714.240.1.

Evidence it is not application-side

We reproduced the failure 5 times across every variable we control:

Attempt App state Result
2026-07-21 Next 16.2.6 ✅ success (client 20260714.240.1)
2026-07-27 #1 Next 16.2.12 ❌ (client 20260720.247.2)
2026-07-27 #2 Next 16.2.12, sharp/@img excluded via outputFileTracingExcludes (rules out bundle size) ❌
2026-07-27 #3 Reverted to Next 16.2.6 — near-identical to the last green deploy ❌
2026-07-27 #4 Next 16.2.6 + staticwebapp.config.json platform.apiRuntime: node:20 ❌

The only delta between the last success and the failures is the deployment client version printed in the action logs.

Environment

  • GitHub Actions, Azure/static-web-apps-deploy@v1, prebuilt app (skip_app_build: true), Next.js hybrid (App Router, ISR + server rendering), output .next
  • Node warning in logs: "Defaulting to version: 22" (identical in the last successful run)
  • Log excerpt (identical shape in all failures): Detected the following framework: Next.js → Repackaged Next.js app to deploy on the backend → Zipping Api Artifacts → upload OK → poll → Failed to deploy the Azure Functions

Ask

  1. Was there a change in the Next.js repackaging / functions provisioning path in 20260720.247.2?
  2. Is there a supported way to pin the deployment client version in the GitHub Action as a mitigation?

Deployment IDs available on request (e.g. 32541b25-d739-419a-8fcc-62ddaadeb7a3, 2026-07-27). Happy to provide full logs privately.

主要言語
言語のデータがありません
スター
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

Backend & API Design の issue をもっと見る

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

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