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

catmaid / CATMAID / 6655 / 2
45%
master: 45%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: master
Ran 18 Nov 2019 08:13PM UTC
Files 106
Run time 21s
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

18 Nov 2019 08:13PM UTC coverage: 44.863% (+0.1%) from 44.751%
6655.2

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.

8563 of 19087 relevant lines covered (44.86%)

0.45 hits per line

Source Files on job 6655.2
  • Tree
  • List 0
  • Changed 8
  • Source Changed 8
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5802
  • Travis Job 6655.2
  • 6332cdad on github
  • Prev Job for on dev (#6641.2)
  • Next Job for on dev (#6656.1)
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