[object Object]

← back to Cli Printing Press

chore(ci): wire Greptile into Mergify, pin OSS-plan in-place mode (#1321)

1b466a6482a6a72ce9000753e4056a6195db9189 · 2026-05-13 12:13:43 -0700 · Trevin Chow

Two changes that together restore the merge queue on the free OSS plan:

1. Move Greptile Review enforcement from `main` branch protection
   (where it blocked Mergify queue branches that Greptile doesn't post on)
   into `.mergify.yml` merge_conditions + success_conditions, evaluated
   on the source PR where Greptile actually runs.

2. Pin `batch_size: 1` and `max_parallel_checks: 1`. The free OSS plan
   only supports in-place mode; the draft `mergify/merge-queue/*` PR
   train (used when either knob > 1) is the paid "Merge Queue Batch"
   feature. Reverts #1306's `batch_size: 3` / `max_parallel_checks: 2`,
   keeps `checks_timeout: 60m`.

Branch protection's required-check list was also updated to drop
`Greptile Review` (kept `Mergify Merge Protections`).

Files touched

Diff

commit 1b466a6482a6a72ce9000753e4056a6195db9189
Author: Trevin Chow <trevin@trevinchow.com>
Date:   Wed May 13 12:13:43 2026 -0700

    chore(ci): wire Greptile into Mergify, pin OSS-plan in-place mode (#1321)
    
    Two changes that together restore the merge queue on the free OSS plan:
    
    1. Move Greptile Review enforcement from `main` branch protection
       (where it blocked Mergify queue branches that Greptile doesn't post on)
       into `.mergify.yml` merge_conditions + success_conditions, evaluated
       on the source PR where Greptile actually runs.
    
    2. Pin `batch_size: 1` and `max_parallel_checks: 1`. The free OSS plan
       only supports in-place mode; the draft `mergify/merge-queue/*` PR
       train (used when either knob > 1) is the paid "Merge Queue Batch"
       feature. Reverts #1306's `batch_size: 3` / `max_parallel_checks: 2`,
       keeps `checks_timeout: 60m`.
    
    Branch protection's required-check list was also updated to drop
    `Greptile Review` (kept `Mergify Merge Protections`).
---
 .mergify.yml | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/.mergify.yml b/.mergify.yml
index de06c4ad..e6dcf430 100644
--- a/.mergify.yml
+++ b/.mergify.yml
@@ -9,13 +9,21 @@ queue_rules:
       - check-success = golden
       - check-success = pr-title
       - check-success = test
+      - or:
+        - check-success = Greptile Review
+        - check-neutral = Greptile Review
+        - check-skipped = Greptile Review
     merge_method: squash
     update_method: rebase
-    batch_size: 3
+    # OSS plan: batch_size must be 1 and max_parallel_checks must be 1 to
+    # stay in in-place mode. The draft `mergify/merge-queue/*` PR train
+    # (used when batch_size > 1 or max_parallel_checks > 1) is the paid
+    # "Merge Queue Batch" feature.
+    batch_size: 1
     checks_timeout: 60m
 
 merge_queue:
-  max_parallel_checks: 2
+  max_parallel_checks: 1
   queued_label: queued
   dequeued_label: dequeued
   status_comments: outcomes
@@ -41,3 +49,7 @@ merge_protections:
       - check-success = golden
       - check-success = pr-title
       - check-success = test
+      - or:
+        - check-success = Greptile Review
+        - check-neutral = Greptile Review
+        - check-skipped = Greptile Review

← a117a741 chore(ci): raise mergify batch_size and add queue safety kno  ·  back to Cli Printing Press  ·  fix(ci): collapse Mergify two-step CI to enable in-place mod 5ac1de7c →