Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Azure Static Web Apps の自動ビルドがタイムアウトしやすくなった状況に対応...
Search
TonyTonyKun
April 19, 2026
Technology
890
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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 の精度向上に取り組んだ話/aidevday2026
thara0402
0
490
Azure Durable Functions で作った NL2SQL Agent の精度向上に取り組んだ話/jat08
thara0402
0
460
これでバッチリ!Azure マルチテナントアーキテクチャ設計のコツ/jat06
thara0402
0
810
Azure Load Testing を使って Azure Functions Flex Consumption の HTTP Trigger のパフォーマンスとコストを最適化してみよう/global-azure2025
thara0402
0
390
Prompty を使って生成 AI アプリケーション開発のプロンプトを管理する/jat03
thara0402
0
100
Azure OpenAI Service で意図せず PTU モデルをデプロイして高額請求されてしまった件/jat04
thara0402
0
120
「Durable Task Scheduler」をチョイ見せ!/jat05
thara0402
0
81
Azure App Service on Linux の Sidecar に Phi-3 を配置してインテリジェントなアプリケーションを作ってみよう/jazug-anniv14
thara0402
0
1.6k
サイクルガードサービス AlterLock の問い合わせ対応業務に Azure OpenAI Service を活用した話/jazug46
thara0402
0
1.1k
Other Decks in Technology
See All in Technology
フィンテック養成勉強会#68
finengine
0
180
[JAWS-UG彩の国埼玉#12]そろそろ準備する?re:Invent2026をやさしく解説 / reinvent2026-sainokuni
sh_fk2
1
370
CloudWatch Logsのコスト最適化:どこまでAIに任せてどこから人間が承認すべきか
yama3133
0
140
Metadata - Section 1: HTML Basics
mohab1
0
140
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
420
触りたくないデータに、どう触るか AI時代のRBACアクセスガバナンス
ivry_presentationmaterials
0
310
小規模OSSモデルは サイバーセキュリティ業務に どこまで使えるか
bbrbbq
0
120
サブエージェントと Claude Mods で作る独自 Advisor ツールの話
kenichiodo
2
180
M5Stackで作る BLEマウス GPSログの世界
tomokusaba
PRO
0
450
スキマバイトという雇用形態は存在しないので、雇用期間1日のアルバイト契約を事業者とワーカーが結ぶ手続きを支えるのがタイミーなんです
akitoshiga
1
230
PagerDuty Tech Hub-鳴らすけれど、人は動かない
ezaki
0
190
顧客価値を追いかけたら、プライシングにたどり着いた
sansantech
PRO
0
160
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Building Adaptive Systems
keathley
44
3.3k
Paper Plane
katiecoart
PRO
5
54k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
Navigating Weather and Climate Data
rabernat
0
560
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Designing Experiences People Love
moore
143
24k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
540
Designing for Timeless Needs
cassininazir
1
530
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
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.