@devrouter/cli 0.0.45 → 0.0.48
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 +11 -0
- package/dist/devrouter.js +1339 -395
- package/package.json +1 -1
- package/upgrade-prompts/0.0.46.md +41 -0
- package/upgrade-prompts/0.0.48.md +44 -0
package/package.json
CHANGED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Upgrade to devrouter 0.0.46
|
|
2
|
+
|
|
3
|
+
Provider mutations under parallel agent load are now observable and drain a
|
|
4
|
+
realistic queue of cold starts instead of failing after a silent minute.
|
|
5
|
+
|
|
6
|
+
1. Install `@devrouter/cli@0.0.46` on the host and bump `.devrouter.yml` to
|
|
7
|
+
`devrouter.version: 0.0.46`.
|
|
8
|
+
2. No schema or command changes. Keep using `devrouter ensure <checkout>` and
|
|
9
|
+
`devrouter workspace up <branch>`.
|
|
10
|
+
3. When several parallel `ensure` runs contend for the machine-global
|
|
11
|
+
Devsy/DevPod mutation lock, contenders now wait up to thirty minutes in
|
|
12
|
+
fair arrival order and print one throttled stderr line every ten seconds.
|
|
13
|
+
Do not treat those lines as failures; a timeout names the queue position or
|
|
14
|
+
holder PID plus true durations and usually means the holder process died
|
|
15
|
+
mid-start or a direct provider command bypassed devrouter.
|
|
16
|
+
4. If a Devsy start fails with the agent-binary acquisition remediation,
|
|
17
|
+
allow Devsy to download its agent binary or export `DEVSY_AGENT_BINARY`
|
|
18
|
+
pointing at a verified official Devsy agent binary matching this platform
|
|
19
|
+
and Devsy version. Do not point it at an arbitrary binary.
|
|
20
|
+
5. A checkout whose persisted managed state names a Compose project that no
|
|
21
|
+
longer has any exact containers can now rebaseline on its currently
|
|
22
|
+
observed exact workspace. If prior-project containers still exist, repair
|
|
23
|
+
that drift explicitly; Devrouter continues to fail closed.
|
|
24
|
+
|
|
25
|
+
Verification:
|
|
26
|
+
|
|
27
|
+
- Run `devrouter -V --repo <checkout>` and confirm the installed CLI and
|
|
28
|
+
local repository report `0.0.46`.
|
|
29
|
+
- Start two linked checkouts concurrently with `devrouter ensure` and require
|
|
30
|
+
both to succeed with visible wait progress on the second, or a timeout
|
|
31
|
+
error that names the holder PID and durations.
|
|
32
|
+
- When changing a checkout's workspace runtime, run one capability-only and
|
|
33
|
+
one routed profile and inspect `managedRuntime.drift`; require an empty list.
|
|
34
|
+
|
|
35
|
+
Report template:
|
|
36
|
+
|
|
37
|
+
- CLI/config version: `0.0.46`
|
|
38
|
+
- Parallel ensure contention: `<passed or details>`
|
|
39
|
+
- Wait progress output: `<observed or details>`
|
|
40
|
+
- Managed-state rebaseline/profile transition: `<passed or details>`
|
|
41
|
+
- Remaining blockers: `<none or details>`
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Upgrade to devrouter 0.0.48
|
|
2
|
+
|
|
3
|
+
Devrouter now owns deterministic Devsy agent readiness, exposes profile
|
|
4
|
+
resolution to automation, and proves that Traefik loaded managed routes before
|
|
5
|
+
declaring a runtime ready.
|
|
6
|
+
|
|
7
|
+
1. Install `@devrouter/cli@0.0.48` on the host and bump `.devrouter.yml` to
|
|
8
|
+
`devrouter.version: 0.0.48`.
|
|
9
|
+
2. When Devsy is selected, run
|
|
10
|
+
`devrouter setup --yes --workspace-runtime devsy` once. This acquires and
|
|
11
|
+
verifies the pinned official agent. An explicit `DEVSY_AGENT_BINARY` remains
|
|
12
|
+
authoritative and must match a pinned asset.
|
|
13
|
+
3. Run `devrouter doctor --repo <checkout> --json` and require
|
|
14
|
+
`global.devsy-agent` to report `ready` before starting a Devsy workspace.
|
|
15
|
+
Doctor remains network-free and does not expose the agent path.
|
|
16
|
+
4. Use `devrouter profile resolve --repo <checkout> --profile <selection> --json`
|
|
17
|
+
when CI or another tool needs exact apps, dependencies, readiness targets,
|
|
18
|
+
managed services, and process markers without runtime side effects. Reject
|
|
19
|
+
invalid selections and unknown report schemas instead of widening the
|
|
20
|
+
requested profile.
|
|
21
|
+
5. Keep using `devrouter ensure <checkout>`. Managed startup now proves exact
|
|
22
|
+
HTTP and TCP file-provider routers through Traefik's API. A missed hot reload
|
|
23
|
+
triggers one serialized Traefik-only restart; persistent absence fails closed
|
|
24
|
+
with the missing router names.
|
|
25
|
+
|
|
26
|
+
Verification:
|
|
27
|
+
|
|
28
|
+
- Run `devrouter -V --repo <checkout>` and confirm the installed CLI and local
|
|
29
|
+
repository report `0.0.48`.
|
|
30
|
+
- Run `devrouter doctor --repo <checkout> --json` and require zero errors plus
|
|
31
|
+
`global.devsy-agent: ready` when Devsy is selected.
|
|
32
|
+
- Run `devrouter profile resolve --repo <checkout> --profile <selection> --json`
|
|
33
|
+
with no workspace running and verify the schema-versioned exact resource set.
|
|
34
|
+
- Start one safe representative profile with `devrouter ensure`, verify its
|
|
35
|
+
expected routes and zero profile drift, then stop that exact checkout and
|
|
36
|
+
require zero remaining routes.
|
|
37
|
+
|
|
38
|
+
Report template:
|
|
39
|
+
|
|
40
|
+
- CLI/config version: `0.0.48`
|
|
41
|
+
- Devsy agent readiness: `<ready, not selected, or details>`
|
|
42
|
+
- Profile resolution: `<passed or details>`
|
|
43
|
+
- Representative route proof and stop: `<passed, deferred, or details>`
|
|
44
|
+
- Remaining blockers: `<none or details>`
|