You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b103fc0
Browse filesBrowse the repository at this point in the historyBrowse files
[RAPTOR-21044] feat(workload): release config, up and promote without a feature gate (datarobot-oss#995)
feat(workload): release config, up and promote without a feature gate
The gate rename to DATAROBOT_CLI_FEATURE_WORKLOAD_ALPHA hid these three
commands from every script that set the old variable, which is why
v0.13.0 went back to pre-release. They are ready, so they are now
registered with nothing set, and a script that sets either variable keeps
working. The workload-alpha gate and the CommandAdder stay in place for
future alpha features.
RAPTOR-21044
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
7
7
8
8
## Changed
9
9
10
-
-The feature gate for `dr workload config`, `up` and `promote`is now `DATAROBOT_CLI_FEATURE_WORKLOAD_ALPHA=true`; the three commands are alpha and stay gated. `DATAROBOT_CLI_FEATURE_WORKLOAD` is no longer read, so a script that set it must set the new variable to keep seeing them.
10
+
-`dr workload config`, `up` and `promote`are released and no longer behind a feature gate: they are in `--help`, completion and dispatch with nothing set. A script that still sets `DATAROBOT_CLI_FEATURE_WORKLOAD` or `DATAROBOT_CLI_FEATURE_WORKLOAD_ALPHA` keeps working; neither is needed. `DATAROBOT_CLI_FEATURE_WORKLOAD_ALPHA` stays reserved for workload features still in alpha.
Copy file name to clipboardExpand all lines: docs/commands/workload-manifest.md
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,6 @@
2
2
3
3
The file `dr workload config` writes and `dr workload up` deploys from. This page is the reference for the file itself and for what `up` does with it. The commands and their flags are documented in [`dr workload`](workload.md).
4
4
5
-
> [!NOTE]
6
-
> `config` and `up` are alpha and behind a feature gate. Set `DATAROBOT_CLI_FEATURE_WORKLOAD_ALPHA=true` to use them.
7
-
8
5
## What the file is
9
6
10
7
`.datarobot.yaml` sits at the root of your project and is the **workload-create spec, verbatim**: the same document `dr workload create --spec-file` accepts, with every field documented in the [spec reference](workload-spec.md#workload-spec). Keys the CLI does not know are passed to the platform untouched, so a platform addition needs no CLI release.
Copy file name to clipboardExpand all lines: docs/commands/workload.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -212,8 +212,6 @@ A workload whose id is specified in the manifest rather than on the command line
212
212
213
213
### `promote`
214
214
215
-
> Behind the same feature gate as `config` and `up`.
216
-
217
215
Make the version a workload is running permanent. The draft artifact it is serving is locked in place and given a version number; the workload keeps running it, and nothing is rebuilt or rolled.
218
216
219
217
```bash
@@ -381,8 +379,6 @@ Because `stop`, `start` and `delete` change something, they ask for confirmation
381
379
382
380
## Deploying from a project: `config` and `up`
383
381
384
-
> These two, and `promote`, are alpha and behind a feature gate. Set `DATAROBOT_CLI_FEATURE_WORKLOAD_ALPHA=true` to see them in `--help`.
385
-
386
382
`dr workload config`writes the `.datarobot.yaml` that describes your project, and `dr workload up` deploys the difference between that file and what is running. Together they are the deploy loop for a repository, where `create` deploys an artifact you already have.
387
383
388
384
```bash
@@ -480,7 +476,7 @@ dr workload delete <workload-id>
480
476
481
477
### Every command answers `403`
482
478
483
-
A `403` on the very first request, including a plain `dr workload list`, is usually about access rather than about the workload you asked for. The Workload API sits behind a platform entitlement, and the CLI's own feature gate is unrelated to it: `DATAROBOT_CLI_FEATURE_WORKLOAD_ALPHA`only decides which commands the binary registers, never what your account may call.
479
+
A `403` on the very first request, including a plain `dr workload list`, is usually about access rather than about the workload you asked for. The Workload API sits behind a platform entitlement, and the CLI's own feature gates are unrelated to it: a `DATAROBOT_CLI_FEATURE_*` variable only decides which commands the binary registers, never what your account may call.
484
480
485
481
The response body names the check that refused you. The two common ones are a feature flag (a message naming `WORKLOAD_API_CONTAINERS`, or saying the Workload API is disabled in feature flags) and a seat license (a message saying the Agentic, Predictive and Governance seat has not been granted to this user). Both are grants your DataRobot administrator makes; neither can be worked around from the CLI. Entitlements are cached per user on the platform for a few minutes, so a newly granted one can keep failing briefly after it is switched on.
0 commit comments