community page download links 404 for anonymous users (private coa-builds assets) #139

Open
opened 2026-09-06 05:41:50 +00:00 by ben · 0 comments
Owner

Community members cannot download installers: the poster page links 404 for anyone without GitHub org access.

coa.matou.nz/c/ngati-example links its five download CTAs straight at
github.com/matou-collective/coa-builds/releases/download/coa-ngati-example-v1/... (the asset
URLs the build-complete callback reports). coa-builds is a private repo, so those URLs
return 404 to anonymous users — verified 2026-09-06 with an unauthenticated request. The
phase-3 proof missed it because the tester's browser was logged into GitHub with org access.
Every community page built so far has broken download buttons for its actual audience.

Options (one needs ruling before a session can land this):

  1. coa-builds uploads assets to the shared MinIO; coa serves them at a stable
    coa.matou.nz/c/<slug>/downloads/<file> (vault already holds coa_shared_minio_* keys).
    Most work, best shape — a stable per-community URL is also the prerequisite for the
    auto-update feed (see the linked enhancement).
  2. coa proxies GitHub with a repo-read token (streaming, keeps GitHub as storage; token
    scope + egress on every download).
  3. Make coa-builds public (smallest change; exposes fixtures/workflow — probably fine —
    but per-community release assets become world-listable, and it does nothing for a stable
    feed URL).

Recommendation: option 1. Wherever the file lands, the poster-page template + callback
assets handling change together (schema AssetsSchema URLs stay http(s) — no schema change).

Found while proving coa#138 (2026-09-06).

**Community members cannot download installers: the poster page links 404 for anyone without GitHub org access.** `coa.matou.nz/c/ngati-example` links its five download CTAs straight at `github.com/matou-collective/coa-builds/releases/download/coa-ngati-example-v1/...` (the asset URLs the `build-complete` callback reports). coa-builds is a **private** repo, so those URLs return **404 to anonymous users** — verified 2026-09-06 with an unauthenticated request. The phase-3 proof missed it because the tester's browser was logged into GitHub with org access. Every community page built so far has broken download buttons for its actual audience. Options (one needs ruling before a session can land this): 1. **coa-builds uploads assets to the shared MinIO; coa serves them** at a stable `coa.matou.nz/c/<slug>/downloads/<file>` (vault already holds `coa_shared_minio_*` keys). Most work, best shape — a stable per-community URL is also the prerequisite for the auto-update feed (see the linked enhancement). 2. **coa proxies GitHub** with a repo-read token (streaming, keeps GitHub as storage; token scope + egress on every download). 3. **Make coa-builds public** (smallest change; exposes fixtures/workflow — probably fine — but per-community release assets become world-listable, and it does nothing for a stable feed URL). Recommendation: option 1. Wherever the file lands, the poster-page template + callback `assets` handling change together (schema `AssetsSchema` URLs stay http(s) — no schema change). Found while proving coa#138 (2026-09-06).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/coa#139
No description provided.