-
Task
-
Resolution: Fixed
-
Minor
-
-
Blue Ocean - 1.1-beta-1, Blue Ocean - 1.1-beta2, Blue Ocean 1.1-beta4, Blue Ocean 1.1, Blue Ocean 1.1, Blue Ocean 1.2, Blue Ocean 1.3
As discussed in an earlier meeting, there are some improvements we should look to make in core-js and across the code base.
- Avoid swallowing of promise errors by using a different promise lib / polyfill. Bluebird looks promising:
- We should add test coverage for core-js' Fetch utility especially around the area of error handling. We've just recently had to add more intricate logic for error handling (validation in creation flows) and we should assert these errors propagate when they should, and are caught properly when the UI can gracefully recover.
- Nock can be used to facilitate this; see this example from smart-fetch: https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean-dashboard/src/test/js/smart-fetch-spec.js#L16
- is duplicated by
-
JENKINS-43315 Use BlueBird as Promise API impl
- Closed
- links to