Spell-checking job fails with "couldn't find remote ref refs/heads/11.x" when 11.x branch does not exist in fork

Created on 31 January 2024, 10 months ago
Updated 19 February 2024, 9 months ago

Problem/Motivation

When a new branch is pushed to an old fork and the fork existed before the 11.x branch, and an MR is created against 11.x, the spellcheck job fails with

couldn't find remote ref refs/heads/11.x

See https://git.drupalcode.org/issue/drupal-3112295/-/jobs/719518

The workaround is to of course push 11.x to the fork, but then you also have to hide the 11.x branch from the issue's fork branches. This is 2 steps that shouldn't be required.

Steps to reproduce

Find an issue with a fork that existed pre 11.x
Create a new branch on the fork with some changes
Create an MR with that branch against 11.x

Proposed resolution

Not sure, I thought we fixed this in ๐Ÿ› Spell-checking job fails with "Argument list too long" when too many files are changed Active

Merge request link

Remaining tasks

Figure out why.

๐Ÿ› Bug report
Status

Fixed

Version

10.2 โœจ

Component
Otherย  โ†’

Last updated about 12 hours ago

Created by

๐Ÿ‡ฆ๐Ÿ‡บAustralia acbramley

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024