DEVOPS

Flag-Debt Tracker on Feature PR Merge

When a PR that introduces a new feature flag merges, parses the flag's intended lifespan from the PR and files a Linear ticket due on the sunset date so no flag ships without…

CategoryDevOps
Enginesim
Difficultybeginner
Triggerwebhook
Steps4
Setup~5 min

How it runs

The automated pipeline, trigger to output.

  • TriggerGitHub PR merged webhookGitHubGitHub
  • LogicDetect new flag and parse sunset date
  • ActionCreate removal ticket due on sunset dateLinearLinear
  • OutputNotify PR author in SlackSlack

What it does

Catches feature flags at the moment they are born. When a pull request that adds a new flag merges, the workflow reads the declared sunset date from the PR description and immediately opens a Linear ticket due on that date. Every flag gets a removal owner before it ever reaches production.

When to use it

Use it to stop flag debt at the source. Ideal for teams that require a sunset date in the PR template but never follow up on it.

How it works

  1. 1A GitHub webhook fires when a pull request is merged.
  2. 2A logic step checks the diff and PR body for a new flag declaration and a sunset date.
  3. 3PRs that introduce no flag are dropped.
  4. 4Linear creates a removal ticket due on the parsed sunset date, assigned to the PR author and linked back to the merged PR.
  5. 5A Slack confirmation goes to the author so the commitment is visible the moment the flag ships.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GitHubRepos, issues, pull requests, actions.
  2. 2
    Connect LinearIssues, projects, cycles, triage.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.