kylon-cli 0.7.11-next.1659 → 0.7.11-next.1664

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 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. The server never requests `--force` automatically.
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` skips the
447
- drain (see the interrupts below).
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, and a drain that
489
- exhausts its window rolls the upgrade back — so a persistently busy host would
490
- never upgrade without an operator interrupt. Two are available:
491
-
492
- - `kylon upgrade --force` (or `kylon gateway service upgrade --force`) skips
493
- the drain, or escalates one already in progress: in-flight assignments are aborted with the same
494
- recovery semantics as a daemon crash (the durable inbox re-drives
495
- interrupted work on the restarted daemon), and the new version activates
496
- immediately.
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.1659",
3
- "fingerprint": "b3ce82202eb7f4335c3552d304c152f35d6b09e83c3ee0d3781b058da63adea3",
4
- "source_commit": "51578a28177dc6f35178b08712ce6f4a931effc8"
2
+ "version": "0.7.11-next.1664",
3
+ "fingerprint": "7855c146e2562d818840f234b2b6df80205520bda4c3ceb719228744b67bbda7",
4
+ "source_commit": "36084063734301c9549c0fd674e05498085944c0"
5
5
  }