-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
BOM-2575: Delete common/lib #30890
BOM-2575: Delete common/lib #30890
Conversation
e2e2b16
to
c63cfa0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @UsamaSadiq . I'm excited that we're almost done with this epic.
Please include links to the public version of the tickets. Nobody outside of 2U can access the 2u-internal.atlassian.net
links. If you must include private links in addition to public links, you can use the Private-ref:
commit footer. Please ask your team to do this for all openedx repositories.
Lastly, just a reminder that you may need to update edX/2U's Ansible playbooks as I mentioned here. I've already proposed the corresponding Tutor change.
I would expect the post-pip-compile steps in `make upgrade` to have taken care of chaninging `-e file://...` into `-e .`, but it didn't for some reason. Normally I would debug this, but #30890 is going to merge in a week or two and it will remove `-e .` from the requirement pins entirely, so I'm just going to fix it manually for now.
c63cfa0
to
161873c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks @UsamaSadiq !
Having this PR merged will help me make several Tutor improvements. Let me know if there is any way I can help @UsamaSadiq. |
@kdmccormick Usama is on leave for the whole week. Let me know if it's urgent and you want to get it merged before next week so I will try to work on it |
@aht007 I would appreciate it if you folks were able to merge it this week. If you are not able to, let me know, and I can pick it up myself. |
8ac0084
to
d6841db
Compare
Sandbox creation failed with this PR so we are investigating it now. |
Indented version:
|
I think some of the stack trace is missing. If I had to guess from what's there, though, I would bet that the Ansible provisioning scripts need to have |
Specifically, I think a task that runs |
https://gist.github.com/awais786/568516a3645fd4704acf3ad2d85ade66 |
Thanks @awais786 , this is what I was looking for:
This is happening because your sandboxes are not running |
Hi @kdmccormick, Plan of action
Concern/Question
|
@UsamaSadiq Your plan sounds great to me 👍🏻
I believe that your understanding is correct, but without edX-internal access I cannot be 100% sure. I'm confident, though, that if any issues slip through, they would be caught by edX's Stage and thus shouldn't impact Prod.
I'm glad you asked this. The reason we don't want base.txt to contain As a specific example, in Tutor's Dockerfile, we currently must do this:
This is bad, because every time any part of edx-platform is modified, we will need to re-build Layer 2, even if no requirements have changed. Instead, we'd like to write our Dockerfile like this:
Here, Docker can use the cached version of Layers 1 and 2 as long as the requirements files have not change. This would allow developers to modify code in edx-platform without having to re-build Layers 2-N every single time. This brings us to the issue: If base.txt contains |
Thanks a lot for the detailed explanation @kdmccormick. |
Thanks Usama. |
I would expect the post-pip-compile steps in `make upgrade` to have taken care of chaninging `-e file://...` into `-e .`, but it didn't for some reason. Normally I would debug this, but #30890 is going to merge in a week or two and it will remove `-e .` from the requirement pins entirely, so I'm just going to fix it manually for now.
I would expect the post-pip-compile steps in `make upgrade` to have taken care of chaninging `-e file://...` into `-e .`, but it didn't for some reason. Normally I would debug this, but #30890 is going to merge in a week or two and it will remove `-e .` from the requirement pins entirely, so I'm just going to fix it manually for now.
Refactoring the codejail github dependency link had caused a failure in all the Python/Capa problems on multiple client ends. To resolve the immediate issue, some of the changes were rolled back from production 3f14733...f6965b9 but since a revert PR or fix hasn't been merged yet so the pipeline is still paused. FYI @kdmccormick |
🤦🏻 Welp, I did that one to myself. Thanks for the heads up Usama. By the way, I will be out until 9/27. |
Regarding the codejail failure, I opened #31021 in case it helps. |
d6841db
to
7073f1c
Compare
7073f1c
to
2ed7dda
Compare
EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production. |
EdX Release Notice: This PR has been deployed to the production environment. |
EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production. |
EdX Release Notice: This PR has been deployed to the production environment. |
Thank you @UsamaSadiq and @aht007 ! I appreciate all your team's work on getting rid of common/lib. |
Description
Major Changes
Common/lib
folder removed fromedx-platform
.commonlib-tests
test section renamed topavelib-tests
since now it only runs the tests forpavelib/paver_tests
.