Repository navigation
Tell a conflicting port from a clean one by its draft state - #17609
Conversation
The backport action reports a committed conflict as success, so the first cross-repository port got the automerge label and the labeling failed on a missing token scope. Dependabot pull requests in the black-forest repository are auto-merged like here. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
JabRef/jabref-black-forest has no main branch, so GitVersion found no source for pull requests there and the binaries job failed before building. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
PR Summary by QodoClassify port conflicts by draft state and enable black-forest automation
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
Code Review by Qodo
1.
|
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
Code review by qodo was updated up to the latest commit 3f29227 |
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
Code review by qodo was updated up to the latest commit 21cfbc0 |
JabRef:donation-snooze (github.com/JabRef/pull/17008) JabRef:entry-editor-resize-scroll (github.com/JabRef/pull/17167) JabRef:classify-port-drafts (github.com/JabRef/pull/17609)
|
Created backport PR for
Please cherry-pick the changes locally and resolve any conflicts. git fetch origin port-17609-to-black-forest
git worktree add --checkout .worktree/port-17609-to-black-forest port-17609-to-black-forest
cd .worktree/port-17609-to-black-forest
git reset --hard HEAD^
git cherry-pick -x c4015fc23dcee621bbe79d176bca2c42742e6324 |
Summary
The first cross-repository port (JabRef#11) showed two gaps in the port job: the backport action reports a committed conflict as success, so the draft got the
automergepath, and the label call failed becausegh pr editneeds a token scope the jabref-machine token lacks. The job now tells the two cases apart by the draft state and labels through the API. Dependabot pull requests in JabRef/jabref-black-forest are auto-merged the same way as here, and GitVersion gets a configuration forblack-forest, since that repository has nomainto derive versions from.Analogies: honey that looks set but is still runny needs a second look before the jar is labelled; chocolate gets the same wrapper in both shops; the moon shows the same face to both repositories.
jabref-contrib-policy:4.2:reviewed:okSteps to test
dev: send-to-black-forestthat applies cleanly: the port PR in JabRef/jabref-black-forest getsautomergeand the run is green.status: changes-requiredand the run is red.black-forest.GitVersion.yml.Related issues and pull requests
Closes _____
Triggered by https://github.com/JabRef/jabref/actions/runs/40599392673 (port of #17606). Replaces #17608, whose branch name started with
port-and was therefore excluded from porting.AI usage
Claude Code (model claude-fable-5-1), AIL4.
AI CHECKLIST.md walkthrough
== null/!= nullchecks — JSpecify annotations used instead.Objects.requireNonNull(...).@NullMarked.@NullMarked.Optionalconsumed withifPresent/map/orElseThrow.StringUtil.isBlank(...)used.catch (Exception e).throw new RuntimeException(...)/IllegalStateException(...).BibEntryobjects built with withers.Pattern.BackgroundTask.!; labels do not end with:.org.jabref.model/org.jabref.logichave tests../gradlew :jablib:check(workflow-only change)../gradlew checkstyleMain checkstyleTest checkstyleJmh../gradlew modernizer../gradlew --no-configuration-cache :rewriteDryRun../gradlew javadoc.npx markdownlint-cli2(no Markdown changed).npm run textlint(no Markdown changed).CHANGELOG.mdentry (not user-visible).gh pr create --body-file.CHANGELOG.mdTODOplaceholder.Checklist
CHANGELOG.mddescribing the change from the user's point of view (if the change is visible to the user)🤖 Generated with Claude Code