From 70e0d3bd66ceb5cdc4082cf8b920f74625b9714d Mon Sep 17 00:00:00 2001 From: jaimergp Date: Thu, 9 Apr 2026 13:38:30 +0200 Subject: [PATCH 1/2] Add status watchers for Blacksmith and Namespace --- .../StatusDashboard/cloud_services.jsx | 24 ++++++++++++++----- src/constants.js | 10 ++++++++ 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/src/components/StatusDashboard/cloud_services.jsx b/src/components/StatusDashboard/cloud_services.jsx index 1aa37762f71..ef2f882c9c7 100644 --- a/src/components/StatusDashboard/cloud_services.jsx +++ b/src/components/StatusDashboard/cloud_services.jsx @@ -38,12 +38,24 @@ function Status({ api, link, title }) { void (async () => { try { const json = (await (await fetch(api)).json()); - const status = - typeof json.status === "object" // support StatusPage API - ? json.status.description - : typeof json.monitor === "object" // support UptimeRobot API - ? json.monitor.statusClass - : json.status || "unknown"; + let status; + if (title === "Blacksmith.sh") { + status = json + .components + .filter((comp) => comp.name === "Blacksmith Managed Runners")[0] + .status; + } else if (title === "Namespace.so") { + status = json.summary.affected_components.length > 0 + ? "Ongoing incident" + : "operational"; + } else { + status = + typeof json.status === "object" // support StatusPage API + ? json.status.description + : typeof json.monitor === "object" // support UptimeRobot API + ? json.monitor.statusClass + : json.status || "unknown"; + } setState({ status }); } catch (error) { console.warn(`error fetching data for ${title} – ${api}`, error); diff --git a/src/constants.js b/src/constants.js index e13e538f062..384ee81ed4c 100644 --- a/src/constants.js +++ b/src/constants.js @@ -38,6 +38,11 @@ export const urls = { link: "https://status.dev.azure.com/", title: "Azure DevOps", }, + blacksmith: { + api: "https://status.blacksmith.sh/v2/components.json", + link: "https://status.blacksmith.sh", + title: "Blacksmith.sh", + }, // circle: { // api: "https://status.circleci.com/api/v2/status.json", // link: "https://status.circleci.com", @@ -53,6 +58,11 @@ export const urls = { link: "https://www.githubstatus.com/", title: "GitHub", }, + namespace: { + api: "https://namespace-status.com/proxy/namespace-status.com", + link: "https://namespace-status.com/", + title: "Namespace.so", + }, prefix_dev: { api: "https://status.prefix.dev/api/getMonitorDetails/status.conda-forge.org?m=798888560", link: "https://status.prefix.dev", From 7e9b9293725780e27fef0d1fb0b56ff2cf47d0a3 Mon Sep 17 00:00:00 2001 From: jaimergp Date: Tue, 16 Jun 2026 12:25:18 +0200 Subject: [PATCH 2/2] Add Depot.dev --- src/components/StatusDashboard/cloud_services.jsx | 2 +- src/constants.js | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/StatusDashboard/cloud_services.jsx b/src/components/StatusDashboard/cloud_services.jsx index c9614b1a198..b593489d88f 100644 --- a/src/components/StatusDashboard/cloud_services.jsx +++ b/src/components/StatusDashboard/cloud_services.jsx @@ -45,7 +45,7 @@ function Status({ api, link, title }) { .components .filter((comp) => comp.name === "Blacksmith Managed Runners")[0] .status; - } else if (title === "Namespace.so") { + } else if (title === "Namespace.so" || title === "Depot.dev") { status = json.summary.affected_components.length > 0 ? "Ongoing incident" : "operational"; diff --git a/src/constants.js b/src/constants.js index 47cda1be7be..93e98b7972d 100644 --- a/src/constants.js +++ b/src/constants.js @@ -43,6 +43,11 @@ export const urls = { link: "https://status.blacksmith.sh", title: "Blacksmith.sh", }, + depot: { + api: "https://status.depot.dev/proxy/status.depot.dev", + link: "https://status.depot.dev", + title: "Depot.dev", + }, // circle: { // api: "https://status.circleci.com/api/v2/status.json", // link: "https://status.circleci.com",