@devrouter/cli 0.0.65 → 0.0.67
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/dist/devrouter-lifecycle-worker.js +252 -20
- package/dist/devrouter.js +521 -185
- package/package.json +1 -1
- package/upgrade-prompts/0.0.66.md +31 -0
- package/upgrade-prompts/0.0.67.md +41 -0
package/package.json
CHANGED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Upgrade to devrouter 0.0.66
|
|
2
|
+
|
|
3
|
+
This patch release completes managed stop when Devsy replaces a workspace
|
|
4
|
+
registration UID after the workload is positively absent, releasing lifecycle
|
|
5
|
+
journals stuck in `stopping` so a later `ensure` is admitted again.
|
|
6
|
+
|
|
7
|
+
## Task
|
|
8
|
+
|
|
9
|
+
Install the published release and update `.devrouter.yml` devrouter.version to
|
|
10
|
+
0.0.66. No schema migration or configuration change is required. Do not change
|
|
11
|
+
the committed configuration, delete registrations, containers, or source files,
|
|
12
|
+
and do not reset lifecycle state manually: the recovery runs inside the existing
|
|
13
|
+
canonical stop command under its normal locks and proofs.
|
|
14
|
+
|
|
15
|
+
## Validation
|
|
16
|
+
|
|
17
|
+
On a workspace whose stop was previously rejected with a retained provider
|
|
18
|
+
identity error after a registration replacement, run the canonical
|
|
19
|
+
`devrouter stop <path>` and confirm it reports the workspace stopped with the
|
|
20
|
+
absence proof, then run `devrouter ensure <path>` and confirm admission
|
|
21
|
+
succeeds. Confirm `devrouter status --json` shows the expected ready state and
|
|
22
|
+
that no containers, volumes, or source files were removed beyond the normal
|
|
23
|
+
stop contract. For workspaces that never hit the replacement case, confirm
|
|
24
|
+
existing stop, ensure, and `devrouter doctor` behavior is unchanged.
|
|
25
|
+
|
|
26
|
+
## Report
|
|
27
|
+
|
|
28
|
+
Report the tested CLI version, the exact workspace path or synthetic fixture,
|
|
29
|
+
the stop command result, the ensure result, route state after the run, and any
|
|
30
|
+
diagnostic failure output verbatim. State explicitly whether the replacement
|
|
31
|
+
case was exercised or only the unchanged retained path.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Upgrade to devrouter 0.0.67
|
|
2
|
+
|
|
3
|
+
This patch release makes the reliability journal incapable of deadlocking
|
|
4
|
+
lifecycle commands and completes managed stop when a registration was deleted
|
|
5
|
+
rather than replaced. It restores workspaces that every canonical command
|
|
6
|
+
previously refused with "Lifecycle admission is blocked." after a saturated
|
|
7
|
+
journal held a drained `INTERRUPTED` ensure.
|
|
8
|
+
|
|
9
|
+
## Task
|
|
10
|
+
|
|
11
|
+
Install the published release and update `.devrouter.yml` devrouter.version to
|
|
12
|
+
0.0.67. No schema migration or configuration change is required. Do not change
|
|
13
|
+
the committed configuration, delete registrations, containers, or source files,
|
|
14
|
+
and do not reset lifecycle state manually. Recovery runs inside the existing
|
|
15
|
+
canonical commands under their normal locks, ownership proofs, and journal
|
|
16
|
+
accounting. If a command reports a live worker, wait for it or re-run later;
|
|
17
|
+
`workspace journal settle` refuses while a worker outcome is still observable.
|
|
18
|
+
|
|
19
|
+
## Validation
|
|
20
|
+
|
|
21
|
+
On a workspace whose commands were refused with "Lifecycle admission is
|
|
22
|
+
blocked." (saturated journal with a drained interrupted ensure), run
|
|
23
|
+
`devrouter stop <path>` and confirm it completes — including the case where the
|
|
24
|
+
Devsy registration was already deleted and every workload is positively absent
|
|
25
|
+
— then run `devrouter ensure <path> --json` and confirm admission succeeds with
|
|
26
|
+
routes published. On a record whose worker is provably gone and that still
|
|
27
|
+
refuses progress, run `devrouter workspace journal settle <path> --json` and
|
|
28
|
+
confirm it reports the settled operation, then retry `ensure`. Confirm refusal
|
|
29
|
+
messages now name the blocking field and remediation. For workspaces that never
|
|
30
|
+
hit the deadlock, confirm existing stop, ensure, exec, and `devrouter doctor`
|
|
31
|
+
behavior is unchanged, and confirm a downgrade attempt (record written by a
|
|
32
|
+
newer CLI than the installed one) fails with an explicit upgrade instruction
|
|
33
|
+
instead of a mid-flight refusal.
|
|
34
|
+
|
|
35
|
+
## Report
|
|
36
|
+
|
|
37
|
+
Report the tested CLI version, the exact workspace path or synthetic fixture,
|
|
38
|
+
each command result (stop, ensure, settle if used) with route state after the
|
|
39
|
+
run, any diagnostic failure output verbatim, and whether the
|
|
40
|
+
deleted-registration case, the saturated-journal case, or only the unchanged
|
|
41
|
+
retained path was exercised.
|