rightsize 0.1.1 → 0.1.2
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
|
@@ -146,14 +146,14 @@ backend-specific rather than behavioral divergences:
|
|
|
146
146
|
- **Network-alias tunnels on microsandbox have real limits** versus Docker's
|
|
147
147
|
native bridge networking — see
|
|
148
148
|
[Networking](https://ngriaznov.github.io/rightsize-node/guide/networking).
|
|
149
|
-
- **Read-only file mounts aren't enforced in-guest on microsandbox 0.6.
|
|
149
|
+
- **Read-only file mounts aren't enforced in-guest on microsandbox 0.6.6.**
|
|
150
150
|
`withCopyFileToContainer`'s read-only flag is honored by Docker; on
|
|
151
151
|
microsandbox the guest currently gets a writable mount regardless. Don't
|
|
152
152
|
rely on guest-side write protection under `RIGHTSIZE_BACKEND=microsandbox`.
|
|
153
153
|
- **`followOutput` delivers the same ordered, no-duplicate log stream on
|
|
154
154
|
both backends**, but on microsandbox the final tail can arrive shortly
|
|
155
155
|
after the sandbox reports stopped, rather than exactly at stream EOF
|
|
156
|
-
(`msb logs -f` doesn't close on sandbox stop in 0.6.
|
|
156
|
+
(`msb logs -f` doesn't close on sandbox stop in 0.6.6, so the backend
|
|
157
157
|
replays the not-yet-delivered tail once stop is confirmed).
|
|
158
158
|
|
|
159
159
|
## How it works
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Platform } from "./platform.js";
|
|
2
|
-
export declare const MSB_VERSION = "0.6.
|
|
2
|
+
export declare const MSB_VERSION = "0.6.6";
|
|
3
3
|
/** Test seam: the full resolution logic parameterized over the release base URL, cache dir, and environment. */
|
|
4
4
|
export declare function ensureInstalledAt(baseUrl: string, cacheDir: string, env: Record<string, string | undefined>): Promise<string>;
|
|
5
5
|
/** Resolves (downloading and verifying if needed) a runnable `msb` binary path, using the real GitHub release base, `RIGHTSIZE_CACHE_DIR`, and `process.env`. */
|
|
@@ -7,7 +7,7 @@ import * as os from "node:os";
|
|
|
7
7
|
import { createHash } from "node:crypto";
|
|
8
8
|
import { ProvisionError } from "../core/errors.js";
|
|
9
9
|
import { PlatformInfo } from "./platform.js";
|
|
10
|
-
export const MSB_VERSION = "0.6.
|
|
10
|
+
export const MSB_VERSION = "0.6.6";
|
|
11
11
|
const DEFAULT_BASE = `https://github.com/superradcompany/microsandbox/releases/download/v${MSB_VERSION}`;
|
|
12
12
|
const CONNECT_READ_TIMEOUT_MS = 300_000;
|
|
13
13
|
const STALE_LOCK_AGE_MS = 5 * 60 * 1000;
|
package/package.json
CHANGED