- Cloudflare account created and verified
- Render deployment running (https://jaegis-raverse.onrender.com)
- Node.js 18+ installed
- Wrangler CLI installed globally:
npm install -g wrangler - Git configured with GitHub credentials
cd C:/Users/Lenovo\ ThinkPad\ T480/Desktop/RAVERSE/workflows-starter
git statusnpm install
# or
pnpm installnpx wrangler login
# Follow browser prompt to authorizenpm run kv:create
# Creates RAVERSE_CACHE and WORKFLOW_STATE namespacesnpm run db:create
# Creates raverse-workflows databasenpm run db:init
# Initializes all tables and views# Set OpenRouter API key
npx wrangler secret put OPENROUTER_API_KEY
# Paste your API key when prompted
# Set RAVERSE auth token (if needed)
npx wrangler secret put RAVERSE_AUTH_TOKEN
# Paste your token when promptednpm run dev
# Server runs on http://localhost:8787curl http://localhost:8787/healthcurl "http://localhost:8787/?type=binary-analysis&binaryPath=/test/binary"npm run test:integrationnpm run buildnpm run deploy
# Deploys to https://raverse-workflows.use-manus-ai.workers.dev# Check health
curl https://raverse-workflows.use-manus-ai.workers.dev/health
# Create workflow instance
curl "https://raverse-workflows.use-manus-ai.workers.dev/?type=binary-analysis"
# Check instance status
curl "https://raverse-workflows.use-manus-ai.workers.dev/?instanceId=<id>&type=binary-analysis"npx wrangler tail- Go to Cloudflare Dashboard
- Navigate to Workers → Workflows
- View workflow instances and execution history
- Cloudflare Dashboard → Workers → KV
- Monitor RAVERSE_CACHE and WORKFLOW_STATE usage
- Cloudflare Dashboard → Workers → D1
- Check raverse-workflows database performance
Edit wrangler.jsonc:
"vars": {
"CACHE_TTL_SECONDS": "3600"
}"vars": {
"MAX_RETRIES": "3",
"RETRY_DELAY_MS": "1000"
}"vars": {
"WORKFLOW_TIMEOUT_MINUTES": "30"
}curl https://jaegis-raverse.onrender.com/healthcurl -X POST "https://raverse-workflows.use-manus-ai.workers.dev/" \
-H "Content-Type: application/json" \
-d '{
"type": "binary-analysis",
"binaryPath": "/path/to/binary",
"analysisType": "comprehensive"
}'curl -X POST "https://raverse-workflows.use-manus-ai.workers.dev/" \
-H "Content-Type: application/json" \
-d '{
"type": "multi-step-analysis",
"binaryPath": "/path/to/binary",
"steps": [
{"name": "disassembly", "type": "disassembly", "config": {}},
{"name": "pattern", "type": "pattern", "config": {"dependsOn": ["disassembly"]}}
]
}'# View deployment history
npx wrangler deployments list
# Rollback to specific version
npx wrangler rollback --version <version-id># Disable all workflows
npx wrangler publish --env production --dry-run- Update README.md with deployment info
- Document custom workflows
- Create runbooks for common issues
- Document monitoring procedures
- Train team on deployment process
- Document troubleshooting procedures
- Create escalation procedures
- Set up on-call rotation
- Check error rates
- Monitor performance metrics
- Verify cache hit rates
- Check database performance
- Adjust cache TTL if needed
- Optimize retry strategy
- Fine-tune timeout values
- Update workflow configurations
- Check Wrangler authentication:
npx wrangler whoami - Verify account ID in wrangler.jsonc
- Check for syntax errors:
npm run build
- Verify KV namespaces are created
- Check D1 database is initialized
- Review workflow logs:
npx wrangler tail
- Check cache hit rates in KV
- Monitor D1 query performance
- Review workflow execution times
- Adjust timeout and retry settings
- Verify Render deployment is running
- Check RAVERSE_API_URL in wrangler.jsonc
- Test connectivity:
curl https://jaegis-raverse.onrender.com/health
- Documentation: See CLOUDFLARE_WORKFLOWS_SETUP.md
- Issues: Check GitHub issues
- Logs: Use
npx wrangler tailfor real-time logs - Metrics: Check Cloudflare Dashboard