sproutboat 0.4.4 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/SURFACE.md CHANGED
@@ -3,7 +3,7 @@
3
3
  > Generated by `src/surface.test.ts` from `src/surface.ts` + the pinned
4
4
  > toolchain constants. Do not edit by hand — run `UPDATE_SURFACE=1 bun test`.
5
5
 
6
- **Package:** `sproutboat` 0.4.4 · runs on Bun (use `bunx`, not `npx`)
6
+ **Package:** `sproutboat` 0.4.5 · runs on Bun (use `bunx`, not `npx`)
7
7
 
8
8
  ## Commands
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sproutboat",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "description": "Wrangler-shaped CLI for Sproutboat. Deploys workers to any control plane via --api-url / SPROUTBOAT_API_URL.",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/main.ts CHANGED
@@ -266,11 +266,10 @@ async function deploy(args: string[]) {
266
266
  console.warn(dim(` The previous live version stays frozen at ${drift.from}; this one is built with ${drift.to}.`));
267
267
  console.warn(dim(` The alpha compiler's output can differ between pins (see COMPAT.md) — roll back if this version misbehaves.`));
268
268
  }
269
- if (!args.includes("--no-wait")) {
270
- const healthy = await waitForHealthy(deployed.url, 90_000);
271
- console.log(healthy
272
- ? ` ${ok("serving")}`
273
- : amber(" ! not serving after 90s — Caddy may still be issuing the cert, or the sprout is crashing (`sproutboat tail`)"));
269
+ // Verify the edge actually answers (cert issuance + sprout boot). Say nothing
270
+ // on success "Deployed" already implied that; only speak up if it doesn't.
271
+ if (!args.includes("--no-wait") && !(await waitForHealthy(deployed.url, 90_000))) {
272
+ console.warn(amber(" ! not serving after 90s — Caddy may still be issuing the cert, or the sprout is crashing (`sproutboat tail`)"));
274
273
  }
275
274
  }
276
275