gitea's Go bundles read the token gitea keeps when the vault refuses their account (design 47 H2, H-A-564) #747

Merged
mesh-tools merged 2 commits from fix/gitea-token-fallback into main 2026-11-23 12:16:02 +00:00
Member

Every package publish failed from about 11:45 CET: gitea's Go bundles (package-registry, forge) ask the vault for module/gitea/* from inside the tool runner and are refused (H-A-543). Until gitea runs as its own account, they fall back on that refusal alone to the token files gitea keeps (env lines back in module.json; default /var/lib/mesh/gitea/state when the manifest names none), saying the source once at start. Placed by hand on novox first (hot deploy #19).

Reviewed-by: mesh-code-reviewer for lead-47@shanks at 263b5d9aba

Every package publish failed from about 11:45 CET: gitea's Go bundles (package-registry, forge) ask the vault for module/gitea/* from inside the tool runner and are refused (H-A-543). Until gitea runs as its own account, they fall back on that refusal alone to the token files gitea keeps (env lines back in module.json; default /var/lib/mesh/gitea/state when the manifest names none), saying the source once at start. Placed by hand on novox first (hot deploy #19). Reviewed-by: mesh-code-reviewer for lead-47@shanks at 263b5d9aba7b5dbddd2219e07bfb130a7f6eff30
mesh-tools added 2 commits 2026-11-23 12:15:58 +00:00
Every package publish fails since about 11:45 CET: the package-registry and forge bundles ask the vault for
module/gitea/* from inside the tool runner, whose account the vault refuses (no module's account), and the
manifest since C4 hands them no token file. Until gitea runs as its own account, a bundle the vault refuses
reads the token gitea's TypeScript bundle keeps under its state directory (token, packages-token, each with
its scopes line naming the account), says once at start which source each token came from, and reads the
file again at each call. The manifest hands the two bundles MESH_GITEA_TOKEN_FILE and
MESH_GITEA_PACKAGES_TOKEN_FILE again. The fallback ends with gitea's own account.

Builds: design 47 H2 H-A-564 (hq 1b286366), H-A-543
The binary is placed by hand on novox first, under gitea 0.1.316's composition, which hands the Go bundles
neither MESH_GITEA_TOKEN_FILE nor MESH_GITEA_PACKAGES_TOKEN_FILE, nor any variable naming gitea's state
directory. Without them the fallback reads token and packages-token in /var/lib/mesh/gitea/state (the
manifest's runtime-state directory) and says at start that the path is the default; the manifest's
variables still win when handed.

Builds: design 47 H2 H-A-564 (hq 1b286366)
mesh-tools merged commit 841afa5853 into main 2026-11-23 12:16:02 +00:00
mesh-tools deleted branch fix/gitea-token-fallback 2026-11-23 12:16:04 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-catalog#747