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
Improvements to /learn/local #31268
Improvements to /learn/local #31268
Conversation
Quick check on this first commit please, @davidsbailey: Did I move this pegasus JS into apps correctly, using the new webpack helper? |
@islemaster yes, looks good! |
64e18b2
to
de9cbd9
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.
Great improvement! We also tested it against bugcrowd example and it worked!
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.
Wow, that's a big change, but going through the commits one by one was a good suggestion, and everything looks to be improved. Thank you!
81a2618
to
86083a7
Compare
9183adc
to
f264a9e
Compare
Well, I tried changing our coverage reporter to work around the Drone issue, but my build is still failing - now with even less helpful logging.
I'm not sure where the firehose logging or p5.js |
Comparing my failure log to a successful run:
|
sorry to hear it, @islemaster . it sure seems unclear whether the istanbul fix has let you get farther along or not. a few ideas that might be faster than a full binary search:
|
Skipping all the tests in localTest.js still fails. (Drone) Current hypothesis: Importing the file being tested is what's breaking the build. Put back the import and remove parts of local.js passes. (Drone) |
41defe3
to
d891860
Compare
Okay, PTAL. I believe I've tracked down all the test issues that were causing this PR to fail on Drone:
I can't wait until we move our tests to headless chrome. |
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.
Great work, Brad! It seems like we can definitely chalk these up as developer days lost to not having upgraded yet to headless Chrome.
Moves the JavaScript for the classroom map at
/learn/local
into apps, adds tests for some of it, and then refactors a whole lot of it. See the linked Jira item for motivation and specific concerns.Recommendation for reviewers: Viewing individual commits may be helpful due to the amount of refactoring that happened here.
Links
Testing story
I believe I've added unit tests to cover everything that I might have changed, but there is some moved code that I didn't add coverage for, so please don't assume it's comprehensive.
Reviewer Checklist: