@botbuddy/cli 1.111.0 → 1.113.0
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/CHANGELOG.md +8 -0
- package/daemon/bin/darwin-arm64/botbuddy-daemon +0 -0
- package/daemon/bin/linux-x64/botbuddy-daemon +0 -0
- package/daemon-release/darwin-arm64.json +4 -4
- package/daemon-release/linux-x64.json +4 -4
- package/daemon-release/manifest.json +5 -5
- package/package.json +1 -1
- package/src/stack.mjs +7 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.113.0
|
|
4
|
+
|
|
5
|
+
- BOT-3496: the fleet host daemon reports each running test child's memory so the host's memory admission ledger counts the child once instead of twice (its unit's memory was in the host's baseline as well as in its reservation). The runner learns each live unit's cgroup from the `systemctl show` it already makes. When the heartbeat builds a resource sample, it reads the child's working set at that instant (`memory.current` − `inactive_file` from `/sys/fs/cgroup/<ControlGroup>`, the measure containers already use), and the next claims carry it as `child_memory` with that sample's `observed_at`. A child with no readable cgroup sends nothing, so the ledger keeps its fail-closed count. Needs MCP 2.153.0.
|
|
6
|
+
|
|
7
|
+
## 1.112.0
|
|
8
|
+
|
|
9
|
+
- BOT-3448: a fleet host reports `tar-extract` only when its tar can extract an archive with directories inside a test child's sandbox. On Ubuntu 26.04 it cannot: under the child's DynamicUser sandbox, systemd answers `openat2` with ENOSYS, and that tar build has no fallback. Listing (`tar -t`) and reading one member to stdout (`tar -xO`) still work there, so `tar` stays its own capability. A child that unpacks archives into a directory can declare `--child-requires tar-extract`; until the host's tar can, placement refuses it by name instead of starting a run that fails mid-way. The CLI's own tests no longer extract into a directory with the system tar, so the CLI lane runs green as a host child. Needs this daemon on the host.
|
|
10
|
+
|
|
3
11
|
## 1.111.0
|
|
4
12
|
|
|
5
13
|
- BOT-3501: the bb-status band's STATUS row shows the Docker queue as the web top bar does, `📦 N queued` (queued stack leases plus capacity waiters), linked to /docker's Queue, so an operator can see whether a new session would wait for a host. BB sends the count only to an operator (`get_session_status.docker_queue`, MCP 2.152.0); nothing shows at zero, for anyone else, or from an older server.
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"release_version": "1.
|
|
3
|
-
"source_commit": "
|
|
4
|
-
"source_sha256": "
|
|
2
|
+
"release_version": "1.113.0",
|
|
3
|
+
"source_commit": "4d0931b1467b33ed4d8f2f90dce2400dde11147d",
|
|
4
|
+
"source_sha256": "9bc939e955b79b62178d34963c2b5370e5a78d671b1c04daf220a5d7d7773095",
|
|
5
5
|
"target": "darwin-arm64",
|
|
6
|
-
"sha256": "
|
|
6
|
+
"sha256": "24a977fdb1056ac49539a8fe732e0566add0e2152b202d18944b11a6a9f86591"
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"release_version": "1.
|
|
3
|
-
"source_commit": "
|
|
4
|
-
"source_sha256": "
|
|
2
|
+
"release_version": "1.113.0",
|
|
3
|
+
"source_commit": "4d0931b1467b33ed4d8f2f90dce2400dde11147d",
|
|
4
|
+
"source_sha256": "9bc939e955b79b62178d34963c2b5370e5a78d671b1c04daf220a5d7d7773095",
|
|
5
5
|
"target": "linux-x64",
|
|
6
|
-
"sha256": "
|
|
6
|
+
"sha256": "5c5ae7577c8c5151de741868af68868a588e1738480540db1614fd4ffc59ee2c"
|
|
7
7
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema_version": 1,
|
|
3
|
-
"release_version": "1.
|
|
4
|
-
"source_commit": "
|
|
5
|
-
"source_sha256": "
|
|
3
|
+
"release_version": "1.113.0",
|
|
4
|
+
"source_commit": "4d0931b1467b33ed4d8f2f90dce2400dde11147d",
|
|
5
|
+
"source_sha256": "9bc939e955b79b62178d34963c2b5370e5a78d671b1c04daf220a5d7d7773095",
|
|
6
6
|
"targets": {
|
|
7
7
|
"darwin-arm64": {
|
|
8
8
|
"goos": "darwin",
|
|
9
9
|
"goarch": "arm64",
|
|
10
10
|
"binary": "daemon/bin/darwin-arm64/botbuddy-daemon",
|
|
11
|
-
"sha256": "
|
|
11
|
+
"sha256": "24a977fdb1056ac49539a8fe732e0566add0e2152b202d18944b11a6a9f86591",
|
|
12
12
|
"mode": "0755"
|
|
13
13
|
},
|
|
14
14
|
"linux-x64": {
|
|
15
15
|
"goos": "linux",
|
|
16
16
|
"goarch": "amd64",
|
|
17
17
|
"binary": "daemon/bin/linux-x64/botbuddy-daemon",
|
|
18
|
-
"sha256": "
|
|
18
|
+
"sha256": "5c5ae7577c8c5151de741868af68868a588e1738480540db1614fd4ffc59ee2c",
|
|
19
19
|
"mode": "0755"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/package.json
CHANGED
package/src/stack.mjs
CHANGED
|
@@ -340,9 +340,12 @@ ${bold("run OPTIONS")}
|
|
|
340
340
|
serving_host, and the slot and the lease are released. A full serving-host
|
|
341
341
|
pool still waits for a slot.
|
|
342
342
|
--child-requires LIST BOT-3030: what the child needs on a host (comma list: node>=24,pnpm,deno,
|
|
343
|
-
curl,git,jq,psql,tar,playwright-chromium-libs, or a name the
|
|
344
|
-
system_packages provide, e.g. playwright-webkit-libs). node, pnpm
|
|
345
|
-
only when they run inside a child's sandbox on that host
|
|
343
|
+
curl,git,jq,psql,tar,tar-extract,playwright-chromium-libs, or a name the
|
|
344
|
+
head's system_packages provide, e.g. playwright-webkit-libs). node, pnpm
|
|
345
|
+
and deno count only when they run inside a child's sandbox on that host
|
|
346
|
+
(BOT-3402). BOT-3448: tar-extract means the host's tar can extract an
|
|
347
|
+
archive with directories inside a child's sandbox (Ubuntu 26.04's cannot);
|
|
348
|
+
tar alone covers listing and tar -xO.
|
|
346
349
|
BOT-3395: curl, git, jq, psql and tar count only when they run inside a
|
|
347
350
|
child's sandbox too, and the host reports each one's version. A host
|
|
348
351
|
lacking one is not placed on; the child runs here and the run names what
|
|
@@ -778,7 +781,7 @@ export function parseStackArgs(argv) {
|
|
|
778
781
|
case "--child-requires": {
|
|
779
782
|
if (need(a, rest[i + 1])) {
|
|
780
783
|
const list = rest[++i].split(",").map((x) => x.trim()).filter(Boolean);
|
|
781
|
-
if (!list.length || list.some((x) => !/^(node>=[0-9]{1,3}|[a-z][a-z0-9-]{0,47})$/.test(x))) errors.push("--child-requires takes a comma list of node>=<major> or capability names (curl, git, jq, psql, tar, playwright-chromium-libs)");
|
|
784
|
+
if (!list.length || list.some((x) => !/^(node>=[0-9]{1,3}|[a-z][a-z0-9-]{0,47})$/.test(x))) errors.push("--child-requires takes a comma list of node>=<major> or capability names (curl, git, jq, psql, tar, tar-extract, playwright-chromium-libs)");
|
|
782
785
|
else opts.childRequires.push(...list.filter((x) => !opts.childRequires.includes(x)));
|
|
783
786
|
}
|
|
784
787
|
break;
|