-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Update handler_url support to match the latest in the xblock repo, for both js and python runtimes #1692
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
Update handler_url support to match the latest in the xblock repo, for both js and python runtimes #1692
Conversation
|
At a first pass, test coverage is fairly low: https://jenkins.testeng.edx.org/job/edx-platform-report/735/Diff_Coverage_Report/? |
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.
Just want to point out in workbench/runtime.py this condition isn't checked for (if suffix='' there is still a /). I'm not clear on how important it is to have or remove this trailing slash.
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.
XModules append to it, so I wanted to make sure it was a clean prefix (w/o the trailing slash). For pure xblocks, it doesn't matter as much.
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.
Makes sense, ty much
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.
Can we make any guarantees about slashlessness about these URLs? Certainly if there's a query, you can't just append "/foo" to the URL. The caller would be in control of the query I guess....
|
The code is good but would like to see some test coverage. |
|
I don't have anything to add beyond my note in 👍 |
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.
Is it customary in coffeescript to have no documentation or comments on functions? (This sounds sarcastic, but only half-so. Maybe there's something about coffeescript I don't understand.)
…r both js and python runtimes [LMS-1613]
|
👍 |
|
Only test failure is known studio acceptance test flakiness. Merging. |
Update handler_url support to match the latest in the xblock repo, for both js and python runtimes
No description provided.