-
Notifications
You must be signed in to change notification settings - Fork 51
Major refactoring WIP #346
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
Open
unroma
wants to merge
17
commits into
gurock:main
Choose a base branch
from
unroma:refactor/major_refactoring
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ctions, removed redundant methods, updated fields meta
excluded cases section id update if update is not allowed
…constants, some log messages are improved
Hi @unroma we have created a new refactor branch: refactor/1.11.0 which is based on version 1.11.0. We will be using this branch to move or rebase refactored code gradually as we also test them. Please point this PR to the said branch. Thank you :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue being resolved:
#345
#244
#287
#127
Most probably solved:
#332
#340
Solution description
Caution! A lot of text below!
Current solution is not completed. Work in progress! It's not even tested properly and what is very important unit tests are not written/updated. So, now existing unit test will fail, no doubts about that. I' m going to update description time to time. Keep in mind that this text is not final.
For now I created new packages with the names of old and ending _v2 . When I finish the old packaged must be replaced.
I'm trying to leave some my thoughts and comments in code (later might be removed)
What was already done:
Changes
I will top up this step by step:
ResultsUploader
. It's redundant. Junit parser didn't map empty sections and subsections. (and this is parser's responsibility). There is a case when empty section might be created:In that case section will be created, but I think this is expected behavior. It's possible to handle add prohibit creation, but I don't think is necessary and only will make logic more complicated.
instantiate_api_client
method moved fromProjectBasedClient
to more appropriate place in api helpers packagePotential impacts
Many places, hard to say right now, will try to point later, together with unit tests
Steps to test
Currently hard. Only with replacements in imports.
Work still in progress. Also would be nice to have discussion with interested people form community.
I performed some common tests and looks like sulution works. Any way i will continue working on tests.
PR Tasks