fix(deploy): preflight CF Workers deploys — fail fast on missing forgejo repo / cloudflare integration #26
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
gmackie/ForgeGraph!26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/deploy-preflight"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part 1 of fixing deploy confusion (linear-clone repro). Deploys were accepted and recorded as
pendingeven when prerequisites were missing, then failed opaquely later in the agent — users saw nothing or a cryptic async failure.Adds a preflight for
cloudflare-workersdeploys inPOST /api/fg/deploythat returns 422 with actionable guidance when:The messages point at the exact fix (
forge repo create,forge creds set cloudflare ...). Logic is a pure, unit-tested function (lib/deploy-preflight.ts, 6 tests).Follow-ups (same investigation): monorepo working-dir support in the agent CF deploy,
forge setupCF Workers scaffolding (+ ensure-forgejo-repo), and cleaning up linear-clone.api + web typecheck; preflight tests pass.
🤖 Generated with Claude Code
forge app create#29