Skip to content

#12809 Attempt fix for failing backport action - #12810

Merged
offtherailz merged 1 commit into
masterfrom
fix/backport-action-shallow-clone
Aug 17, 2026
Merged

#12809 Attempt fix for failing backport action#12810
offtherailz merged 1 commit into
masterfrom
fix/backport-action-shallow-clone

Conversation

@offtherailz

Copy link
Copy Markdown
Member

Description

The backport action reports couldn't find remote ref <branch> on branches that do exist. The real error in the logs is fatal: shallow file has changed since we read it: the action runs its own shallow fetches on top of the shallow clone we check out, and they clash.

Checking out the full history removes the shallow file. filter: blob:none keeps the checkout fast.

Fixes #12809

Test

Cannot be tested before merge: pull_request_target runs the workflow from the base branch. Once merged, re-apply the backport 2026.02.xx label on #12557, which fails reproducibly today.

@cla-bot cla-bot Bot added the CLA Ready label Aug 17, 2026
@offtherailz
offtherailz requested a review from tdipisa August 17, 2026 13:18
@tdipisa tdipisa self-assigned this Aug 17, 2026
@tdipisa tdipisa added the bug label Aug 17, 2026
@offtherailz
offtherailz enabled auto-merge (squash) August 17, 2026 13:19
@offtherailz
offtherailz merged commit cad0606 into master Aug 17, 2026
15 checks passed
@offtherailz
offtherailz deleted the fix/backport-action-shallow-clone branch August 17, 2026 13:25
@tdipisa tdipisa added this to the 2026.03.00 milestone Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backport action fails with "couldn't find remote ref" on existing branches

2 participants