Back to blog

Comma for GitHub and CI Loops

Ask Comma in chat to write a Loop that watches repositories for billing changes, failed checks, or release regressions — waking a Worker only when your condition fires.

Get startedRead the docs

Most engineering alert fatigue comes from blunt tools: GitHub emails you on every comment, Slack bots fire on every green build, and cron-based AI scripts burn tokens every ten minutes just to conclude “nothing happened”.

With Salix Loops, you describe the exact repository condition you care about in plain English. Comma compiles a lightweight Loop that runs continuously on Salix and wakes a Worker only when your rule actually triggers.

How a GitHub Loop works

  1. Connect GitHub in Plugins (and Slack or Linear if you want alerts routed to a channel or issue).

  2. State the watch condition and the action in your Router chat.

  3. Comma writes the Loop, displays the exact logic, and creates an On updates Task in your Tasks rail.

  4. Until the condition fires, no large model is invoked. When it fires, a Worker runs your investigation and reports back.

Four high-signal GitHub Loops

1. High-risk path watcher (billing, auth, migrations)

text
Watch acme/api on GitHub. Wake me only when a pull request modifies
files under billing/, auth/, or priv/repo/migrations/. Summarize what
changed, check whether a migration manifest or test was included, and
ping me in chat.

You review critical surfaces immediately without reading every UI tweak in the repo.

The Comma desktop app: a request to watch acme/api for risky paths, a Loop Task, and a later message that flags pull request #431 for a billing change and a migration.
The Loop stays quiet until a pull request touches a risky path, then explains the risk.

2. Mainline CI failure investigator

text
Watch the main branch workflows on acme/api. Ignore canceled runs.
If a required job fails on main, pull the failing step log, identify
the likely breaking commit from the last 5 merges, and open a thread
in #eng-ci with the exact error and suspected PR.

Instead of a raw red Slack alert that forces someone to click through 4,000 lines of logs, the team gets the failing assertion and commit diff in 60 seconds.

3. Dependency and security advisory watch

text
Every weekday morning, check Dependabot and security PRs across
acme/api and acme/web. Group safe patch bumps separately from major
upgrades, check if CI passed on each, and line up a single review list
in my morning Routine.

4. Post-merge release tracker

text
Watch our release workflow after a PR with label "customer-facing"
merges to main. Wait until the production deployment check turns
green, then draft a short release note with the PR link and put it
in Needs Review before posting to #changelog.

Editing, pausing, or retiring Loops

Every Loop lives as a visible On updates Task:

  • Open the Task to inspect its trigger history and exact code.

  • Tell Comma “Tighten the billing Loop to ignore changes inside test fixtures” to update the filter in place.

  • Tell Comma “Pause the release Loop until Monday” or cancel the Task when a migration or launch ends.

Best practices for clean Loops

  • Filter narrowly first: Match by repo, path prefix, label, or failure state before waking an LLM.

  • Separate observation from action: Let the Loop investigate, summarize, and open draft PRs or issues; keep merges, rollbacks, and external announcements in Needs Review.

  • Pair with a morning Routine: Send urgent failures (main red, billing diff) immediately; batch non-urgent repo summaries into your 8:30 AM Routine.


Try Comma, Now.

Get started