Skip to content

Commit 334775b

Browse files
author
lpb-docs
committed
chore: bump VERSION 0.0.81-lpb-dev (pi 0.85.1)
Pre-commit validate fails only on the pre-existing missing workspace symlinks (lemonade-pi-plugin / lpb-memory / pi-subagents absent in this container); stack-env, pins and test checks all pass.
1 parent 7fc0820 commit 334775b

8 files changed

Lines changed: 23 additions & 15 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# NOTE: Docker ARG values can't reference source'd shell variables.
3030
ARG NODE_VERSION=24
3131
ARG VSCODIUM_VERSION=1.126.04524
32-
ARG PI_VERSION=0.84.4
32+
ARG PI_VERSION=0.85.1
3333
ARG PI_HEAD_SHA=unknown
3434

3535
# Config preset repo — baked so start.sh clones the fork's config at boot.
@@ -51,7 +51,7 @@ FROM ubuntu:26.04 AS base
5151

5252
ARG NODE_VERSION
5353
ARG VSCODIUM_VERSION
54-
ARG PI_VERSION=0.84.4
54+
ARG PI_VERSION=0.85.1
5555
ARG PI_HEAD_SHA
5656
ARG CONFIG_FORK
5757
ARG CONFIG_REF

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.80-lpb-dev
1+
0.0.81-lpb-dev

doc/env-vars.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ So setting `LPB_EXA_API_KEY` in your project `.env` is sufficient —
9696

9797
| Variable | dev profile | main profile | Meaning |
9898
|---|---|---|---|
99-
| `LPB_PI_VERSION` | `0.84.4` | `0.84.4` | Mainstream pi npm version installed in the image (`@earendil-works/pi-coding-agent`) |
99+
| `LPB_PI_VERSION` | `0.85.1` | `0.85.1` | Mainstream pi npm version installed in the image (`@earendil-works/pi-coding-agent`) |
100100
| `LPB_CONFIG_REF` | `dev` | `main` | Config preset branch baked into the image |
101101

102102
These select **what goes into the image** (build time) and which pipeline

doc/forking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ LocalPibox originals.
1919
point at your forks:
2020

2121
```sh
22-
export LPB_PI_VERSION=0.84.4 # mainstream pi from npm (pin a different release)
22+
export LPB_PI_VERSION=0.85.1 # mainstream pi from npm (pin a different release)
2323
export LPB_CONFIG_FORK=https://github.com/<you>/config.git
2424
export LPB_CONFIG_REF=main # your branch
2525
export LPB_IMAGE_CLI=ghcr.io/<you>/devstack:dev-cli

lpb.stack.dev.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Pinned npm version — same for both pipelines (upstream has no dev/stable
88
# split; the version IS the stability signal). Bump in lpb.stack.env AND
99
# here together.
10-
LPB_PI_VERSION=0.84.4
10+
LPB_PI_VERSION=0.85.1
1111

1212
# ─── Config Preset ───────────────────────────────────────────────────────
1313
LPB_CONFIG_REF=dev

lpb.stack.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# as dependencies. Bump deliberately in this file AND the pipeline profiles
1919
# (lpb.stack.dev.env / lpb.stack.main.env). A forked/patched pi requires
2020
# re-introducing a source build — see docs/reference/forking.md.
21-
LPB_PI_VERSION=0.84.4
21+
LPB_PI_VERSION=0.85.1
2222

2323
# ─── Config Preset ───────────────────────────────────────────────────────
2424
# Fork URL + branch of the preset repo (lpb-stack/config) baked into the

lpb.stack.main.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Pinned npm version — same for both pipelines (upstream has no dev/stable
88
# split; the version IS the stability signal). Bump in lpb.stack.env AND
99
# here together.
10-
LPB_PI_VERSION=0.84.4
10+
LPB_PI_VERSION=0.85.1
1111

1212
# ─── Config Preset ───────────────────────────────────────────────────────
1313
LPB_CONFIG_REF=main

scripts/test_localpibox_build.py

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,22 @@ def _fake_runner(responses):
1616
"""Return a run_cmd-style fn that maps git subcommand -> canned output."""
1717
def runner(args, timeout=120, cwd=None):
1818
if args and args[0] == "git":
19-
sub = args[1]
20-
out, code = responses.get(sub, ("", 0))
19+
# responses may map the full ref spec (e.g. "tags/v0.85.1") or just
20+
# the subcommand; try both so callers can pin an exact tag.
21+
key = None
22+
for cand in (" ".join(args[1:]), args[1]):
23+
if cand in responses:
24+
key = cand
25+
break
26+
out, code = responses.get(key, ("", 0))
2127
return out, "", code
2228
return "", "unexpected cmd", 1
2329
return runner
2430

2531

2632
def test_build_load_env_success(tmpdir):
2733
(tmpdir / "lpb.stack.env").write_text(
28-
"LPB_PI_VERSION=0.84.4\n"
34+
"LPB_PI_VERSION=0.85.1\n"
2935
"LPB_CONFIG_FORK=https://github.com/lpb-stack/config.git\n"
3036
"LPB_CONFIG_REF=main\n"
3137
"LPB_IMAGE_CLI=ghcr.io/lpb-stack/devstack:cli\n"
@@ -70,21 +76,23 @@ def test_build_load_env_expands_home(tmpdir):
7076

7177

7278
def test_build_build_args_with_fake_git(tmpdir):
79+
pi_ver = "0.85.1"
7380
env = {
74-
"LPB_PI_VERSION": "0.84.4",
81+
"LPB_PI_VERSION": pi_ver,
7582
"LPB_CONFIG_FORK": "cfg", "LPB_CONFIG_REF": "main",
7683
"LPB_NODE_VERSION": "24", "LPB_VSCODIUM_VERSION": "v",
7784
"LPB_IMAGE_CLI": "cli", "LPB_IMAGE_WEB": "web",
7885
}
7986
(tmpdir / "VERSION").write_text("0.9.9-test\n")
8087
runner = _fake_runner({
81-
"ls-remote": ("abc123HEAD...\trefs/tags/v0.84.4\n", 0),
88+
f"ls-remote https://github.com/earendil-works/pi.git refs/tags/v{pi_ver}": (
89+
"abc123HEAD...\trefs/tags/v" + pi_ver + "\n", 0),
8290
"rev-parse": ("beef123\n", 0),
8391
})
8492
now = datetime.datetime(2026, 8, 10, 12, 0, 0, tzinfo=datetime.timezone.utc)
8593
args = build.build_args(env, root=tmpdir.path, now=now, runner=runner)
8694
flat = " ".join(args)
87-
assert "PI_VERSION=0.84.4" in flat
95+
assert f"PI_VERSION={pi_ver}" in flat
8896
assert "PI_HEAD_SHA=abc123HEAD..." in flat
8997
assert "IMAGE_REVISION=beef123" in flat
9098
assert "IMAGE_BUILT=2026-08-10T12:00:00Z" in flat
@@ -94,7 +102,7 @@ def test_build_build_args_with_fake_git(tmpdir):
94102

95103
def test_build_build_args_git_fail(tmpdir):
96104
env = {
97-
"LPB_PI_VERSION": "0.84.4",
105+
"LPB_PI_VERSION": "0.85.1",
98106
"LPB_CONFIG_FORK": "cfg", "LPB_CONFIG_REF": "main",
99107
"LPB_NODE_VERSION": "24", "LPB_VSCODIUM_VERSION": "v",
100108
"LPB_IMAGE_CLI": "cli", "LPB_IMAGE_WEB": "web",

0 commit comments

Comments
 (0)