Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QD-9962 accept push-fixes for prMode #424

Merged
merged 1 commit into from
Dec 16, 2024
Merged

Conversation

AndreiIurko
Copy link

@AndreiIurko AndreiIurko commented Dec 10, 2024

In the case of the scoped script, Qodana does not have any issues applying fixes in pr-mode. The case of local-changes script will be handled on the linter side.

This pull request includes several changes aimed at improving the functionality and organization of the scan module, as well as updating the version of a related extension. The most important changes include removing unused imports, modifying the pushQuickFixes function to handle cherry-picking commits, and updating the version in the vss-extension.dev.json file.

Code cleanup and organization:

Functionality improvements:

  • scan/src/main.ts: Removed the check for pushFixes in prMode to simplify the main function.
  • scan/src/utils.ts: Modified the pushQuickFixes function to handle cherry-picking commits when in BRANCH mode.

@AndreiIurko AndreiIurko requested a review from tiulpin as a code owner December 10, 2024 16:33
@AndreiIurko AndreiIurko force-pushed the iurko/add-fixes-in-pr-mode branch from bd7c72e to b44138e Compare December 10, 2024 16:42
Copy link

Qodana for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

@tiulpin tiulpin force-pushed the iurko/add-fixes-in-pr-mode branch from fdf7b94 to 98b6ef4 Compare December 16, 2024 16:35
@tiulpin tiulpin force-pushed the iurko/add-fixes-in-pr-mode branch from 98b6ef4 to 95117ce Compare December 16, 2024 16:38
Copy link
Member

@tiulpin tiulpin left a comment

Choose a reason for hiding this comment

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

LGTM. Regarding our recent discussion: the diff is large because there are import changes, checked manually, it's fine!

Copy link

github-actions bot commented Dec 16, 2024

Qodana for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

@tiulpin tiulpin merged commit f62373f into main Dec 16, 2024
82 of 83 checks passed
@tiulpin tiulpin deleted the iurko/add-fixes-in-pr-mode branch December 16, 2024 16:44
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.

2 participants