Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Azure Static Web Apps の自動ビルドがタイムアウトしやすくなった状況に対応...
Search
TonyTonyKun
April 19, 2026
Technology
520
0
Share
Azure Static Web Apps の自動ビルドがタイムアウトしやすくなった状況に対応した件/global-azure2026
Global Azure 2026 のセッション資料です。
https://jazug.connpass.com/event/386399/
TonyTonyKun
April 19, 2026
More Decks by TonyTonyKun
See All by TonyTonyKun
Azure Durable Functions で作った NL2SQL Agent の精度向上に取り組んだ話/jat08
thara0402
0
360
これでバッチリ!Azure マルチテナントアーキテクチャ設計のコツ/jat06
thara0402
0
700
Azure Load Testing を使って Azure Functions Flex Consumption の HTTP Trigger のパフォーマンスとコストを最適化してみよう/global-azure2025
thara0402
0
300
Prompty を使って生成 AI アプリケーション開発のプロンプトを管理する/jat03
thara0402
0
80
Azure OpenAI Service で意図せず PTU モデルをデプロイして高額請求されてしまった件/jat04
thara0402
0
90
「Durable Task Scheduler」をチョイ見せ!/jat05
thara0402
0
65
Azure App Service on Linux の Sidecar に Phi-3 を配置してインテリジェントなアプリケーションを作ってみよう/jazug-anniv14
thara0402
0
1.4k
サイクルガードサービス AlterLock の問い合わせ対応業務に Azure OpenAI Service を活用した話/jazug46
thara0402
0
1k
Microsoft Ignite 2023 現地参加レポート/ignite2023
thara0402
0
340
Other Decks in Technology
See All in Technology
[Oracle TechNight#99] 生成AI時代のAI/ML入門 ~ AIとオラクルデータベースの関係 (前半)
oracle4engineer
PRO
2
240
サービスの信頼性を高めるため、形骸化した「プロダクションミーティング」を立て直すまでの取り組み
stefafafan
1
250
試作とデモンストレーション / Prototyping and Demonstrations
ks91
PRO
0
200
Oracle Cloud Infrastructure:2026年4月度サービス・アップデート
oracle4engineer
PRO
0
380
The 7 pitfalls of AI
ufried
0
200
Sociotechnical Architecture Reviews: Understanding Teams, not just Artefacts
ewolff
1
150
ボトムアップ限界を越える - 20チームを束る "Drive Map" / Beyond Bottom-Up: A 'Drive Map' for 20 Teams
kaonavi
0
160
Building a Study Buddy AI Agent from Scratch: From Passive Chatbots to Autonomous Systems
itchimonji
0
140
アプリブロック機能のつくりかたと、AIとHTMLの不合理な相性の良さについて
kumamotone
1
190
Oracle Cloud Infrastructure presents managed, serverless MCP Servers for Oracle AI Database
thatjeffsmith
0
170
2026-05-14 要件定義からソース管理まで!IBM Bob基礎ハンズオン
yutanonaka
0
110
新卒エンジニア研修、ハンズオンの設計における課題と実践知/ #tachikawaany
nishiuma
2
140
Featured
See All Featured
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.9k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
A designer walks into a library…
pauljervisheath
211
24k
Mind Mapping
helmedeiros
PRO
1
180
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
190
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
180
[SF Ruby Conf 2025] Rails X
palkan
2
1k
Scaling GitHub
holman
464
140k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
190
Joys of Absence: A Defence of Solitary Play
codingconduct
1
360
The Cult of Friendly URLs
andyhume
79
6.9k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Transcript
Azure Static Web Apps の自動ビルドが タイムアウトしやすくなった状況に対応した件 2026.4.18 Global Azure 2026
自己紹介 名前 原 敏之 個人 X (Twitter) : @TonyTonyKun ROMANCE
DAWN for the new world • https://gooner.hateblo.jp/ Microsoft MVP for Microsoft Azure 2017 仕事 株式会社ネクストスケープ Copyright© 2026, JAZUG All Rights Reserved. 2
背景 弊社では、事業部ごとの技術ブログを集約する Hub のようなサイトを Azure Static Web Apps + Next.js
で構築しています。 https://tech-blog-hub.nextscape.net/ 3 Copyright© 2026, JAZUG All Rights Reserved. Tech Blog Hub の仕組み • ビルド時に事業部ごとの技術ブログの RSS フィードを取得する • 取得結果を静的コンテンツとしてデプロイ • GitHub Actions の Schedule トリガーで 毎日デプロイ
現象 最近、この GitHub Actions がタイムアウトで失敗する頻度が増え てきました。以前は、数か月に1回くらいの割合でした。 4 Copyright© 2026, JAZUG
All Rights Reserved.
原因 エラーログを見ると、RSS フィードを取得する際にタイムアウト になっていました。 5 Copyright© 2026, JAZUG All Rights
Reserved.
原因 SWA の自動ビルドのタイムアウトは、既定で15分に制限されて います。 試しに build_timeout_in_minutes: 30 を設定して 30分に延長して もタイムアウトになり、対処療法にすらなりませんでした。
6 Copyright© 2026, JAZUG All Rights Reserved. そもそも RSS フィードの取得に 15分以上もかかりません。 原因は、ビルドを実行している環境側にあり、SWA 側のビルドで外部サイトに依存する 処理を実行していることにありそうだと考えました。
対応方法 本来は RSS フィードの取得をビルドと分けることが望ましいです。 今回は、ビルド処理を SWA 側の自動ビルドから GitHub Actions 側に移すことにしました。
7 Copyright© 2026, JAZUG All Rights Reserved.
対応方法 8 Copyright© 2026, JAZUG All Rights Reserved. GitHub Actions
側で actions/setup-node を使って Node を固定し、yarn install と yarn build を自前で 実行させる。 SWA deploy アクションでは skip_app_build: true に設定して、生成済み out だけをアップロードする。
対応結果 毎日元気にデプロイできるようになりました!(1分半くらい) 9 Copyright© 2026, JAZUG All Rights Reserved.
まとめ Azure Static Web Apps の自動ビルドがタイムアウトしやすく なった状況に対して、GitHub Actions 側で RSS
フィード取得 とビルドを行い、Azure Static Web Apps 側では成果物だけを アップロードするようにしました。 今回の件で、Azure Static Web Apps 側の自動ビルドに余計な 処理をさせ過ぎてはいけないという学びがありました。 参考:Pull Request<https://github.com/nextscape/team-blog-hub/pull/21> 10 Copyright© 2026, JAZUG All Rights Reserved.