Skip to content

Commit e41d830

Browse files
authored
docs: clarify that Deno runtime flags can't be passed on Deploy (#3310)
1 parent 956df2d commit e41d830

2 files changed

Lines changed: 13 additions & 7 deletions

File tree

deploy/reference/builds.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified: 2026-02-25
2+
last_modified: 2026-06-18
33
title: Builds
44
description: "Detailed explanation of the build process in Deno Deploy, covering build triggers, stages, configuration options, caching, and the build environment."
55
---
@@ -109,8 +109,11 @@ repository if you're using a recognized framework or common build setup.
109109
- **Dynamic**: For applications that respond to requests using a server (API
110110
servers, server-rendered websites, etc.)
111111
- **Entrypoint**: The JavaScript or TypeScript file to execute
112-
- **Arguments** (optional): Command-line arguments to pass to the
113-
application
112+
- **Arguments** (optional): Command-line arguments passed to the
113+
application, after the entrypoint. These are not flags for the Deno
114+
runtime: runtime flags such as `--unstable-*` cannot be passed, since the
115+
runtime always runs with a fixed set of flags. See the
116+
[runtime reference](/deploy/reference/runtime/) for details.
114117
- **Runtime working directory** (optional): The working directory for the
115118
application at runtime
116119
- **Runtime memory limit** (optional): The maximum amount of memory the
@@ -157,8 +160,10 @@ the entire configuration will be sourced from the file instead of the dashboard
157160
- `deploy.runtime.type`: Must be set to `"dynamic"`, or omitted (dynamic is
158161
the default).
159162
- `deploy.runtime.entrypoint`: The JavaScript or TypeScript file to execute.
160-
- `deploy.runtime.args` (optional): Command-line arguments to pass to the
161-
application.
163+
- `deploy.runtime.args` (optional): Command-line arguments passed to the
164+
application, after the entrypoint. These are not flags for the Deno
165+
runtime; runtime flags such as `--unstable-*` cannot be passed. See the
166+
[runtime reference](/deploy/reference/runtime/).
162167
- `deploy.runtime.cwd` (optional): The working directory for the application
163168
at runtime.
164169
- `deploy.runtime.memory_limit` (optional): The maximum amount of memory the

deploy/reference/runtime.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified: 2026-01-20
2+
last_modified: 2026-06-18
33
title: Runtime
44
description: "Details about the Deno Deploy runtime environment, including application lifecycle, startup, shutdown, and cold start optimization."
55
---
@@ -14,7 +14,8 @@ spawning subprocesses, and loading FFI and node native addons.
1414

1515
The Deno runtime runs using `--allow-all` permissions.
1616

17-
Custom flags cannot be passed to the Deno runtime.
17+
Custom flags, including `--unstable-*` flags, cannot be passed to the Deno
18+
runtime.
1819

1920
## Runtime environment
2021

0 commit comments

Comments
 (0)