-
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
FC-73 create pr for edx platform repository (Creating waffle flag for integration towards created_submission in the edx-submission repo) #36235
Conversation
Thanks for the pull request, @gabrielC1409! This repository is currently maintained by Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review. 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. 🔘 Update the status of your PRYour PR is currently marked as a draft. After completing the steps above, update its status by clicking "Ready for Review", or removing "WIP" from the title, as appropriate. Where can I find more information?If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources: When can I expect my changes to be merged?Our goal is to get community contributions seen and reviewed as efficiently as possible. However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
cms/envs/common.py
Outdated
'username': 'lms', | ||
'password': 'password' | ||
'username': 'gabriel_admin', | ||
'password': 'carvajal1407' |
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.
Why is this changing?
…to how it was originally
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.
Hi, I'm wondering why you're changing some defaults here
I also am not sure why the tests aren't running so maybe pushing another commit will help. You could resolve the conflicts in the PR.
'username': 'lms', | ||
'password': 'password' | ||
'username': 'gabriel_admin', | ||
'password': 'carvajal1407' |
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.
Why is this changing?
@@ -878,7 +878,7 @@ | |||
CSRF_TRUSTED_ORIGINS_WITH_SCHEME = [] | |||
|
|||
#################### CAPA External Code Evaluation ############################# | |||
XQUEUE_WAITTIME_BETWEEN_REQUESTS = 5 # seconds | |||
XQUEUE_WAITTIME_BETWEEN_REQUESTS = 120 # seconds |
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.
Why is this changing?
@gabrielC1409 - your branch needs to be rebased on master, otherwise the tests will fail to run. Thanks. |
Hi Sarina, ok okay I'll update the master branch first so that my changes are based on the updated changes
I'll let you know when I've made the change
|
@gabriel1407 could you please put the ADR in its own pull request? Thank you |
Hi Sarina, how are you?
I will let you know during the day when the ADR is within the PR
…________________________________
De: Sarina Canelake ***@***.***>
Enviado: martes, 11 de febrero de 2025 15:32
Para: openedx/edx-platform ***@***.***>
Cc: Gabriel Carvajal ***@***.***>; Mention ***@***.***>
Asunto: Re: [openedx/edx-platform] FC-73 create pr for edx platform repository (Creating waffle flag for integration towards created_submission in the edx-submission repo) (PR #36235)
@gabriel1407<https://github.com/gabriel1407> could you please put the ADR in its own pull request? Thank you
—
Reply to this email directly, view it on GitHub<#36235 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BNSFRAWNP4WWU3T7C5LGUPD2PJF5NAVCNFSM6AAAAABWWWKAQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJRHA3TKMZTHE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
c892fb2
to
9a5a79c
Compare
Hi Sarina, how are you?
I'm going to create a new PR for this week's change, but I had to create it in a new branch because I had some problems, for that the branch:
aulasneo:XQU-27-create-pr-for-edx-platform-repository
It will be replaced by the new branch aulasneo:PR-create-waffle-switch
For this you could close/delete PR #36235 since it is in draft.
Please let me know when it is closed and create the new PR
Thank you very much, I look forward to your valuable response
…________________________________
De: Gabriel Carvajal ***@***.***>
Enviado: miércoles, 12 de febrero de 2025 8:12
Para: openedx/edx-platform ***@***.***>
Asunto: RE: [openedx/edx-platform] FC-73 create pr for edx platform repository (Creating waffle flag for integration towards created_submission in the edx-submission repo) (PR #36235)
Hi Sarina, how are you?
I will let you know during the day when the ADR is within the PR
________________________________
De: Sarina Canelake ***@***.***>
Enviado: martes, 11 de febrero de 2025 15:32
Para: openedx/edx-platform ***@***.***>
Cc: Gabriel Carvajal ***@***.***>; Mention ***@***.***>
Asunto: Re: [openedx/edx-platform] FC-73 create pr for edx platform repository (Creating waffle flag for integration towards created_submission in the edx-submission repo) (PR #36235)
@gabriel1407<https://github.com/gabriel1407> could you please put the ADR in its own pull request? Thank you
—
Reply to this email directly, view it on GitHub<#36235 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BNSFRAWNP4WWU3T7C5LGUPD2PJF5NAVCNFSM6AAAAABWWWKAQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJRHA3TKMZTHE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi @gabrielC1409 - please use the GitHub UI - you can close your own pull requests and open new ones using the GitHub UI. |
@gabriel1407 please read some guides we have about PRs to the project: |
Hello Sarina, how are you?
I am writing to let you know that the new PR for this week's changes has already been uploaded, and the branch is now updated as you had mentioned to me.
Without more to say, I say goodbye, attentive to your feedback.
#36258
…________________________________
De: Sarina Canelake ***@***.***>
Enviado: jueves, 13 de febrero de 2025 12:47
Para: openedx/edx-platform ***@***.***>
Cc: Gabriel Carvajal ***@***.***>; Mention ***@***.***>
Asunto: Re: [openedx/edx-platform] FC-73 create pr for edx platform repository (Creating waffle flag for integration towards created_submission in the edx-submission repo) (PR #36235)
@gabriel1407<https://github.com/gabriel1407> please read some guides we have about PRs to the project:
* https://docs.openedx.org/en/latest/developers/references/running_pr_tests.html
* https://docs.openedx.org/en/latest/developers/quickstarts/first_openedx_pr.html
—
Reply to this email directly, view it on GitHub<#36235 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BNSFRAVUSYMXQEBK22KSUAT2PTEA7AVCNFSM6AAAAABWWWKAQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJXGE4DKNBRGQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
[sarina]sarina left a comment (openedx/edx-platform#36235)<#36235 (comment)>
@gabriel1407<https://github.com/gabriel1407> please read some guides we have about PRs to the project:
* https://docs.openedx.org/en/latest/developers/references/running_pr_tests.html
* https://docs.openedx.org/en/latest/developers/quickstarts/first_openedx_pr.html
—
Reply to this email directly, view it on GitHub<#36235 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BNSFRAVUSYMXQEBK22KSUAT2PTEA7AVCNFSM6AAAAABWWWKAQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJXGE4DKNBRGQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Description
This pull request introduces several improvements and updates to the xmodule/layer module of the edx-platform repository. The main changes include:
Refactoring of xqueue_interface.py and xqueue_submission.py: The functions for sending and handling responses that a student sends within an exercise created in a course have been optimized. For this, the original functionality of sending the submission to Xqueue was maintained, but for this improvement a Waffle Switch was created, where within the LMS Administration it was possible to create and from the tutor env in the development.py file this environment variable is found pointing to the Switch created in the LMS Administration. This Switch was created within Xqueue_interfaces.py when you want to test or not this new functionality of sending the submit to created_submission.
Unit test update: The tests in test_xqueue_interface.py and test_xqueue_submission.py have been reviewed and updated to ensure compatibility with the new modifications and improve test coverage.
Improvements to helpers.py: Helper functions have been added to facilitate the creation of test environments and the simulation of specific scenarios.
Motivation:
These improvements aim to optimize the performance and maintainability of the XQueue-related code, ensuring a more robust and efficient integration into the evaluation workflow.
Tests performed:
All existing unit tests have been run and new tests have been added to cover the newly introduced cases. All tests have passed satisfactorily.
Additional considerations:
No negative impacts on other parts of the system are anticipated, as the changes are limited to the xmodule/layer module.
Recommendations for review:
A detailed review of the modified functions in xqueue_interface.py and xqueue_submission.py, as well as the new tests added in the corresponding files, is suggested.