@fabricorg/experiments 0.6.4 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -2
- package/dist/bin/fx.cjs +488 -42
- package/dist/bin/fx.cjs.map +1 -1
- package/dist/bin/fx.js +489 -43
- package/dist/bin/fx.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# Fabric Experiments CLI
|
|
2
2
|
|
|
3
|
-
`@fabricorg/experiments` installs the `fx` command for
|
|
3
|
+
`@fabricorg/experiments` installs the `fx` command for local and hosted Fabric Experiments workflows.
|
|
4
4
|
|
|
5
|
-
Fabric Experiments
|
|
5
|
+
Fabric Experiments unifies governed A/B experimentation, TypeScript BDD and live
|
|
6
|
+
testing for Databricks workloads, Quality Center evidence, and production release
|
|
7
|
+
policy.
|
|
6
8
|
|
|
7
9
|
## Install
|
|
8
10
|
|
|
@@ -21,6 +23,22 @@ fx --help
|
|
|
21
23
|
|
|
22
24
|
## Quickstart
|
|
23
25
|
|
|
26
|
+
For the hosted product, create a scoped API key in Studio and log in once:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
fx login --api-key fx_key_...
|
|
30
|
+
fx doctor
|
|
31
|
+
fx profile show
|
|
32
|
+
fx push experiments/
|
|
33
|
+
fx test publish reports/evidence.json
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
`fx login` discovers the current API and organization through the branded Studio
|
|
37
|
+
URL. It stores a private local profile; explicit flags and CI environment
|
|
38
|
+
variables remain supported.
|
|
39
|
+
|
|
40
|
+
For a local workspace:
|
|
41
|
+
|
|
24
42
|
In a project containing experiment YAML files:
|
|
25
43
|
|
|
26
44
|
```bash
|
|
@@ -37,11 +55,18 @@ fx kill homepage-cta --reason "Web Vitals regression"
|
|
|
37
55
|
fx validate <dir> Lint experiment YAML files in <dir>.
|
|
38
56
|
fx plan <dir> Show diff between YAML and live control plane.
|
|
39
57
|
fx apply <dir> Apply YAML to the control plane.
|
|
58
|
+
fx push <dir> Reconcile YAML with the hosted organization.
|
|
40
59
|
fx dev Start local dev server.
|
|
41
60
|
fx publish Sign current manifest; optionally push to manifest-worker.
|
|
42
61
|
fx report <experimentId> Print results for an experiment.
|
|
43
62
|
fx kill <experimentId> Kill a running experiment. Requires --reason.
|
|
44
63
|
fx import-mojito <dir> Convert Mojito waves and emit a compatibility report.
|
|
64
|
+
fx init databricks-tests Scaffold a TypeScript/Gherkin Databricks suite.
|
|
65
|
+
fx test publish <file> Publish BDD/live/JUnit/CLI evidence to Quality Center.
|
|
66
|
+
fx login Configure and verify a secure hosted profile.
|
|
67
|
+
fx logout [profile] Remove a hosted profile.
|
|
68
|
+
fx profile [list|show|use] Inspect or switch profiles without printing secrets.
|
|
69
|
+
fx doctor Verify API, gateway, tenant, role, and config security.
|
|
45
70
|
```
|
|
46
71
|
|
|
47
72
|
For a migration gate that fails until every trigger and asset is portable:
|