box_walk: HDD_PATH is the drive itself (R-839)
gates / gates (push) Successful in 51s

The deploy API refuses an HDD_PATH that is a folder inside a registered drive; the walk sent
DRIVE/<app> and got 409 on 9202 (2026-10-24, felhom.eu R-1250 live proof).
This commit is contained in:
admin committed 2026-10-24 13:36:27 +02:00
1 parent 3d98779869
commit 7de554e954
4 files changed
+41 -15

No files matched your search

+7 -2
View File
@@ -270,7 +270,8 @@ def wait_app(sub, path="/", want=("200", "302", "303", "401", "403"), tries=60,
# ------------------------------------------------------------------ the walk
DRIVE = "/mnt/felhom-drives/scratch_hdd/userdata"
DRIVE_ROOT = "/mnt/felhom-drives/scratch_hdd" # the registered drive: what an HDD_PATH must name (R-839)
DRIVE = DRIVE_ROOT + "/userdata"
# What THIS run generated for a deploy, per app. Deploy secrets are ENCRYPTED AT REST in
# `app.yaml` (`ENC:…`), which is right and which means a fixture cannot read an app's admin
@@ -309,7 +310,11 @@ def deploy_values(name, sub, given=None):
# caller that trusts the contract gets a 400. Measured tonight on grafana; filed.
if not f.get("required") and ty != "password":
continue # the controller generates the optional secrets itself
if ty == "path":
if ty == "path" and ev == "HDD_PATH":
# R-839 (controller): the deploy API refuses an HDD_PATH that is a folder INSIDE a registered drive —
# the app's data place is the drive itself. Measured 2026-10-24: DRIVE/<app> came back 409.
values[ev] = DRIVE_ROOT
elif ty == "path":
p = f"{DRIVE}/{name}"
values[ev] = p
made.append(p)