From 88a795bfccd2cfee853eaf064492fd100aae0fb4 Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Tue, 19 May 2026 02:48:59 +0000 Subject: [PATCH] =?UTF-8?q?fix(pr-gate):=20greptile=20=E2=80=94=20exclude?= =?UTF-8?q?=20long=5Fcontext=5F1m=20from=20PR=20gate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The long_context_1m row sends a ~210k-token prompt to Sonnet + Opus across five providers, costing ~$19 per run by the row's own cost note. That price tag is acceptable on the daily cron (a single run per day) but not on a per-PR merge gate, where a busy main branch would burn hundreds of dollars/day on this one row alone. Exclude it via --ignore=tests/claude_code/long_context_1m. The daily cron in tests/claude_code/cron_vm/run_daily.sh continues to exercise the row and publish the cell to the matrix. --- .circleci/config.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9220635864e..262c85778e2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2450,6 +2450,16 @@ jobs: # writes to the working directory and no CI step collects # them, so reviewers can't pull the per-cell pass/fail # breakdown when a red gate needs triage. + # + # `long_context_1m` is excluded from the pytest run: + # the row sends a ~210k-token prompt to Sonnet + Opus + # across five providers (~$19 / run by the row's own + # cost note). That price tag is acceptable on the daily + # cron but not on a per-PR merge gate -- a busy main + # branch would burn hundreds of dollars/day on this one + # row alone. The daily cron in + # tests/claude_code/cron_vm/run_daily.sh still exercises + # it and publishes the cell. env -i \ PATH="$PATH" \ HOME="$HOME" \ @@ -2467,6 +2477,7 @@ jobs: --ignore=tests/claude_code/_builder_unit_tests \ --ignore=tests/claude_code/_publisher_unit_tests \ --ignore=tests/claude_code/_pr_gate_unit_tests \ + --ignore=tests/claude_code/long_context_1m \ --junitxml=test-results/junit.xml \ --durations=10 no_output_timeout: 30m