kylon-cli 0.7.11-next.1659 → 0.7.11-next.1662
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 +13 -15
- package/dist/kylon-bundle.manifest.json +3 -3
- package/dist/kylon-bundle.mjs +4 -4
- package/dist/kylon-core-bundle.mjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -379,7 +379,8 @@ The server checks an online computer for an eligible update at most once every
|
|
|
379
379
|
four hours. When it rolls an exact published version out to that computer, the
|
|
380
380
|
daemon uses the same drain-restart path as a manual upgrade: it waits for active
|
|
381
381
|
agent work to finish, installs the managed bundle under `~/.kylon/bin`, and
|
|
382
|
-
restarts onto it.
|
|
382
|
+
restarts onto it. Upgrades never interrupt running work. Automatic updates wait for the first idle
|
|
383
|
+
moment; if the idle deadline expires, they give up and retry later.
|
|
383
384
|
|
|
384
385
|
The owner can change the setting under **Settings → Developer tools → Kylon
|
|
385
386
|
CLI → Devices** (open the computer's row), or from that computer:
|
|
@@ -443,8 +444,8 @@ upgrade described below, on a credential-only host the daemon-guarded
|
|
|
443
444
|
self-pin, and on a host with only an npm global the `npm install -g` hint
|
|
444
445
|
(that copy stays the operator's own). When it is already the resolved target
|
|
445
446
|
— `npx --yes kylon-cli@latest upgrade` runs the newest copy — it installs
|
|
446
|
-
in-process rather than downloading itself a second time. `--force`
|
|
447
|
-
|
|
447
|
+
in-process rather than downloading itself a second time. `--force` is rejected
|
|
448
|
+
before an install starts because an upgrade must not interrupt running tasks.
|
|
448
449
|
|
|
449
450
|
The mechanism underneath is `gateway service upgrade`:
|
|
450
451
|
|
|
@@ -485,18 +486,15 @@ captures this selection for health checks and agent turns. A missing or invalid
|
|
|
485
486
|
path fails instead of switching installations. Use the same path with
|
|
486
487
|
`kylon provider update codex --binary-path <path>` when updating that installation.
|
|
487
488
|
|
|
488
|
-
The drain waits up to five minutes for in-flight agent work
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
- `kylon gateway service cancel` abandons an in-progress upgrade: the daemon
|
|
498
|
-
rolls back to the previous bundle and resumes accepting work on the old
|
|
499
|
-
version.
|
|
489
|
+
The drain waits up to five minutes for in-flight agent work. If that window
|
|
490
|
+
expires, the upgrade rolls back and the existing tasks keep running on the
|
|
491
|
+
previous version. Retry once the machine is idle. There is no force override,
|
|
492
|
+
including for automatic deadlines or legacy requests that carry a force flag.
|
|
493
|
+
A running daemon too old to drain safely must finish its tasks and be stopped
|
|
494
|
+
before it can be upgraded.
|
|
495
|
+
|
|
496
|
+
`kylon gateway service cancel` abandons a pending upgrade, restores the previous
|
|
497
|
+
bundle, and resumes accepting work without cancelling active tasks.
|
|
500
498
|
|
|
501
499
|
A request or staged bundle that nobody is honoring does not need an operator:
|
|
502
500
|
`gateway service upgrade` refuses only a *fresh* one ("already in progress",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.7.11-next.
|
|
3
|
-
"fingerprint": "
|
|
4
|
-
"source_commit": "
|
|
2
|
+
"version": "0.7.11-next.1662",
|
|
3
|
+
"fingerprint": "ff119b03933c2ea9697b33d86eaedca75115bcb0cbba2904a6720cfc567d4e17",
|
|
4
|
+
"source_commit": "2f7cea15c5f95359280a80709db01aa0021464d8"
|
|
5
5
|
}
|