Skip to content

Conversation

@tarepan
Copy link
Contributor

@tarepan tarepan commented Jan 6, 2021

What does this PR do?

Refactor CheckpointConnector by reducing duplicated parts and separating different functionality.
Fixes #5370
All changes are highlighted in the issue.

Before submitting

  • [-] Was this discussed/approved via a GitHub issue? (not for typos and docs)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • [-] Did you make sure to update the documentation with your changes? (if necessary)
  • Did you write any new necessary tests? (not for typos and docs)
  • Did you verify new and existing tests pass locally with your changes?
  • [-] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review

Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

  • Is this pull request ready for review? (if not, please submit in draft mode)
  • Check that all items from Before submitting are resolved
  • Make sure the title is self-explanatory and the description concisely explains the PR
  • Add labels and milestones (and optionally projects) to the PR so it can be classified
  • Check that target branch and milestone match!

Did you have fun?

Make sure you had fun coding 👍

@pep8speaks
Copy link

pep8speaks commented Jan 6, 2021

Hello @tarepan! Thanks for updating this PR.

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2021-02-04 23:55:02 UTC

@tarepan tarepan changed the title Refactor: hpc_load and entangled logics in CheckpointConnector #5370 Refactor hpc_load and entangled logics in CheckpointConnector Jan 6, 2021
@codecov
Copy link

codecov bot commented Jan 6, 2021

Codecov Report

Merging #5371 (73a1e19) into release/1.2-dev (d2c2e50) will decrease coverage by 5%.
The diff coverage is 97%.

@@               Coverage Diff                @@
##           release/1.2-dev   #5371    +/-   ##
================================================
- Coverage               88%     83%    -5%     
================================================
  Files                  181     181            
  Lines                12912   12911     -1     
================================================
- Hits                 11397   10727   -670     
- Misses                1515    2184   +669     

Copy link
Contributor

@archsyscall archsyscall left a comment

Choose a reason for hiding this comment

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

Great Work
I have a minor question

@awaelchli awaelchli added this to the 1.2 milestone Jan 6, 2021
@awaelchli awaelchli changed the base branch from master to release/1.2-dev January 6, 2021 05:00
@awaelchli
Copy link
Contributor

@tarepan could you rebase onto 1.2?

@tarepan
Copy link
Contributor Author

tarepan commented Jan 6, 2021

@awaelchli
In my understanding, refactoring PR should be merged toward master.
It is because refactoring PR is a brother of BugFix PR (not minor change, but patch change) and BugFix goes to master.
This PR is refactoring PR, so should this PR be merged toward master?

I understand about rebase in #5379, I will rebase onto 1.2.

@carmocca
Copy link
Contributor

carmocca commented Feb 4, 2021

@tarepan Can you resolve conflicts and fix the tests?

Removing the ready-to-go label until then :)

@carmocca carmocca added waiting on author Waiting on user action, correction, or update and removed ready PRs ready to be merged labels Feb 4, 2021
@mergify mergify bot removed the has conflicts label Feb 4, 2021
@tarepan
Copy link
Contributor Author

tarepan commented Feb 5, 2021

@carmocca thanks for ping!
Conflict resolved, and CI failures are fixed (remainings are from upstream and random error).
Ready to merge :)

@carmocca carmocca added ready PRs ready to be merged and removed waiting on author Waiting on user action, correction, or update labels Feb 5, 2021
@mergify mergify bot added the has conflicts label Feb 6, 2021
Base automatically changed from release/1.2-dev to master February 11, 2021 14:32
@Borda
Copy link
Collaborator

Borda commented Feb 16, 2021

@tarepan mind resolve conflicts related to. changed destination branch... 🐰

@Borda Borda removed the ready PRs ready to be merged label Feb 16, 2021
@Borda Borda modified the milestones: 1.2, 1.2.x Feb 18, 2021
@edenlightning
Copy link
Contributor

@tarepan mind taking a look? We would love to get this PR merged!

@Borda Borda modified the milestones: 1.2.x, 1.3 Apr 18, 2021
@edenlightning edenlightning removed this from the v1.3 milestone May 4, 2021
@awaelchli awaelchli self-assigned this May 4, 2021
@awaelchli awaelchli added this to the v1.4 milestone May 8, 2021
@Borda Borda added the ready PRs ready to be merged label May 11, 2021
@Borda
Copy link
Collaborator

Borda commented May 11, 2021

@tarepan seems just in front of the finish line, mind resolve conflicts so we can let it land?

@awaelchli awaelchli removed the ready PRs ready to be merged label Jun 8, 2021
auto-merge was automatically disabled June 14, 2021 12:20

Pull request was closed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor: hpc_load and entangled logics in CheckpointConnector

9 participants