gitflarePublicPartly agent-ready50
cf-workflows-pipeline
Durable content pipeline on Cloudflare Workflows: ingest, extract, summarise with Workers AI via AI Gateway, human approval, publish.
- LicenseApache-2.0
- LanguageTypeScript
- Last landed
629b2faOct 20, 2026
Fix pipeline runs failing at ingest (steps.attempt NOT NULL)
629b2faimport { el } from "./dom.js";import { formView } from "./view-form.js";import { runsView } from "./view-runs.js";import { detailView } from "./view-detail.js";const app = document.getElementById("app"); let cur;function go(path) { history.pushState({}, "", path); render(); }function render() { cur?.stop?.(); const p = location.pathname; let m; if ((m = p.match(/^\/runs\/([^/]+)$/))) cur = detailView(decodeURIComponent(m[1])); else if (p === "/runs") cur = runsView(go); else cur = formView(go); app.replaceChildren(cur); document.title = `${cur.querySelector("h1")?.textContent || "Pipeline"} · Mission control`; document.querySelectorAll("[data-nav]").forEach((a) => (a.getAttribute("href") === (p === "/runs" || p.startsWith("/runs/") ? "/runs" : "/") ? a.setAttribute("aria-current", "page") : a.removeAttribute("aria-current")));}document.addEventListener("click", (e) => { const a = e.target.closest?.("a"); if (!a || a.origin !== location.origin || e.metaKey || e.ctrlKey || a.pathname.startsWith("/p/") || a.target) return; e.preventDefault(); go(a.pathname); });addEventListener("popstate", render); render();