Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42283

Fetch and Promise enhancements

XMLWordPrintable

    • 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.

      1. Avoid swallowing of promise errors by using a different promise lib / polyfill. Bluebird looks promising:
      2. 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.

            cliffmeyers Cliff Meyers
            cliffmeyers Cliff Meyers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: