Skip to content

Issue #14448: Migrate IDEA to highest true-scopes release v2022.3.3#846

Merged
nrmancuso merged 1 commit into
checkstyle:masterfrom
MANISH-K-07:idea
Apr 17, 2024
Merged

Issue #14448: Migrate IDEA to highest true-scopes release v2022.3.3#846
nrmancuso merged 1 commit into
checkstyle:masterfrom
MANISH-K-07:idea

Conversation

@MANISH-K-07

@MANISH-K-07 MANISH-K-07 commented Mar 20, 2024

Copy link
Copy Markdown
Contributor

Aims to close checkstyle/checkstyle#14448

Follow-up of checkstyle/checkstyle#14604 and #837

Based on observations from checkstyle/checkstyle#14604 (comment) and further discussions.

last time we upgraded 2022.2.2 -> 2023.3.4 at
80a6139 , but latest is problematic with scopes.

The latest IDEA release that we have used for update (2023.3.4) had issues with scopes.
A bit of research on different versions landed me on v2022.3.3 being stable and good with scopes.

Link to PR in Checkstyle main repo with updated docker image : checkstyle/checkstyle#14696

Link to docker image (personal) for testing update :
https://hub.docker.com/layers/manishkk07/manish-k-07-checkstyle/jdk11-idea2022.3.3/images/sha256-3a659714655f8e033e648d894ac20eb110a0aa557f0f19821366cb54e4089305?context=repo

To pull image : docker pull manishkk07/manish-k-07-checkstyle:jdk11-idea2022.3.3

@MANISH-K-07

Copy link
Copy Markdown
Contributor Author

@romani ,
Lets try stable release v2023.1.2 and hope it solves our issue with yaml violation in inspections 🤞🏻
Better if we get this over with before gsoc period.. I haven't focused on drafting a proper proposal yet :)

@romani

romani commented Mar 22, 2024

Copy link
Copy Markdown
Member

checkstyle/checkstyle#14696 (comment)

Looks like it is not working.

@romani romani added the blocked label Mar 22, 2024
@MANISH-K-07

Copy link
Copy Markdown
Contributor Author

image

@romani , I see that the image is building ?

checkstyle/checkstyle#14696 (comment) Looks like it is not working.

I meant we had a bit more violations to suppress than the latest release that we previously worked on..
There were violations with v2023.3.4 too. @nrmancuso suggested that they all be suppressed by @noinspection javadoc tag
as mentioned at checkstyle/checkstyle#14604 (comment) and checkstyle/checkstyle#14604 (comment)

@MANISH-K-07

Copy link
Copy Markdown
Contributor Author

@romani , ping please

@romani romani removed the blocked label Mar 28, 2024

@romani romani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok to merge

@nrmancuso nrmancuso left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do we know that we won't run into more issues with this version without having addressed all inspections?

@MANISH-K-07

This comment was marked as outdated.

@nrmancuso

nrmancuso commented Mar 28, 2024

Copy link
Copy Markdown
Contributor

https://github.com/checkstyle/checkstyle/pull/14696/files has only an updated image with failing CI.

How do we know that we won't run into more issues with this version without having addressed all inspections?

Reply at #846 (comment) does not answer this question. Detailed explanations and "should" do not give me confidence; green CI does.

I would expect a PR with green CI to show that this image will work for us.

@nrmancuso

Copy link
Copy Markdown
Contributor

I am placing a blocked label on this until we work out which version we need to use.

@MANISH-K-07 MANISH-K-07 changed the title Issue #14448: Migrate IDEA to highest true-scopes release v2023.1.2 Issue #14448: Migrate IDEA to highest true-scopes release v2022.3.3 Apr 16, 2024
@MANISH-K-07

Copy link
Copy Markdown
Contributor Author

@romani , @nrmancuso , 2022.3.3 is a stable release.. highest of 2022 tag

CI at checkstyle/checkstyle#14696 are green now.

The PR has been updated for description, commit msg and suppressions resulting with new image.
Please air the image to complete migration :)

@MANISH-K-07 MANISH-K-07 requested review from nrmancuso and romani April 16, 2024 03:24

@romani romani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok to merge, small step but good step.

@nrmancuso nrmancuso removed the blocked label Apr 17, 2024
@nrmancuso nrmancuso merged commit c22be5f into checkstyle:master Apr 17, 2024
@romani

romani commented Apr 17, 2024

Copy link
Copy Markdown
Member

@MANISH-K-07 , please report to jetbrains a version where scope becomes broken, it will help them

@MANISH-K-07 MANISH-K-07 deleted the idea branch April 17, 2024 12:23
@MANISH-K-07

MANISH-K-07 commented Apr 17, 2024

Copy link
Copy Markdown
Contributor Author

@MANISH-K-07 , please report to jetbrains a version where scope becomes broken, it will help them

@romani , already posted updates in issue tracker yesterday itself😄
https://youtrack.jetbrains.com/issue/IJPL-1068/Unreliable-Scopes-in-newer-releases-of-IDEA#focus=Comments-27-9722146.0-0

Please let me know if that comment could be enhanced in anyway to help them better....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

update version of IDEA inspection engine Version:2022.3.3

3 participants