Skip to content

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

Commit

The status page no longer checks models.g1t.sh: the agents' model proxy it listed as "Agents' model proxy" was deleted with g1t's own agents, so every check of it failed. MODELS_URL is gone from the status Worker's vars, the self-hosted configuration and the tests. Sandboxes stay listed, for checks, workflows and builds, wherever the installation has deployments, and the page's description names sandboxes instead of agents. Checked: the status app's 85 tests and its typecheck.

syntaqxcommitted Parent8e158aaBrowse files
6 files+7−220/6 viewed
+2−14
1919 DOCS_URL: string;
2020 /** Where deployed apps live: `https://g1t.page`. */
2121 PAGES_URL: string;
22− MODELS_URL: string;
2322 /** A public repository that always exists, `owner/name`, to fetch refs of. */
2423 PROBE_REPO: string;
2524 /** The site as browsers reach it, when the checks reach it another way. */
9190 const mcp = trim(vars.MCP_URL);
9291 const docs = trim(vars.DOCS_URL);
9392 const pages = trim(vars.PAGES_URL);
94− const models = trim(vars.MODELS_URL);
9593 const repo = (vars.PROBE_REPO ?? "").trim();
9694 // What the page shows as the site's address: where people reach it.
9795 const shown = host(trim(vars.PUBLIC_SITE_URL) || site);
186184 check: { kind: "http", steps: [{ url: `${pages}/` }] },
187185 }
188186 : null,
189− models
190− ? {
191− key: "agents",
192− name: "Agents' model proxy",
193− address: host(models),
194− checks: "The proxy agents reach their model through. The model providers behind it are not checked.",
195− core: false,
196− check: { kind: "http", steps: [{ url: `${models}/` }] },
197− }
198− : null,
199− models
187+ pages
200188 ? {
201189 key: "sandboxes",
202190 name: "Sandboxes",
203− address: "Agents, checks, workflows and builds",
191+ address: "Checks, workflows and builds",
204192 checks: "Starting a sandbox costs money and takes seconds, so it is not checked from here yet.",
205193 core: false,
206194 check: { kind: "none" },
+1−2
2525 MCP_URL: "https://mcp.g1t.sh",
2626 DOCS_URL: "https://docs.g1t.sh",
2727 PAGES_URL: "https://g1t.page",
28− MODELS_URL: "https://models.g1t.sh",
2928 PROBE_REPO: "flagon-io/g1t",
3029 };
3130
188187 const all = components(VARS, true);
189188 assert.deepEqual(
190189 all.map((c) => c.key),
191− ["site", "api", "git", "speed", "mcp", "docs", "deployments", "agents", "sandboxes", "billing"],
190+ ["site", "api", "git", "speed", "mcp", "docs", "deployments", "sandboxes", "billing"],
192191 );
193192 const speed = all.find((c) => c.key === "speed")!;
194193 assert.deepEqual(speed.check, { kind: "http", steps: [{ url: "https://g1t.sh/flagon-io/g1t", browser: true }, { url: "https://g1t.sh/explore", browser: true }] });
+3−3
2828 SITE_URL: "https://g1t.sh",
2929 API_URL: "https://api.g1t.sh",
3030 DOCS_URL: "https://docs.g1t.sh",
31− MODELS_URL: "https://models.g1t.sh",
31+ PAGES_URL: "https://g1t.page",
3232 PROBE_REPO: "flagon-io/g1t",
3333 },
3434 false,
7575 });
7676
7777 test("the page: banner, every part with its bar, and no incidents", () => {
78− const html = renderPage(page({ site: "up", api: "up", git: "up", docs: "up", agents: "up" }), OPTIONS);
78+ const html = renderPage(page({ site: "up", api: "up", git: "up", docs: "up", deployments: "up" }), OPTIONS);
7979 assert.match(html, /<h1>All systems normal<\/h1>/);
8080 for (const name of ["Website and sign-in", "API", "Git and repositories", "Documentation", "Sandboxes"]) assert.ok(html.includes(name), name);
8181 assert.equal((html.match(/<ol class="bar"/g) ?? []).length, 5, "Sandboxes has no bar");
8989
9090 test("an outage and an open incident are said at the top, escaped", () => {
9191 const html = renderPage(
92− page({ site: "down", api: "up", git: "up", docs: "up", agents: "up" }, [
92+ page({ site: "down", api: "up", git: "up", docs: "up" }, [
9393 INCIDENT,
9494 ]),
9595 OPTIONS,
+1−1
353353 const past = incidents.filter((i) => i.resolved_at != null && Date.parse(i.resolved_at) >= recentSince);
354354 const inProgress = maintenance.filter((m) => maintenanceState(m, options.now) === "in_progress");
355355 const upcoming = maintenance.filter((m) => maintenanceState(m, options.now) === "scheduled");
356− const description = `${overall.title}. Live status of g1t: the website, API, git, MCP, docs, deployments, agents and billing, with 90 days of history.`;
356+ const description = `${overall.title}. Live status of g1t: the website, API, git, MCP, docs, deployments, sandboxes and billing, with 90 days of history.`;
357357 const checkedLine = checked_at
358358 ? stale
359359 ? `The checks have not run since ${time(checked_at, true)}, so what follows may be out of date.`
+0−1
5353 "MCP_URL": "https://mcp.g1t.sh",
5454 "DOCS_URL": "https://docs.g1t.sh",
5555 "PAGES_URL": "https://g1t.page",
56− "MODELS_URL": "https://models.g1t.sh",
5756 // A public repository that always exists, whose branches are listed
5857 // as a clone would.
5958 "PROBE_REPO": "flagon-io/g1t",
+0−1
390390 MCP_URL: "",
391391 DOCS_URL: "",
392392 PAGES_URL: "",
393− MODELS_URL: "",
394393 PROBE_REPO: process.env.STATUS_PROBE_REPO ?? "",
395394 SUPPORT_URL: `${PUBLIC_URL}/support`,
396395 OG_IMAGE: "",

Comments

Sign in to comment.