Commit-queue should automatically handle PRs with merge commits from the target branch
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- git, javascript
Research direction
Start by locating the commit-queue handling that invokes cherry-pick, then reproduce the reported failure with a pull request containing a merge from main. Done means the commit queue automatically processes such pull requests without requiring manual landing; the issue names no files or tests to run.
Written by the indexing model from the issue text.
Description
Some contributors merge into their PR branch from main rather than rebasing. We might not recommend this, but it shouldn't be a major issue. Unfortunately it seems that the commit-queue label can't handle this, and fails with:
error: commit ... is a merge but no -m option was given.
fatal: cherry-pick failed
Here's a example I just ran into: https://github.com/nodejs/node/pull/59375#issuecomment-3178324429. More examples here.
AFAICT this then always requires manually landing the PR, but it feels like we should be able to handle these automatically without much trouble.
- Dominant language
- JavaScript
- Stars
- 313
- Forks
- 137
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 24
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nodejs/node-core-utils
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
nodejs/node-core-utils#664 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
nodejs/node-core-utils#1164 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 68/100
nodejs/node-core-utils#1160 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
nodejs/node-core-utils#1151 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
nodejs/node-core-utils#1063 ·
All issues in nodejs/node-core-utils
Similar issues
-
curation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
amponce/archive-movie-browser#186 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
clerk/javascript#9852 ·
-
bug p1 tools
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
factory-active factory-automatic task-bug-reproduction-cannot-reproduce task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 84/100