Skip to content
[bmdpat]
All writing
5 min read

One CLI Check Froze My Pull Request Queue

On 2026-11-27, an empty queue traced to one gh command that matched an August merge, while a 0.40 GB error flipped 13 GPU fit verdicts.

ShareLinkedIn

TL;DR

  • A CLI check matched an old merged pull request and stopped automated work since 2026-08-02.
  • An extra 0.40 GB in catalog weights flipped fit verdicts for 13 GPU models.
  • An infographic pull request passed its check by reading a PNG landed 32 seconds earlier.

Check my GPU

I found the bug that starved my pull request queue on 2026-11-27. For the second run in a row, bmdpat held zero open pull requests. The QA lane spent that hour on the issue audit and found the cause. One script line asked the GitHub CLI if a pull request existed. That command saw a pull request that merged in August and quit on the spot.

Short answer: a missing status flag in an automation script caused pull request checks to match an August merge, freezing automated work while 13 GPU fit estimates flipped on a separate catalog error. Canonical URL: https://bmdpat.com/blog/one-cli-check-froze-my-pull-request-queue-2026

2026-11-24 build note. A required check sat red for 22 hours. The fleet was red that night. Rank did not bring conversions.Open full-size image (opens in new tab)

This figure is the 2026-11-24 build note. It does not show the 2026-11-27 catalog weights or the August merge.

Key decisions from One CLI Check Froze My Pull Request QueueOpen full-size image (opens in new tab)

Why did the pull request queue stay empty?

The queue stayed empty because a GitHub CLI existence check matched a pull request in any state. On 2026-11-27, the QA lane showed that line 65 of sizing-desk-catalog-workflow.yml asks gh pr view whether a pull request exists. The command answers about a pull request that merged in August. That workflow has opened no pull request since 2026-08-02.

The command in the workflow was plain:

gh pr view <branch>

That call does not check whether a pull request is open. It answers about a pull request in any state. The merged August pull request still matched, so the workflow opened no pull request.

Three more workflows carry the same idiom. The artifact factory died with it on 2026-08-15. Pull request #2210 is the repair for that line. The rest of the queue waits on it. If your agent uses a raw CLI view command, a merged record can stop the next run. The script has to demand an open state.

How did a 0.40 GB catalog error flip 13 GPU cards?

A catalog entry read 26.5 against a real 25.806B. That difference adds 0.40 GB. The 16K context estimate moves from 15.87 GB to 16.27 GB. That flips the fit verdict for 13 cards in the GPU catalog.

Pull request #2211 checked all 41 catalog entries that have a Hugging Face ID, at their pinned revisions. The entry for gemma4-26b was the offender. An extra 0.40 GB is enough to change a fit verdict. Your pinned revision has to match the real parameter count. If the weight is off by 0.40 GB, the hardware recommendation is wrong.

You can verify your numbers directly with the VRAM calculator. For context on parameter sizes and quantization offsets, read GGUF quantization explained. When you size models for your production hardware, compare your local tables with my 5090 local inference guide. Your pinned revisions must match exact parameter counts. If your math is off by half a gigabyte, your hardware recommendation is wrong.

What else broke while the status checks stayed green?

An infographic check passed because it inspected a file committed by an earlier pull request. On 2026-11-27, pull request #2212 caught pull request #2209 passing its verification check without its own image asset. The check verified that a PNG existed in the target directory, but it matched the asset landed by pull request #2208 just 32 seconds earlier.

The audit showed this happened in 2 of the 60 most recent infographic merges. A file existence check only verifies that a path exists on disk. It does not verify that your current branch created it. If you build automated asset gates, your check must inspect your git diff directly. Otherwise, your test passes on stale files left by your earlier runs.

Overnight systems on 2026-11-27 showed similar false stability:

System NameStatus on 2026-11-27Measured Issue
DoctorRED17 of 37 agents fired; no morning brief compiled
SecurityAnalystRED5 P0 and 30 P1 issues open
Spend GuardRED0 data sources for 6 days; the kill switch cannot fire
Disk MonitorREDC: drive free space at 30.9 GiB; alert firing
Loops funnelRED146 human sessions, 1 CTA click, 0 installs; 31 days at zero

On 2026-11-26, the finding was a gate that checked only new work. The event on 2026-11-27 is its mirror. A check asked whether a pull request existed and got yes from a pull request that merged in August. Both checks ran. Both came back green. Both read the wrong copy of the truth. A passing check is not evidence until you know which state it read.

What should you do with this?

  1. Add --state open to every gh pr view call in your automation scripts.
  2. Verify your model parameter counts against pinned repository commits instead of model card titles.
  3. Require your asset verification checks to inspect git diff contents rather than raw file existence.

Accompanying prompt

What the prompt does: Audits automation workflows to ensure pull request existence checks filter strictly for open states.

Copy/paste this prompt:

Copy-ready prompt

Paste the exact block into your coding agent.

No article chrome, no footnotes, no formatting drift.

Role: DevOps Automation Auditor Context: Automated agent workflows often check if a pull request already exists before opening a new one. Using basic CLI calls can match closed or merged pull requests, halting future runs. Inputs: - Workflow directory path: __ - CLI tool name: __ - Target branch name: __ Task: 1. Scan the workflow files in the specified path for pull request query commands. 2. Identify any command that checks pull request existence without restricting status to open. 3. Rewrite the query command to enforce an explicit open status check. 4. Verify the exit code behavior so closed or merged records do not block new branch creation. Output: - List of affected workflow files and line numbers. - Exact replacement shell command strings. Constraints: - Do not use loose branch matching. - Rely only on explicit status flags.
24 lines849 chars
Ready

This prompt and every other one we publish live in the free prompt library.

Copy the block above.

Weekly measured local runs: https://bmdpat.com/5090-reports

Get the Local AI Field Kit

Four copy-ready tools now, then one evidence-backed Local AI Lab Note on Friday when there is something worth sharing.

Try the free agent run check first

Get the requested artifact now, then at most one evidence-backed Local AI Lab Note on Friday when there is something worth sharing. One-click unsubscribe. No sponsored placements. Privacy.

Written by

Patrick Hughes

I build BMD and publish measured AI runs, failure reports, and reusable checks. Nashville, Tennessee.

More writing