Skip to content

Commit 66d0961

Browse files
authored
Merge pull request #2899 from appwrite/changelog/build-timeout-45m
Changelog/build timeout 45m
2 parents 33e6d7e + ee06e12 commit 66d0961

8 files changed

Lines changed: 57 additions & 2 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
layout: changelog
3+
title: "Build timeouts increased to 45 minutes (Pro and above)"
4+
date: 2026-04-25
5+
---
6+
7+
We have raised the **maximum build duration** for [Sites](/docs/products/sites) and [Functions](/docs/products/functions) on Appwrite Cloud from **15 minutes to 45 minutes** for organizations on the **Pro plan and above**. Free plan organizations keep the **15-minute** build limit, so the longer window is an explicit benefit of upgrading when your workloads need it.
8+
9+
Build pipelines are rarely constant-time: cold dependency caches, larger lockfiles, native compilation, first-time container layer pulls, and multi-stage bundling can push wall-clock time well beyond a minimal compile on a warm workstation. A 15-minute cap often fails builds that are otherwise healthy—especially after cache invalidation, dependency upgrades, or when parity with a longer-running CI job matters. For Pro and above, extending the ceiling to **45 minutes** reduces those false negatives, improves predictability when you are tuning [compute for build versus runtime](/docs/advanced/platform/compute), and removes pressure to split deployments or strip build steps solely to stay under a short timeout.
10+
11+
On eligible plans, you get fewer interrupted builds on legitimate workloads, less time spent re-running jobs after transient slowdowns, and closer alignment between what you can run locally or in your own CI and what Appwrite Cloud will accept during the build phase. Teams shipping larger frontends, monorepo-style repositories, or functions with heavier packaging steps should see the clearest gain. Compare plans and limits on the [pricing page](/pricing).
12+
13+
{% arrow_link href="/docs/advanced/platform/compute" %}
14+
Learn about build and runtime compute
15+
{% /arrow_link %}
16+
17+
{% arrow_link href="/pricing" %}
18+
View plans and pricing
19+
{% /arrow_link %}

src/routes/docs/advanced/platform/compute/+page.markdoc

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: article
33
title: Compute
4-
description: Learn about CPU and memory options for Appwrite Functions and Sites on Cloud, including separate build and runtime specifications.
4+
description: Learn about CPU and memory options for Appwrite Functions and Sites on Cloud, including separate build and runtime specifications and plan build timeouts.
55
---
66

77
On Appwrite Cloud, paid plans let you choose how much **CPU** and **memory** apply to **build** work and to **runtime** work. [Functions](/docs/products/functions) and [Sites](/docs/products/sites) each expose two settings: a **build specification** (install, compile, bundle, package) and a **runtime specification** (executions for functions; serving traffic and SSR for sites). You can pick different tiers for each phase so heavy builds do not force you to oversize steady execution, and vice versa.
@@ -25,6 +25,20 @@ Appwrite Cloud offers the following specification tiers. The same tiers are avai
2525
On Appwrite Cloud, **Pro** plan organizations can change build and runtime specifications from the default 512MB and 0.5 CPU. The Free plan uses the default. For custom compute options, contact our [sales team](https://appwrite.io/contact-us/enterprise).
2626
{% /info %}
2727

28+
# Build timeouts {% #build-timeouts %}
29+
30+
On **Appwrite Cloud**, each function and site **deployment build** (install, compile, bundle, and package) must finish within a **maximum build duration** that depends on your organization plan:
31+
32+
| Plan | Maximum build duration |
33+
| --- | --- |
34+
| Free | 15 minutes |
35+
| Pro / Scale | 45 minutes |
36+
| Enterprise | Custom |
37+
38+
These limits apply to the **build** phase only. [Function execution timeout](/docs/products/functions/functions#timeout) and [site request timeout](/docs/products/sites/develop#timeouts) are separate settings. Compare plans on the [pricing page](/pricing).
39+
40+
On **self-hosted** instances, the global ceiling for configurable build timeouts is [`_APP_COMPUTE_BUILD_TIMEOUT`](/docs/advanced/self-hosting/configuration/environment-variables) (default 900 seconds). Individual function and site settings cannot exceed that server-wide maximum.
41+
2842
Configure specifications in the Appwrite Console under each function or site **Settings** - **Resource limits**. See also the [Functions](/docs/products/functions/functions#resource-limits) and [Sites](/docs/products/sites/develop#resource-limits) configuration guides.
2943

3044
# GB-Hours {% #gb-hours %}

src/routes/docs/products/functions/deployments/+page.markdoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,6 @@ Redeployment behavior varies depending on how the initial deployment was created
5757
Users subscribed to the Appwrite Pro plan or above receive certain special benefits:
5858

5959
- [Express builds](/changelog/entry/2024-08-10) for quicker deployments, resulting in reduced wait times and smoother workflows
60+
- Longer [build timeouts](/docs/advanced/platform/compute#build-timeouts) (45 minutes vs 15 minutes on Free; Enterprise is custom)
6061
- Customizable [build and runtime specifications](/docs/advanced/platform/compute) for CPU and memory on each function
6162
{% /info %}

src/routes/docs/products/functions/functions/+page.markdoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ Under **Settings** - **Resource limits**, you can set **build** and **runtime**
109109

110110
On Appwrite Cloud, customizing specifications requires the **Pro** plan. See [Compute](/docs/advanced/platform/compute) for tiers, GB-hours, and pricing.
111111

112+
## Build timeout {% #build-timeout %}
113+
114+
On Appwrite Cloud, the **build** phase of each deployment must complete within your plan’s **maximum build duration** (for example, 15 minutes on Free and 45 minutes on Pro and Scale). See [Build timeouts](/docs/advanced/platform/compute#build-timeouts) and the [pricing page](/pricing).
115+
112116
## Git integration {% #git-integration %}
113117
You can update the entrypoint file and build settings of your function by navigating to your function > **Settings** > **Configuration**.
114118

src/routes/docs/products/sites/deployments/+page.markdoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,6 @@ Redeployment behavior varies depending on how the initial deployment was created
8181
Users subscribed to the Appwrite Pro plan or above receive certain special benefits:
8282

8383
- [Express builds](/changelog/entry/2024-08-10) for quicker deployments, resulting in reduced wait times and smoother workflows
84+
- Longer [build timeouts](/docs/advanced/platform/compute#build-timeouts) (45 minutes vs 15 minutes on Free; Enterprise is custom)
8485
- Customizable [build and runtime specifications](/docs/advanced/platform/compute) for CPU and memory on each site
8586
{% /info %}

src/routes/docs/products/sites/develop/+page.markdoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Appwrite passes the following environment variables into every deployed site by
6363

6464
{% partial file="sites-env-vars.md" /%}
6565

66-
# Timeouts
66+
# Timeouts {% #timeouts %}
6767

6868
Each request made to a path on an Appwrite Site has a set time limit, after which the request will timeout. Here are the steps to configure those timeout period:
6969

@@ -86,6 +86,10 @@ Under **Settings** - **Resource limits**, you can set **build** and **runtime**
8686

8787
On Appwrite Cloud, customizing specifications requires the **Pro** plan. See [Compute](/docs/advanced/platform/compute) for tiers, GB-hours, and pricing.
8888

89+
## Build timeouts {% #build-timeouts %}
90+
91+
On Appwrite Cloud, the **build** phase of each deployment must complete within your plan’s **maximum build duration** (for example, 15 minutes on Free and 45 minutes on Pro and Scale). See [Build timeouts](/docs/advanced/platform/compute#build-timeouts) and the [pricing page](/pricing).
92+
8993
# Project dependencies
9094

9195
To install your dependencies before your site is built, you should add the relevant install command to your site’s build settings. Here are the steps to add the install command:

src/routes/pricing/+page.svelte

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@
126126
project</span
127127
>
128128
</li>
129+
<li><span>15-minute build timeouts</span></li>
129130
</ul>
130131
<p class="text-caption text-secondary mt-4">
131132
Free projects are paused after 1 week of inactivity.
@@ -203,6 +204,9 @@
203204
>Unlimited Databases, Buckets, and Functions</span
204205
>
205206
</li>
207+
<li>
208+
<span>45-minute build timeouts</span>
209+
</li>
206210
</ul>
207211
</div>
208212
</article>

src/routes/pricing/compare-plans.svelte

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,14 @@
365365
scale: '$2 per 1m',
366366
enterprise: 'Custom'
367367
},
368+
{
369+
title: 'Build timeout',
370+
info: 'Maximum duration for Sites and Functions build jobs',
371+
free: '15 minutes',
372+
pro: '45 minutes',
373+
scale: '45 minutes',
374+
enterprise: 'Custom'
375+
},
368376
{
369377
title: 'Express builds',
370378
info: 'Dedicated priority queues for build jobs',

0 commit comments

Comments
 (0)