Wanderer big step v0.20.0 -> v0.21.2 (bench + box + undo proven): PocketBase internal, inbound federation off, sign-up lock on PUT /api/v1/user, Meilisearch 384M; offered again (D59 ends, operator); Wanderer + Homepage fixtures; box_walk --to-definition (felhom.eu R-1335)
gates / gates (push) Successful in 44s

This commit is contained in:
admin committed 2026-10-28 14:06:25 +01:00
1 parent 0829994440
commit 1825247d0f
9 files changed
+248 -57

No files matched your search

+29
View File
@@ -1,3 +1,32 @@
## 2026-10-28 (afternoon, attended) — Wanderer offered again (D59 ends, operator's yes)
`lifecycle: available` — the operator's yes at the Wanderer STOP, after the big step below went live. Inbound federation
stays off (the operator kept it off at the same STOP).
## 2026-10-28 (afternoon, attended) — Wanderer's big step v0.20.0 → v0.21.2: PocketBase internal, inbound federation off (felhom.eu R-1335)
A NORMAL ladder step (D59 ruled v0.20 → v0.21 a big step — never the lane), pushed on the operator's yes at the STOP.
Wanderer stays `lifecycle: hidden` until the operator says it may be offered again. No box runs it.
- **The template, changed at v0.20.0 first (then the images moved):** `PUBLIC_POCKETBASE_URL=http://wanderer-db:8090`, and
PocketBase is no longer routed to the internet (no `hike-db` name, no `SUBDOMAIN_DB` field). The browser never needed
it: files come through the web's own `/api/v1/files/...` in v0.20.0 and v0.21.2 (read in the sources), and upstream
says since v0.21.1 the db must not be reachable from outside. The public name also served PocketBase's admin page.
`POCKETBASE_PROXY_SECRET` (new and „required" in v0.21) is deliberately NOT set: without it Wanderer rejects every
inbound ActivityPub delivery (fail closed, upstream's docs) — the route GHSA-fprh-3pp9-68m9 abused. The sign-up lock
also blocks `PUT /api/v1/user` (the web's own sign-up route, in v0.20.0 too, which the lock missed).
- **Proof:** bench 9401 `proven` (a user and a private list read back after; the abort puts v0.20.0 back and it serves
the data); box 9202 `proven` (the guarded Update in 78 s, the seed read back, soak 600 s); **the undo proven on 9202**
(v0.21.2 with failing checks: the box undid it in 28 s, v0.20.0 runs and the seed reads back). The step is marked
`memory_tight`: Meilisearch peaked at 92–100 % of its 256 MB on both venues, so its limit is now **384 MB** (the app
1 152 MB) and the bench re-ran: still 88.8 % anon — Meilisearch sizes its indexing memory from what it is given; no kill
on any run. `test-record-move` asks for exactly this (a raised limit + a new memory watch); a cap on its indexing memory
is the follow-up (felhom.eu register).
- **Fixture:** `scripts/upgrade_fixtures_box.py` `Wanderer` (sign-up, sign-in, a private list through the app's API; the
actor from the profile route). The bench's PUBLIC_POCKETBASE_URL override for wanderer is gone (the template does it).
- **`scripts/box_walk.py --to-definition DIR`:** a definition step's drill commit takes DIR's whole definition (its
images must be TO) — for steps that change more than image lines. `test_box_walk_drill_move.py` 8 checks.
- `guide-version` WARNs: the guide was checked against v0.20.0 (no browser here to re-check the labels).
## 2026-10-28 (day, attended) — HTTP2Shell lane batch 4: AdventureLog security-fix step v0.13.0 → v0.13.1, with a 300 s health-check start period (felhom.eu R-1332)
Pushed on the operator's yes at the batch-4 STOP.
+11 -11
View File
@@ -1,16 +1,16 @@
# REPORT — 2026-10-28: HTTP2Shell lane batch 4 — AdventureLog security-fix step v0.13.0 → v0.13.1 (CVE-2026-111497)
# REPORT — 2026-10-28: Wanderer's big step v0.20.0 → v0.21.2 (felhom.eu R-1335)
**What changed.** AdventureLog v0.13.1 (backend + frontend, Node.js 26.12.1, read from the image) as a security-fix
step, and its health checks get 300 s to start instead of 30 s. Pushed on the operator's yes. demo-hp runs AdventureLog
and takes the step at night. (Batches 1–3 today: `abf3db3`, `71e3fdf`, `651a991`.)
**What changed.** Wanderer moves to v0.21.2 as a normal ladder step. The template keeps PocketBase off the internet (no
second hostname, no database-subdomain question at install) and leaves inbound federation off (no
`POCKETBASE_PROXY_SECRET`, so v0.21 rejects every inbound delivery). The sign-up lock covers the web's sign-up route.
Wanderer stays hidden until the operator's word. Pushed on the operator's yes.
**Proof.** Box walk `--security` on 9202, run 4: `proven` — the guarded Update in 231 s, healthy, TO on all four
observables, no undo, no hold, a clean 600 s soak (peak 73.8 % anon), the seeded superuser read back. Runs 1 and 3
failed: Docker marked the slow-starting services unhealthy for about a minute and the walk read the state in it; a
10-second health record shows it, and shows the 300 s start period removes it (felhom.eu
`documentation/audits/runtime-fixes-2026-10-28/walks/adventurelog/`). Run 2 was inconclusive (the box's drill mirror
was stale; fixed in batch 3).
**Proof.** Bench `proven` with the abort; box 9202 `proven` (78 s Update, 600 s soak); the undo proven on 9202 (28 s back
to v0.20.0, the seed reads back). Evidence: felhom.eu `documentation/audits/dockerhub-bigsteps-2026-10-28/wanderer/`.
Meilisearch ran at 92–100 % of 256 MB, so its limit is 384 MB now; re-measured on the bench: 88.8 % (it sizes itself to
its limit; `memory_tight`, no kill). Wanderer is offered again (D59 ends) and inbound federation stays off — both the
operator's yes at the STOP.
**Gates.** `catalog_gates.py --fast adventurelog`: all OK.
**Gates.** `catalog_gates.py --fast wanderer`: all OK (guide-version WARN). Script tests: box-walk 8, ladder writer, bench OK.
Findings go to felhom.eu `OPEN-ITEMS.md` (R-391).
+37 -5
View File
@@ -388,12 +388,27 @@ def backup_now(name):
say(f" [4] backup press SKIPPED for {name} (R-648: whole-box only; the update's backing-up phase backs up {name} alone)")
return None
def drill_bump(app, frm, to, service_hint=None):
"""Serialised across concurrent walks: one git working tree, one lock."""
def drill_bump(app, frm, to, service_hint=None, definition=None):
"""Serialised across concurrent walks: one git working tree, one lock. `definition` = (dir, TO map): the drill commit
takes that whole definition instead of moving image lines (a definition step)."""
import fcntl
with open(f"{SC}/drill.lock", "w") as lk:
fcntl.flock(lk, fcntl.LOCK_EX)
sh(["git", "-C", DRILL, "pull", "-q", "--rebase", "origin", "main"], timeout=120)
if definition:
c, y, why = definition_files(definition[0], definition[1], datetime.now().strftime("%Y-%m-%d"))
if why:
say(f" [5] {why}")
return None
open(f"{DRILL}/templates/{app}/docker-compose.yml", "w").write(c)
open(f"{DRILL}/templates/{app}/.felhom.yml", "w").write(y)
sh(["git", "-C", DRILL, "add", "-A"])
sh(["git", "-C", DRILL, "commit", "-q", "-m", f"DRILL {app}: {frm} -> {to} (definition {definition[0]})"])
r = sh(["git", "-C", DRILL, "push", "-q", "origin", "main"], timeout=120)
h = sh(["git", "-C", DRILL, "rev-parse", "--short=12", "HEAD"]).stdout.strip()
say(f" [5] drill commit {h}: {app} -> the definition in {definition[0]} (push rc={r.returncode})")
refresh_box_mirror()
return h
return _drill_bump(app, frm, to, service_hint)
@@ -413,6 +428,19 @@ def move_images(s, froms, tos):
return out, None
def definition_files(ddir, to, today):
"""A DEFINITION step (more than image lines: an entrypoint, an init flag, a removed field — R-762's shape): the TO
compose and .felhom.yml from `ddir`, catalog_since set to `today`. Returns (compose, felhom, None), or (None, None, why)
when the definition's images are not the walk's TO. Pinned by test_box_walk_drill_move.py."""
c = open(os.path.join(ddir, "docker-compose.yml")).read()
y = open(os.path.join(ddir, ".felhom.yml")).read()
imgs = images_of(c)
if imgs != to:
return None, None, f"the definition in {ddir} names {imgs}, the walk's TO is {to}"
y = re.sub(r'^catalog_since:.*$', f'catalog_since: "{today}"', y, count=1, flags=re.M)
return c, y, None
def _drill_bump(app, frm, to, service_hint=None):
"""Commit the edge to the DRILL repo. catalog_since set by hand (the drill repo has no gates).
@@ -770,7 +798,7 @@ def setup_gate_probe(sub):
return out
def security_walk(app, frm, to, evdir, soak_s=SOAK_DEFAULT_S, values=None):
def security_walk(app, frm, to, evdir, soak_s=SOAK_DEFAULT_S, values=None, definition=None):
"""`box_walk.py --security <app> --from <svc=ref,…> --to <svc=ref,…> --ev <dir> [--soak N] [--value K=V …]` — the BOX venue of a
security-fix step (`09` §3 decision 255, D39 = B), on scratch guest 9202 pointed at the DRILL catalog, through the
product's own endpoints only:
@@ -840,7 +868,9 @@ def security_walk(app, frm, to, evdir, soak_s=SOAK_DEFAULT_S, values=None):
rec["seed"] = "read_back"
froms = ",".join(frm[s] for s in sorted(frm) if frm[s] != to.get(s))
tos = ",".join(to[s] for s in sorted(frm) if frm[s] != to.get(s))
rec["drill_commit"] = drill_bump(app, froms, tos)
if definition:
rec["to_definition"] = definition
rec["drill_commit"] = drill_bump(app, froms, tos, definition=(definition, to) if definition else None)
if not rec["drill_commit"]:
return finish("inconclusive", "the drill could not be moved FROM -> TO")
moved = [s for s in sorted(to) if frm.get(s) != to[s]]
@@ -918,6 +948,8 @@ def main(argv):
ap.add_argument("--to", required=True, help="svc=ref,… the step moves to")
ap.add_argument("--ev", required=True, help="evidence directory")
ap.add_argument("--soak", type=int, default=SOAK_DEFAULT_S)
ap.add_argument("--to-definition", dest="to_definition", default=None, metavar="DIR",
help="a definition step: the drill takes DIR's docker-compose.yml + .felhom.yml (images must be TO)")
ap.add_argument("--value", action="append", default=[], metavar="KEY=VAL",
help="a deploy field the wizard would get from the household (e.g. HDD_PATH=<the drive>)")
a = ap.parse_args(argv)
@@ -926,7 +958,7 @@ def main(argv):
print("box_walk: --from and --to must name the same services")
return 2
vals = dict(v.split("=", 1) for v in a.value if "=" in v)
return security_walk(a.security, frm, to, a.ev, a.soak, vals or None)
return security_walk(a.security, frm, to, a.ev, a.soak, vals or None, definition=a.to_definition)
if __name__ == "__main__":
+1 -3
View File
@@ -3364,8 +3364,6 @@
"deploy_fields[POCKETBASE_ENCRYPTION_KEY].label": "Adatbázis titkosítási kulcs",
"deploy_fields[SUBDOMAIN].description": "Az alkalmazás aldomainje",
"deploy_fields[SUBDOMAIN].label": "Aldomain",
"deploy_fields[SUBDOMAIN_DB].description": "A PocketBase adatbázis aldomainje - a böngésző KÖZVETLENÜL ezt hívja, ezért saját nevet kap",
"deploy_fields[SUBDOMAIN_DB].label": "Adatbázis aldomain",
"description": "Túra tervező és nyomkövetéssel"
},
"wger": {
@@ -3587,7 +3585,7 @@
"uptime-kuma": "user guide added (app guides 2026-10-15): every label checked against the app at its pinned tag",
"vaultwarden": "user guide added (app guides 2026-10-15): every label checked against the app at its pinned tag",
"vikunja": "user guide added (app guides 2026-10-15): every label checked against the app at its pinned tag",
"wanderer": "user guide added (app guides 2026-10-15): every label checked against the app at its pinned tag",
"wanderer": "2026-10-28 (felhom.eu R-1335): the SUBDOMAIN_DB field is removed with the public PocketBase route (upstream v0.21.1: the db must not be reachable from outside); its two strings go, nothing else moves",
"wger": "user guide added (app guides 2026-10-15): every label checked against the app at its pinned tag",
"wishlist": "user guide added (app guides 2026-10-15): every label checked against the app at its pinned tag",
"zipline": "user guide added (app guides 2026-10-15): every label checked against the app at its pinned tag"
+16
View File
@@ -53,6 +53,22 @@ class DrillMove(unittest.TestCase):
self.assertIn("refresh_box_mirror()", body, "security_walk installs FROM without loading the drill into the box")
self.assertLess(body.index("refresh_box_mirror()"), body.index("deploy(app, sub, values)"))
def test_definition_step_takes_the_whole_definition(self):
import tempfile
d = tempfile.mkdtemp()
comp = "services:\n seerr:\n image: ghcr.io/seerr-team/seerr:v3.5.1\n init: true\n"
open(os.path.join(d, "docker-compose.yml"), "w").write(comp)
open(os.path.join(d, ".felhom.yml"), "w").write('display_name: "Seerr"\ncatalog_since: "2026-01-01"\n')
c, y, why = w.definition_files(d, {"seerr": "ghcr.io/seerr-team/seerr:v3.5.1"}, "2026-10-28")
self.assertIsNone(why)
self.assertEqual(c, comp)
self.assertIn('catalog_since: "2026-10-28"', y)
c, y, why = w.definition_files(d, {"seerr": "ghcr.io/seerr-team/seerr:v3.4.0"}, "2026-10-28")
self.assertIsNotNone(why) # the definition's images must be the walk's TO
def test_cli_has_to_definition(self):
self.assertIn('"--to-definition"', open(w.__file__).read())
def test_mover_uses_move_images(self):
self.assertIn("move_images(s, froms, tos)", open(w.__file__).read(), "_drill_bump no longer calls move_images")
+3 -3
View File
@@ -162,9 +162,9 @@ LOAD_CONCURRENCY = 4
# only address it reads — measured in the v0.20.0 and v0.21.0 images), which the bench has no name or certificate for;
# on a box traefik answers it. The bench points it at the database's own container instead. Every verdict that used an
# override carries it (`bench_overrides`), so the difference from a box is on the record, never silent.
BENCH_ENV_OVERRIDES = {
"wanderer": {"wanderer": {"PUBLIC_POCKETBASE_URL": "http://wanderer-db:8090"}},
}
# 2026-10-28 (felhom.eu R-1335): wanderer's TEMPLATE now points PUBLIC_POCKETBASE_URL at its database container (no
# public PocketBase), so the bench needs no override for it any more — the bench and the box run the same definition.
BENCH_ENV_OVERRIDES = {}
def apply_bench_overrides(app: str, compose_text: str) -> str:
+124
View File
@@ -1658,6 +1658,128 @@ def _set_cookies(out):
pairs = re.findall(r"(?im)^set-cookie:\s*([^=;\s]+=[^;\r\n]*)", out or "")
return "; ".join(pairs)
# =============================================================================================
class Homepage:
"""Homepage stores no household data through any route (a dashboard rendered from its config files); what it DOES
keep is the configuration it writes into its volume at first start. So the „seed" plants nothing: it reads the
dashboard's own `/api/services` and `/api/bookmarks` (both routes in v1.13.2 and v2.7.0, read in the sources
2026-10-28) at FROM, and the read-back asks for the same group and entry names after the update — the config
survived and the new version still renders it. An empty list at FROM is no seed (nothing to compare)."""
sub = "home"
route = "GET /api/services and /api/bookmarks (the first-start configuration, read through the app)"
@staticmethod
def _names(out):
try:
d = json.loads((out or "").strip() or "[]")
except ValueError:
return None
names = []
for g in d if isinstance(d, list) else []:
names.append(str(g.get("name")))
for e in g.get("services") or g.get("bookmarks") or []:
names.append("%s/%s" % (g.get("name"), e.get("name") if isinstance(e, dict) else e))
return sorted(names)
def _read(self, w, sub):
got = {}
for path in ("/api/services", "/api/bookmarks"):
rc, code, out = w.app_curl(sub, path)
got[path] = self._names(out) if code == "200" else None
return got
def seed(self, w, sub, say):
if not w.wait_app(sub, "/", want=("200",), tries=72):
return None
got = self._read(w, sub)
say(f" homepage: first-start config read: services={got['/api/services']} bookmarks={got['/api/bookmarks']}")
if not got["/api/services"] or got["/api/bookmarks"] is None:
return None
return got
def verify(self, w, sub, t, say):
if not w.wait_app(sub, "/", want=("200",), tries=72):
return False
got = self._read(w, sub)
ok = got == t
say(f" homepage: the same services and bookmarks after: {ok} ({got['/api/services']})")
return ok
# =============================================================================================
class Wanderer:
"""Wanderer's OWN web API (the SvelteKit server in front of PocketBase), the routes its UI calls — measured in the
v0.20.0 and v0.21.2 sources (2026-10-28): `PUT /api/v1/user` signs up (the household's first-run route; closed by
PUBLIC_DISABLE_SIGNUP after the setup), `POST /api/v1/auth/login` answers the record and sets the `pb_auth` cookie,
`PUT /api/v1/list` stores a private list whose `author` is the user's `actor` (as `list_store.ts` sends it).
Read-back: sign in again, `GET /api/v1/list/<id>` names the list; a wrong password must be refused."""
sub = "hike"
route = "PUT /api/v1/user, POST /api/v1/auth/login, PUT /api/v1/list, GET /api/v1/list/<id>"
@staticmethod
def _json(out):
body = (out or "").split("\r\n\r\n")[-1].split("\n\n")[-1]
try:
return json.loads(body)
except ValueError:
return {}
def _login(self, w, sub, u, pw):
rc, code, out = w.app_curl(sub, "/api/v1/auth/login", "-D", "-", "-H", "Content-Type: application/json",
"-H", f"Origin: https://{sub}.{w.DOMAIN}",
data=json.dumps({"username": u, "password": pw}), method="POST")
return code, _set_cookies(out), self._json(out)
def seed(self, w, sub, say):
if not w.wait_app(sub, "/", want=("200", "302", "303"), tries=72):
return None
u = "drill" + secrets.token_hex(4)
pw = "Drill-" + secrets.token_hex(8)
rc, code, out = w.app_curl(sub, "/api/v1/user", "-H", "Content-Type: application/json",
"-H", f"Origin: https://{sub}.{w.DOMAIN}",
data=json.dumps({"username": u, "email": u + "@example.invalid", "password": pw,
"passwordConfirm": pw}), method="PUT")
# the sign-up also asks PocketBase to mail a verification; with no SMTP that half may fail AFTER the user exists
say(f" wanderer: sign-up http={code}")
code, ck, rec = self._login(w, sub, u, pw)
actor = ((rec or {}).get("record") or {}).get("actor")
for h in ("@" + u, u): # the login record carries no actor (v0.20.0); the profile route answers it
if actor or code != "200":
break
rc, pc, out = w.app_curl(sub, "/api/v1/profile/" + h, "-H", f"Cookie: {ck}")
actor = (self._json(out).get("actor") or {}).get("id") if pc == "200" else None
if code != "200" or not ck or not actor:
say(f" wanderer: sign-in after sign-up http={code} cookie={bool(ck)} actor={bool(actor)}")
return None
name = "Drill-" + secrets.token_hex(5)
rc, code, out = w.app_curl(sub, "/api/v1/list", "-H", "Content-Type: application/json", "-H", f"Cookie: {ck}",
"-H", f"Origin: https://{sub}.{w.DOMAIN}",
data=json.dumps({"name": name, "public": False, "description": "drill",
"trails": [], "author": actor}), method="PUT")
lid = self._json(out).get("id") if code == "200" else None
say(f" wanderer: seeded user {u} and private list {name} http={code} id={bool(lid)}")
if not lid:
say(f" wanderer: list refused {out[:200]}")
return None
return {"u": u, "pw": pw, "name": name, "id": lid}
def verify(self, w, sub, t, say):
if not w.wait_app(sub, "/", want=("200", "302", "303"), tries=72):
return False
bad, _, _ = self._login(w, sub, t["u"], "wrong-" + secrets.token_hex(6))
if bad == "200":
say(" wanderer: READBACK UNUSABLE — a wrong password signed in")
return False
code, ck, _ = self._login(w, sub, t["u"], t["pw"])
if code != "200" or not ck:
say(f" wanderer: sign-in as the seeded user http={code}")
return False
rc, code, out = w.app_curl(sub, "/api/v1/list/" + t["id"], "-H", f"Cookie: {ck}")
ok = code == "200" and self._json(out).get("name") == t["name"]
say(f" wanderer: sign-in ok (wrong password refused: http {bad}); the private list read back http={code} ok={ok}")
return ok
class Sparkyfitness:
"""SparkyFitness's OWN better-auth API: `POST /api/auth/sign-up/email` makes the first account (the
@@ -3151,6 +3273,8 @@ FIXTURES = {
"vikunja": Vikunja(),
"opengist": OpenGist(),
"papra": Papra(),
"wanderer": Wanderer(),
"homepage": Homepage(),
"mealie": Mealie(),
"n8n": N8n(),
"zipline": Zipline(),
+12 -18
View File
@@ -10,17 +10,16 @@ subdomain: "hike"
slug: "wanderer"
# catalog_since: the date THIS repo last changed this app's pinned images. Any commit that
# changes an image: line must set this to the same day (see CLAUDE.md).
catalog_since: "2026-07-21"
catalog_since: "2026-10-28"
# D59 (operator 2026-10-27 21:33, felhom.eu `09` §3 decision 275; R-1313): hidden until Wanderer's big step is done —
# v0.20.0 lets any ActivityPub server on the internet overwrite its records with no login. Hidden = not offered for new
# installs; an installed Wanderer keeps working in full (no box runs it on 2026-10-27). The big step un-hides it.
lifecycle: hidden
# D59 (operator 2026-10-27 21:33, felhom.eu `09` §3 decision 275; R-1313) hid Wanderer until its big step; the step to
# v0.21.2 is live and the operator ended D59 on 2026-10-28 (offered again; inbound federation stays off — see the compose).
lifecycle: available
# --- Resource hints (displayed on deploy screen) ---
resources:
mem_request: "350M"
mem_limit: "1024M"
mem_limit: "1152M"
pi_compatible: true
needs_hdd: false
@@ -40,14 +39,6 @@ deploy_fields:
locked_after_deploy: true
description: "Az alkalmazás aldomainje"
- env_var: SUBDOMAIN_DB
label: "Adatbázis aldomain"
type: subdomain
default: "hike-db"
required: true
locked_after_deploy: true
description: "A PocketBase adatbázis aldomainje - a böngésző KÖZVETLENÜL ezt hívja, ezért saját nevet kap"
- env_var: MEILI_MASTER_KEY
label: "Keresőmotor kulcs"
type: secret
@@ -70,7 +61,7 @@ deploy_fields:
# a stranger's POST /api/collections/users/records answered 200 — and PocketBase takes the collection by its id
# `_pb_users_auth_` and in ANY letter case, hence the case-insensitive pattern). After the household makes its account, the app
# page offers "Close sign-up now": both addresses answer "sign-up is closed", and wanderer's own switch goes on.
signup_block: "Path(`/register`) || (PathRegexp(`(?i)^/+api/+collections/+(users|_pb_users_auth_)/+records`) && Method(`POST`))"
signup_block: "Path(`/register`) || (PathRegexp(`(?i)^/+api/+v1/+user/*$`) && Method(`PUT`)) || (PathRegexp(`(?i)^/+api/+collections/+(users|_pb_users_auth_)/+records`) && Method(`POST`))"
after_setup:
env:
SIGNUP_CLOSED: "true"
@@ -212,9 +203,6 @@ i18n:
label: 'Search engine key'
- env_var: POCKETBASE_ENCRYPTION_KEY
label: 'Database encryption key'
- env_var: SUBDOMAIN_DB
label: 'Database subdomain'
description: 'The subdomain of the PocketBase database - the browser calls it DIRECTLY, so it gets a name of its own'
# --- Security watch (felhom.eu R-1303): where each image's security notices are published ---
# One line per image in docker-compose.yml; the grammar is in NEW-APP-CHECKLIST.md (1.10).
@@ -222,3 +210,9 @@ upstream:
flomp/wanderer-web: "github:open-wanderer/wanderer"
flomp/wanderer-db: "github:open-wanderer/wanderer"
getmeili/meilisearch: "github:meilisearch/meilisearch"
# update_ladder — the test record: one tested step per line, oldest first (JSON flow mappings,
# `09-update-architecture.md` §6.4 part 4). WRITTEN BY scripts/upgrade-test.py, never by hand;
# gated by scripts/check-test-record.py. An image: move without a proven entry here is refused.
update_ladder:
- {"from": {"wanderer": "flomp/wanderer-web:v0.20.0", "wanderer-db": "flomp/wanderer-db:v0.20.0", "wanderer-search": "getmeili/meilisearch:v1.36.0"}, "to": {"wanderer": "flomp/wanderer-web:v0.21.2", "wanderer-db": "flomp/wanderer-db:v0.21.2", "wanderer-search": "getmeili/meilisearch:v1.36.0"}, "digest": {"wanderer": "sha256:849f63732d3e751f077c1567bda77aebc68c8b5691271cb418e10efbcf2f364f", "wanderer-db": "sha256:2f8d7f29c2a473dce8e84b1a33ac3a692a21238c39b6757fa0e0162542d85865", "wanderer-search": "sha256:203a0854738be101bfdada825ac3cbf95e5681bc849757b6bc199e4cfae98faa"}, "verdict": "proven", "tested_at": "2026-10-28T13:05:29Z", "harness_version": 5, "evidence": "documentation/audits/dockerhub-bigsteps-2026-10-28/wanderer/bench", "box_evidence": "documentation/audits/dockerhub-bigsteps-2026-10-28/wanderer/box", "memory_peak_pct": 88.8, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": true}, "memory_basis": "anon", "memory_cgroup_peak_pct": 100.0}
+15 -17
View File
@@ -1,5 +1,5 @@
# Wanderer - Túra tervező és nyomkövetéssel
# Domain: ${SUBDOMAIN}.${DOMAIN} (web) + ${SUBDOMAIN_DB}.${DOMAIN} (PocketBase API)
# Domain: ${SUBDOMAIN}.${DOMAIN} (web only — PocketBase is internal since 2026-10-28)
# Database: PocketBase (wanderer-db) + Meilisearch (kereső)
# RAM: ~350M (mem_limit: 1024M összesen) | Pi-compatible: Yes
#
@@ -11,19 +11,23 @@
#
# Environment variables:
# DOMAIN - Your domain (e.g., demo-felhom.eu)
# SUBDOMAIN / SUBDOMAIN_DB - web and PocketBase hostnames
# SUBDOMAIN - the web hostname
# MEILI_MASTER_KEY - Keresőmotor kulcs (auto-generated)
# POCKETBASE_ENCRYPTION_KEY - PocketBase adatbázis kulcs (auto-generated, PONTOSAN 32 karakter)
#
# WHY TWO HOSTNAMES: `PUBLIC_POCKETBASE_URL` is a PUBLIC (browser-side) variable — the user's
# browser talks to PocketBase directly, so it cannot be an internal-only address. Upstream's own
# reverse-proxy example uses two hostnames for exactly this reason.
# ONE HOSTNAME (2026-10-28, felhom.eu R-1335): PocketBase is NOT routed to the internet any more. The web server is the
# only caller of `PUBLIC_POCKETBASE_URL` — files reach the browser through the web's own `/api/v1/files/...` route (read
# in the v0.20.0 and v0.21.2 sources) — and upstream says since v0.21.1 that the db service must not be reachable from
# outside (its sample binds it to 127.0.0.1). The old public `hike-db` name also served PocketBase's admin page.
# NO POCKETBASE_PROXY_SECRET, on purpose: v0.21+ authenticates inbound ActivityPub deliveries between web and db with
# it, and without it inbound federation is REJECTED (fail closed, upstream's own docs). A household's Wanderer is a
# family instance; a stranger's server pushing into it is exactly what GHSA-fprh-3pp9-68m9 abused (D59).
services:
wanderer:
# container_name MUST equal the stack dir name — the controller's health probe finds the
# Traefik-exposed container by that exact name (REUSE.md §2).
image: flomp/wanderer-web:v0.20.0
image: flomp/wanderer-web:v0.21.2
container_name: wanderer
restart: unless-stopped
depends_on:
@@ -36,7 +40,7 @@ services:
- MEILI_URL=http://wanderer-search:7700
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY}
- ORIGIN=https://${SUBDOMAIN}.${DOMAIN}
- PUBLIC_POCKETBASE_URL=https://${SUBDOMAIN_DB}.${DOMAIN}
- PUBLIC_POCKETBASE_URL=http://wanderer-db:8090
- BODY_SIZE_LIMIT=Infinity
# decision 47/48: open until the household closes sign-up (after_setup / close sign-up now)
- PUBLIC_DISABLE_SIGNUP=${SIGNUP_CLOSED:-false}
@@ -72,7 +76,7 @@ services:
wanderer-db:
# PocketBase (custom upstream build). Built FROM scratch — no shell, no package manager; a
# static curl is baked in at /curl, which is why the healthcheck calls that absolute path.
image: flomp/wanderer-db:v0.20.0
image: flomp/wanderer-db:v0.21.2
container_name: wanderer-db
restart: unless-stopped
depends_on:
@@ -90,7 +94,6 @@ services:
# integrations moved into a WASM plugin sandbox that lives here.
- wanderer_plugins:/data/plugins
networks:
- traefik-public
- wanderer-internal
deploy:
resources:
@@ -102,13 +105,6 @@ services:
timeout: 5s
retries: 10
start_period: 20s
labels:
- "traefik.enable=true"
- "traefik.http.routers.wanderer-db.rule=Host(`${SUBDOMAIN_DB}.${DOMAIN}`)"
- "traefik.http.routers.wanderer-db.entrypoints=websecure"
- "traefik.http.routers.wanderer-db.tls=true"
- "traefik.http.routers.wanderer-db.tls.certresolver=letsencrypt"
- "traefik.http.services.wanderer-db.loadbalancer.server.port=8090"
wanderer-search:
# Pinned to upstream's own v0.20.0 compose (R-42 ruling: a sidecar pin follows the app
@@ -127,7 +123,9 @@ services:
deploy:
resources:
limits:
memory: 256M
# 384M, not 256M (2026-10-28, felhom.eu R-1335): at 256M Meilisearch peaked at 92-100 % of its limit on the
# bench and on 9202 (the step's memory_tight mark); test-record-move asks for the room and a new memory watch.
memory: 384M
healthcheck:
test: ["CMD", "curl", "--fail", "http://127.0.0.1:7700/health"]
interval: 15s