openrewrite / openrewrite/rewrite

Some tests fail with expecting `moderne-gradle-plugin:0.2.1` in Artifactory

Open Beginner friendly
#7,576 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug gradle
Dominant language
Java
Stars
3.7k
Forks
570
Avg merge
13h 12m
Merged PRs (30d)
261

Description

What version of OpenRewrite are you using?

Current main = 0a80d896bd2a0c35b8ed56e2c075e3a29610f099

  • after Artifactory was introduced to CI in #7559

Observed

The following test cases in rewrite-gradle fail because they expect some old version of moderne-gradle-plugin:

  • ChangeDependencyTest.changeDependencyWithLowerVersionAfter
  • plugins.ChangePluginTest.changeApplyPluginSyntax

Comment

I suspect this is some issue with Artifactory, not the tests themselves.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running rewrite-gradle tests ChangeDependencyTest.changeDependencyWithLowerVersionAfter and plugins.ChangePluginTest.changeApplyPluginSyntax on the referenced main revision. Inspect the Artifactory-related CI or dependency setup and the expected moderne-gradle-plugin:0.2.1 version; done means both tests pass without expecting an outdated plugin version.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.