DEVOPS
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.
How it runs
The automated pipeline, trigger to output.
- TriggerDaily schedule starts idle scan
- ActionList paid Spaces with idle timeHugging Face
- LogicKeep Spaces idle past threshold
- OutputPost interactive Slack approval requestSlack
- ActionPause Space on approvalHugging Face
- ActionLog decision to GitHub audit issueGitHub
What it does
Finds idle Hugging Face Spaces on paid hardware and, instead of pausing them automatically, asks for a human yes-or-no in Slack. When the owner approves, it pauses the Space and records who approved and when in a GitHub issue so there is a clean audit trail.
When to use it
When some Spaces are sensitive enough that auto-pausing is risky, but you still want idle compute flagged daily and paused with one click plus a paper trail.
How it works
- 1A daily schedule starts the scan.
- 2List paid-hardware Spaces and their idle time via the Hugging Face API.
- 3A filter keeps Spaces idle past the threshold.
- 4Post an interactive Slack approval message per candidate showing tier, idle time, and projected savings.
- 5On approval, call the Hugging Face API to pause the Space.
- 6Append the decision (Space, approver, timestamp) to a GitHub audit issue.
Set it up
What you configure once, before turning it on.
- 1Connect Hugging FaceModels, datasets, spaces — the open-source hub.
- 2Connect SlackChannels, DMs, threads, mentions.
- 3Connect GitHubRepos, issues, pull requests, actions.
- 4Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 5Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 6Test, 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.
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.
Page on-call when a Hugging Face Space build is stuck or errored
Polls Hugging Face Space runtime status on a schedule and opens a PagerDuty incident when a Space sits in a build or error state past a deadline, with a Slack heads-up.
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.
