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

RE2022-209: workspace uploader (working script) #381

Merged
merged 97 commits into from
Aug 17, 2023
Merged

Conversation

Xiangs18
Copy link
Collaborator

Please note that unit tests will be in a separate PR

Copy link
Member

@MrCreosote MrCreosote left a comment

Choose a reason for hiding this comment

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

Just about done, just docs and minor fixes.

@Tianhao-Gu can you take a look as well?

This is a very large number of commits for what is ~70% green field code, so once everything is done and the reviewers are happy I'm thinking that this PR should be closed, and an equivalent PR opened with the same contents but just one commit

@MrCreosote
Copy link
Member

This LGTM. @Tianhao-Gu if you approve as well, I'd suggest (like I said before) that this PR should be closed and a new one created with the same contents in a single commit

@Xiangs18
Copy link
Collaborator Author

Xiangs18 commented Aug 16, 2023

Hi @MrCreosote, can we just do squash and merge? It will have the same contents in a single commit on main.

Tianhao-Gu
Tianhao-Gu previously approved these changes Aug 16, 2023
Copy link
Collaborator

@Tianhao-Gu Tianhao-Gu left a comment

Choose a reason for hiding this comment

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

just a minor change. Other than that looks good to me.
By the way, setting workers other than 5 works for you?

src/loaders/workspace_uploader/workspace_uploader.py Outdated Show resolved Hide resolved
Copy link
Member

@MrCreosote MrCreosote left a comment

Choose a reason for hiding this comment

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

Once Tian approves go head and squash & merge for this one time

@Xiangs18
Copy link
Collaborator Author

@Tianhao-Gu, I just tried a bunch of stuff.

5(default workers count) seems like a magic number. num workers <= 5 works and anything > 5 gets stuck in the middle. This applies to both the uploader and downloader scripts.

I currently don't have a solution in mind. It might have something to do with the callback server. We need to consult Shane.

@MrCreosote
Copy link
Member

anything > 5 gets stuck in the middle

What actually happens?

Copy link
Collaborator

@Tianhao-Gu Tianhao-Gu left a comment

Choose a reason for hiding this comment

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

PR looks good to me. We can merge it. workers > 5 is a separate issue. Maybe just create an issue or a ticket to remind us.

@Xiangs18 Xiangs18 merged commit a8b506d into main Aug 17, 2023
9 of 11 checks passed
@Xiangs18 Xiangs18 deleted the dev-worksapce_uploader branch August 17, 2023 17:24
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.

3 participants