You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publish-server: decouple build from submit via an admin /admin/build endpoint (#30)
We can't build a bundle for every submission. /api/submit now just validates +
records a 'submitted' case (no build) and returns 202. Building is an explicit,
admin-token-gated action: POST /admin/build (guards submitted|build_failed →
building → async buildAsync → pending|build_failed). The case page shows a
'Build bundles' button that POSTs id + token (token injected from the admin
dashboard URL, same pattern as approve/reject). adminApprove still guards on
pending. New status: submitted. e2e-managed drives submit → /admin/build →
pending → approve (11/11 pass).
Co-authored-by: Alex Godoroja <alex@vulturelabs.io>
<pclass="muted" style="margin:0 0 8px">{{if eq (printf "%s" .C.Status) "build_failed"}}The last build failed — see the history below, then re-run it.{{else}}Submitted but not built yet. Build the per-platform bundles (runs in the background, ~a few seconds), then approve.{{end}}</p>
0 commit comments