@ornncompute/cli 1.0.183 → 1.0.184
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 +8 -7
- package/package.json +1 -1
- package/src/slurm-commands.mjs +9 -0
package/README.md
CHANGED
|
@@ -87,6 +87,10 @@ and SSH remain here. VM readiness comes from the guest resource, separately from
|
|
|
87
87
|
physical-host readiness. Bare Metal uses the node's SSH endpoint and waits
|
|
88
88
|
when the service reports that the endpoint is unavailable. See [machine behavior](../../docs/cli.md#customer-workflows).
|
|
89
89
|
|
|
90
|
+
Directory-enabled Slurm access requires `ornn connect <cluster-id> --user <directory-username>`
|
|
91
|
+
and the matching personal SSH key (`--identity-file` if needed). Clusters without
|
|
92
|
+
a directory connection keep their existing login behavior.
|
|
93
|
+
|
|
90
94
|
Advanced customer resources are registered under one noun and one verb:
|
|
91
95
|
|
|
92
96
|
```text
|
|
@@ -438,13 +442,10 @@ process, clock, sleep, and cancellation dependencies. The packaged binary uses
|
|
|
438
442
|
the same seam. Capability code preserves existing MCP and Slack identities;
|
|
439
443
|
only canonical `cli.vnext` bindings are dispatchable by the CLI.
|
|
440
444
|
|
|
441
|
-
CLI releases retain Semantic Versioning.
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
Whole-workflow concurrency queues manual runs sequentially. Legacy manual bumps
|
|
446
|
-
remain accepted. A committed version higher than the next automatic patch is
|
|
447
|
-
preserved exactly, including major/minor releases. There is no extra release PR.
|
|
445
|
+
CLI releases retain Semantic Versioning. CLI-affecting merges to main publish
|
|
446
|
+
automatically in main push order, with one release per qualifying push. The **deploy cli pipeline** action also supports
|
|
447
|
+
manual runs. Leave `publish=false` to build and test without publishing.
|
|
448
|
+
An explicit higher version is preserved, including major and minor releases.
|
|
448
449
|
See the [release runbook](docs/packaged-vnext-release-gate.md).
|
|
449
450
|
|
|
450
451
|
### Packaged journey and release evidence
|
package/package.json
CHANGED
package/src/slurm-commands.mjs
CHANGED
|
@@ -59,6 +59,15 @@ function safeLogin(runtime, credentials, input) {
|
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
const user = text(input.user) ?? text(credentials.login_user);
|
|
62
|
+
if (credentials.login_user_required === true && !user) {
|
|
63
|
+
runtime.usage(
|
|
64
|
+
"This cluster uses directory identities. Pass --user with your directory username.",
|
|
65
|
+
{
|
|
66
|
+
code: "slurm_directory_user_required",
|
|
67
|
+
field: "user",
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
}
|
|
62
71
|
if (user && !SAFE_USER.test(user)) {
|
|
63
72
|
runtime.usage("--user must be a valid SSH login name.", {
|
|
64
73
|
code: "invalid_ssh_user",
|