chore: add experiment toggle for terraform workspace caching (#20559)

Experiments passed to provisioners to determine behavior. This adds
`--experiments` flag to provisioner daemons. Prior to this, provisioners
had no method to turn on/off experiments.
This commit is contained in:
Steven Masley
2025-11-12 14:26:15 -06:00
committed by GitHub
parent ac2c161636
commit 04727c06e8
15 changed files with 65 additions and 15 deletions
+11 -10
View File
@@ -4057,16 +4057,17 @@ CreateWorkspaceRequest provides options for creating a new workspace. Only one o
#### Enumerated Values
| Value |
|------------------------|
| `example` |
| `auto-fill-parameters` |
| `notifications` |
| `workspace-usage` |
| `web-push` |
| `oauth2` |
| `mcp-server-http` |
| `workspace-sharing` |
| Value |
|-----------------------------|
| `example` |
| `auto-fill-parameters` |
| `notifications` |
| `workspace-usage` |
| `web-push` |
| `oauth2` |
| `mcp-server-http` |
| `workspace-sharing` |
| `terraform-directory-reuse` |
## codersdk.ExternalAPIKeyScopes
+10
View File
@@ -144,6 +144,16 @@ Serve prometheus metrics on the address defined by prometheus address.
The bind address to serve prometheus metrics.
### --experiments
| | |
|-------------|---------------------------------|
| Type | <code>string-array</code> |
| Environment | <code>$CODER_EXPERIMENTS</code> |
| YAML | <code>experiments</code> |
Enable one or more experiments. These are not ready for production. Separate multiple experiments with commas, or enter '*' to opt-in to all available experiments.
### -O, --org
| | |