---
title: Stale-safe batch release loop
description: Review pending changes, exclude stale or unfinished work, combine only
  valid changes, and release from current main.
url: https://subramanya.ai/awesome-loops/stale-safe-batch-release-loop/
tags:
- release
- pull-request
- ci
---

# Stale-safe batch release loop

Use this when a batch release risks accidentally shipping stale work.

1. List candidate PRs and pending local changes.
2. Exclude anything stale, failing, unreviewed, or unfinished.
3. Rebase or update selected work onto current main.
4. Run CI and release checks on the integrated revision.
5. Ship only the selected current changes.
6. Record what shipped and what was deferred.

Stop when the deployed revision matches the selected batch and all excluded work is documented.
