• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

catmaid / CATMAID / 6655
45%
master: 45%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: master
Ran 18 Nov 2019 08:13PM UTC
Jobs 3
Files 212
Run time 14min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
6655

push

travis-ci

tomka
Submitter: execute functions w/o HTTP requests asynchronously too

A submitter can be used to queue both HTTP requests and regular
functions. HTTP requests are executed asynchronously, but so far, when
running a queue element using next(), regular functions where
executed right away in a synchronous fashion. This inconsistency can
lead to subtle problems in execution order, mainly when "exiting" the
submitter queue by generating an independent promise using "promise()".
In that case an actual Promise instance is returned that resolves as
soon as the submitter queue is at the insertion point. If however no
real asynchronous tasks where performed up to that point, a new
a new non-http continuation added to the submitter, will run *before*
the previously generated promise. This is counterintuitive and not
intended. The reason is that all continuations have been run
synchronously and the promise execution waits for the next available
async microtask slot. This commit runs therefore also sync continuations
in an async promise.

The Tracing Overlay front-end tests revealed that when working with
queueing both synchronous and asynchronous queue continuations.

17126 of 38174 relevant lines covered (44.86%)

1.25 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6655.1 18 Nov 2019 08:14PM UTC 0
44.86
Travis Job 6655.1
2 6655.2 18 Nov 2019 08:13PM UTC 0
44.86
Travis Job 6655.2
3 6655.3 18 Nov 2019 08:27PM UTC 0
41.82
Travis Job 6655.3
Source Files on build 6655
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6655
  • 6332cdad on github
  • Prev Build on dev (#6641)
  • Next Build on dev (#6656)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc