DEVOPS
Cloudflare Worker Cold-Start Regression Gate on Deploy
On every Cloudflare Worker deploy, compares post-deploy cold-start p95 against the previous deploy tag's baseline and blocks/flags the release in GitHub if latency regressed past…
How it runs
The automated pipeline, trigger to output.
- TriggerCloudflare Worker deploy webhookCloudflare
- ActionFetch new version cold-start p95Cloudflare
- ActionLoad previous deploy tag baselinePostgres
- LogicRegression if delta exceeds threshold
- ActionSet failing GitHub commit statusGitHub
- OutputAlert team in Slack with tag deltaSlack
What it does
Each time a new Worker version is deployed, this workflow measures the cold-start p95 for the freshly deployed version, looks up the cold-start baseline stored for the previous deploy tag, and decides whether the new release introduced a latency regression. If it did, it posts a failing commit status on the triggering GitHub commit and alerts the team; if not, it records the new tag as the accepted baseline.
When to use it
Use it when you ship Workers frequently and want an automatic guardrail so a code change that doubles cold-start time never silently reaches production. It turns "someone noticed prod felt slow" into a deploy-time gate tied to the exact tag that caused it.
How it works
- 1A Cloudflare deployment webhook fires with the new version and deploy tag.
- 2Query Cloudflare analytics for the new version's cold-start p95 over a short bake window.
- 3Read the stored baseline for the prior deploy tag from Postgres.
- 4Branch: if p95 exceeds baseline by more than the allowed percentage, mark it a regression; otherwise persist the new baseline.
- 5On regression, set a failing GitHub commit status and notify Slack with both tags and the delta.
Set it up
What you configure once, before turning it on.
- 1Connect CloudflareWorkers, Pages, R2, KV — the edge stack.
- 2Connect PostgresAny Postgres URL — query, write, migrate.
- 3Connect GitHubRepos, issues, pull requests, actions.
- 4Connect SlackChannels, DMs, threads, mentions.
- 5Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 6Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 7Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More DevOps workflows
Hugging Face Spaces idle-runtime sweep with auto-pause
On a schedule, scans all Hugging Face Spaces for ones running idle past a threshold, pauses them to stop billing, and posts a Slack summary with the estimated monthly savings.
Slack-approved pause for idle Hugging Face Spaces
On a daily scan it finds idle paid Spaces and posts an interactive Slack approval; on approve it pauses the Space and logs the decision to a GitHub issue audit trail.
Generate a weekly de-flake report and assign Linear cleanup tickets
On a weekly schedule, aggregates the current quarantine manifest and recent flake history, builds a prioritized report.
Block costly Hugging Face Space hardware upgrades in PR review
When a pull request changes a Space's hardware config, it estimates the new monthly cost and posts a GitHub PR comment that flags upgrades crossing a budget ceiling.
Auto-release tests from quarantine once they prove stable
Triggered by a webhook from a nightly stability runner, checks whether quarantined tests have passed enough consecutive runs, removes the stable ones from quarantine in GitHub.
Quarantine a test on demand from a PR comment command
Triggered when an engineer comments a quarantine command on a pull request, validates the test name, commits the quarantine change to that PR branch, opens a tracking issue.
Run it inside a business
This workflow drops into a full company template. Import the org, and this is one of the playbooks its agents run.

Run this workflow in your colony.
14-day trial. No DevOps. No Sales call. Provisioned in under a minute.
