Skip to content

gitflarePublicPartly agent-ready50

cf-workflows-pipeline

Durable content pipeline on Cloudflare Workflows: ingest, extract, summarise with Workers AI via AI Gateway, human approval, publish.

Fix pipeline runs failing at ingest (steps.attempt NOT NULL)629b2fa
JSON with comments36 lines1.9 KB
{  "$schema": "node_modules/wrangler/config-schema.json",  "name": "cf-workflows-pipeline",  "main": "src/index.ts",  "compatibility_date": "2026-10-06",  "compatibility_flags": ["nodejs_compat"],  "observability": { "enabled": true },  "assets": { "directory": "./public", "binding": "ASSETS", "run_worker_first": ["/runs", "/runs/*", "/p/*"] },  "vars": { "AI_GATEWAY_ID": "gitflare" },  "ai": { "binding": "AI" },  "d1_databases": [{ "binding": "DB", "database_name": "cf-workflows-pipeline", "migrations_dir": "migrations" }],  "workflows": [{ "name": "content-pipeline", "binding": "PIPELINE", "class_name": "ContentPipeline" }],  "env": {    "staging": {      "vars": { "AI_GATEWAY_ID": "gitflare" },      "ai": { "binding": "AI" },      "assets": { "directory": "./public", "binding": "ASSETS", "run_worker_first": ["/runs", "/runs/*", "/p/*"] },      "d1_databases": [{ "binding": "DB", "database_name": "cf-workflows-pipeline-staging", "migrations_dir": "migrations" }],      "workflows": [{ "name": "content-pipeline-staging", "binding": "PIPELINE", "class_name": "ContentPipeline" }]    },    "production": {      "vars": { "AI_GATEWAY_ID": "gitflare" },      "ai": { "binding": "AI" },      "assets": { "directory": "./public", "binding": "ASSETS", "run_worker_first": ["/runs", "/runs/*", "/p/*"] },      "d1_databases": [{ "binding": "DB", "database_name": "cf-workflows-pipeline-production", "migrations_dir": "migrations" }],      "workflows": [{ "name": "content-pipeline-production", "binding": "PIPELINE", "class_name": "ContentPipeline" }]    }  },  "previews": {    "vars": { "AI_GATEWAY_ID": "gitflare" },    "ai": { "binding": "AI" },    "d1_databases": [{ "binding": "DB", "database_name": "cf-workflows-pipeline-preview", "migrations_dir": "migrations" }],    "workflows": [{ "name": "content-pipeline-preview", "binding": "PIPELINE", "class_name": "ContentPipeline" }]  }}