create-svc 0.1.64 → 0.1.65
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/package.json
CHANGED
|
@@ -231,11 +231,11 @@ async function runDoctor() {
|
|
|
231
231
|
return `${config.domain.hostname} -> ${target.serviceName}`;
|
|
232
232
|
});
|
|
233
233
|
await record(results, "deployment health", "fail", async () => {
|
|
234
|
-
const response = await fetchWithTimeout(`${serviceOrigin(target)}/
|
|
234
|
+
const response = await fetchWithTimeout(`${serviceOrigin(target)}/readyz`, 5_000);
|
|
235
235
|
if (!response.ok) {
|
|
236
|
-
throw new Error(`GET /
|
|
236
|
+
throw new Error(`GET /readyz returned ${response.status}`);
|
|
237
237
|
}
|
|
238
|
-
return "GET /
|
|
238
|
+
return "GET /readyz ok";
|
|
239
239
|
});
|
|
240
240
|
await record(results, "migration assets", "fail", async () => {
|
|
241
241
|
if (!(await Bun.file("./migrations/0000_init.sql").exists())) {
|