-
Notifications
You must be signed in to change notification settings - Fork 4.2k
[BB-2967] Remove report path from task output data #24867
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
[BB-2967] Remove report path from task output data #24867
Conversation
|
Thanks for the pull request, @xitij2000! I've created OSPR-4931 to keep track of it in JIRA, where we prioritize reviews. Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
|
@xitij2000 Hi. Just to catch-up, do we have an estimated timeline for this PR review and merge? Thanks |
|
@DawoudSheraz Unfortunately I will only find time to properly work on this next sprint. There are still some issues and it needs an internal review. |
|
@xitij2000 Thank you for your contribution. Please let me know once it is ready for our review. |
c5fbc1f to
64c2226
Compare
|
@xitij2000 Changes look good. I have tested on sandbox too. Please let me know the expected merge timeline after your internal review. |
|
@xitij2000, I noticed new error in console: It's very minor, you can fix it by changing: https://github.com/edx/edx-platform/blob/64c2226a44246af165a8ef09fa9e136c056d5680/lms/djangoapps/instructor/static/instructor/ProblemBrowser/components/Main/Main.jsx#L46 To this: <input type="text" name="problem-location" value={selectedBlock || ''} disabled /> |
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.
👍 after fixing mentioned error.
- I tested that requests to
instructor_task_statusdon't containreport_pathparameter - I read through the code
-
I checked for accessibility issuesNo new interfaces introduced. -
Includes documentationNo need in additional documentation here. -
I made sure any change in configuration variables is reflected in the corresponding client'sconfiguration-securerepository.
I've fixed it a different way. This is happening because the original value for selected block in null in the reducer. I've now set it to an empty string. |
|
@natabene This is ready for edX review. CC: @DawoudSheraz |
|
@DawoudSheraz Can you review this and merge if you find it good? |
Sure. |
DawoudSheraz
left a comment
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.
@xitij2000 Will the related tests be added in a follow-up PR? Other than that, the changes look good to me.
|
@xitij2000 Also, can you rebase and squash. your commits? The tests seem to be stuck in getting the status back. I want to get this merged today if possible. |
Use alternative method for getting report download link
db0fc9a to
9adeeb0
Compare
|
jenkins run py38 quality |
|
Your PR has finished running tests. There were no failures. |
|
@xitij2000 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
|
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. |

In a previous PR (https://github.com/edx/edx-platform/pull/19986) to implement a report status UI, a change was made that added the report path to the task output. This was to simplify getting this data during the task progress, so we could update the UI with it. However, this change makes the task output too large which causes it to fail in the last step in many cases.
This PR updates the code to use alternative method for getting report download link using the report downloads list.
JIRA tickets: OSPR-4931
Discussions: https://github.com/edx/edx-platform/pull/19986#issuecomment-682377341
Dependencies: None
Sandbox URL:
LMS: https://pr24867.sandbox.opencraft.hosting/
Studio: https://studio.pr24867.sandbox.opencraft.hosting/
Merge deadline: ASAP
Testing instructions:
instructor_task_statusendpointreport_pathparameterReviewers
Settings