-
Notifications
You must be signed in to change notification settings - Fork 76
Dop 1986: Instantly see changes on docs on /deploy #422
Conversation
worker/package.json
Outdated
| "react": "^16.7.0", | ||
| "react-dom": "^16.7.0", | ||
| "remote-file-size": "^3.0.5", | ||
| "request": "^2.88.2", |
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.
I'd be very hesitant to add request since it is deprecated and may not play well with native Promises (I think you'd have to add https://github.com/request/request-promise-native to get it to play well by default)
axios might be a viable alternative, it's fairly well used in a lot of JS apps and has pretty sane error handling patterns.
https://www.npmjs.com/package/axios#handling-errors
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.
Interesting! We currently use it in githubJob.js and this function is not used, by utils.js does call it here as well.
I'll give axios a try here
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.
* Dop 1986: Instantly see changes on docs on /deploy (#422) * testing * testing * testing * save changes * test * commit before switch branch * commit before switch * temp * test * test * test * 5-11-21 Release version bump (#417) * clean up * clean * clean up * clean * clean * clean * lint * refactor * refactor * refactor * clean * add axios Co-authored-by: Cassidy Schaufele <cassidyschaufele@gmail.com> Co-authored-by: Kumaraguru Periyasamy Kanthasamy <48932104+GuruPKK@users.noreply.github.com> * pointing to right meta file * Update githubJob.js * Update Dockerfile * Update Dockerfile Co-authored-by: madelinezec <mez2113@columbia.edu> Co-authored-by: Cassidy Schaufele <cassidyschaufele@gmail.com>
* Dop 1986: Instantly see changes on docs on /deploy (#422) * testing * testing * testing * save changes * test * commit before switch branch * commit before switch * temp * test * test * test * 5-11-21 Release version bump (#417) * clean up * clean * clean up * clean * clean * clean * lint * refactor * refactor * refactor * clean * add axios Co-authored-by: Cassidy Schaufele <cassidyschaufele@gmail.com> Co-authored-by: Kumaraguru Periyasamy Kanthasamy <48932104+GuruPKK@users.noreply.github.com> * pointing to right meta file * Update githubJob.js * Update Dockerfile * Update Dockerfile * Update Dockerfile * Cache purge changes (#435) * Dop 1986: Instantly see changes on docs on /deploy (#422) * testing * testing * testing * save changes * test * commit before switch branch * commit before switch * temp * test * test * test * 5-11-21 Release version bump (#417) * clean up * clean * clean up * clean * clean * clean * lint * refactor * refactor * refactor * clean * add axios Co-authored-by: Cassidy Schaufele <cassidyschaufele@gmail.com> Co-authored-by: Kumaraguru Periyasamy Kanthasamy <48932104+GuruPKK@users.noreply.github.com> * pointing to right meta file * Update githubJob.js * Update Dockerfile * Update Dockerfile Co-authored-by: madelinezec <mez2113@columbia.edu> Co-authored-by: Cassidy Schaufele <cassidyschaufele@gmail.com> * Update S3Publish.js * Update S3Publish.js * Update fastlyJob.js * Update S3Publish.js Co-authored-by: madelinezec <mez2113@columbia.edu> Co-authored-by: Cassidy Schaufele <cassidyschaufele@gmail.com>
* Dop 1986: Instantly see changes on docs on /deploy (#422) =

background on the issue: https://docs.google.com/document/d/1n_KuSuz_4RbCtYR45WT-ormZo5X1RA_r80ioVmfVZFQ/edit
context on implementation: https://docs.google.com/document/d/1IxnFhyTcDVRLBECH6EXQIrc9ksFHTYrFe3biO2ELAQY/edit?usp=sharing