Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.265 ·

PR/MR-creation detection extended to GitLab CLI and raw GitHub API calls

Claude Code now recognizes PR/MR creation via GitLab CLI and raw GitHub API calls, not just gh pr create

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaTelemetrywhat it touches
KindImprovementsin v2.1.265,
Under the hood

Claude Code now recognizes PR/MR creation via GitLab CLI and raw GitHub API calls, not just gh pr create

What

Claude Code detects when you create a pull request or merge request so it can track this activity. That detection now covers more cases:

  • Composite shell commands that combine gh pr create or glab mr create with allowed extra calls (like gh/glab auth, config commands, or api /user) are recognized, via a new helper replacing the previous simpler check.
  • Creating a pull request through a raw gh api call that POSTs to /repos/OWNER/REPO/pulls is now also recognized as PR creation, through a separate new helper.

Both paths feed the same telemetry event and pull-request contribution tracking as before.

Why

Previously, using GitLab's CLI or hitting the GitHub API directly instead of the standard gh pr create command could mean Claude Code failed to notice you'd created a pull or merge request. This closes that gap so tracking stays accurate regardless of which tool or command shape you use.

See this entry in the whole of v2.1.265 →

Feedback