"go: command not found". Go sits in a directory the operator's .zprofile adds and a script does not inherit, so the very first step of the deploy failed for a reason having nothing to do with the deploy. Found the only way it could be - by somebody running it - and a deploy that needs the operator to fix their environment before it works is a deploy that gets skipped, which is the failure this script exists to end. It now looks in the three places Go actually lands and says so plainly if it finds none. Step 7 also verified five routes and none of them were the nine that shipped in the last two commits. It checks all of them now, and treats 401 as a PASS on purpose: an unauthenticated call to a route that exists is refused, while a route the binary never registered is a 404. That makes this step prove the ROUTING rather than the auth - which is precisely what a deploy gets wrong, and what otherwise surfaces weeks later as a console reporting "Backend integration required" against an API that had already shipped. A missing route now fails the deploy loudly instead of printing a number nobody reads. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KGcjxF1cNLcuwc3DAPcnfj
5.4 KiB
Executable File
5.4 KiB
Executable File