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

conventional-changelog / conventional-github-releaser / 224
8%

Build:
DEFAULT BRANCH: master
Ran 25 Jun 2017 02:14AM UTC
Jobs 20
Files 3
Run time 8min
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
224

push

travis-ci

Hutson Betts
fix(index): handle error when posting new tags

Previous behavior was based on the use of `Q.allSettled`, which does not
distinguish between a successful promise, or a rejected promise.
Therefore, even if `conventional-gitlab-releaser` failed to post a new
GitLab Release page, `conventional-gitlab-releaser` would still call the
callback without an error, thereby causing consumers to assume
everything succeeded.

New behavior is based on the use of `Q.all`, which will distinguish
between a fulfilled promise and a rejected promise. Therefore we can
register a `then` callback for success, and a `catch` callback to handle
the first promise that fails.

Concern: Because we make POST requests for new tags concurrently, some
tags, and their respective Release pages, may be successfully created on
GitLab, yet `conventional-gitlab-releaser` could still report failure if
even a single POST request fails. That could leave the process of
creating tags in an undesired state. Long-term, perhaps we should
cleanup all created tags if a single request fails so that we leave the
target project in a clean state. (Though we need to also consider that
tag creation may automatically trigger other downstream processes; such
as CI).

Fixes #3

5 of 58 branches covered (8.62%)

3 of 3 new or added lines in 1 file covered. (100.0%)

7 of 102 relevant lines covered (6.86%)

5.88 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
100.0
src/index.js
Jobs
ID Job ID Ran Files Coverage
1 224.1 (NPM_VERSION=2) 25 Jun 2017 02:15AM UTC 0
6.86
Travis Job 224.1
2 224.2 (NPM_VERSION=2) 25 Jun 2017 02:14AM UTC 0
6.86
Travis Job 224.2
3 224.3 (NPM_VERSION=2) 25 Jun 2017 02:15AM UTC 0
6.86
Travis Job 224.3
4 224.4 (NPM_VERSION=3) 25 Jun 2017 02:15AM UTC 0
6.86
Travis Job 224.4
5 224.5 (NPM_VERSION=3) 25 Jun 2017 02:15AM UTC 0
6.86
Travis Job 224.5
6 224.6 (NPM_VERSION=3) 25 Jun 2017 02:17AM UTC 0
6.86
Travis Job 224.6
7 224.7 (NPM_VERSION=4) 25 Jun 2017 02:17AM UTC 0
6.86
Travis Job 224.7
8 224.8 (NPM_VERSION=4) 25 Jun 2017 02:18AM UTC 0
6.86
Travis Job 224.8
9 224.9 (NPM_VERSION=4) 25 Jun 2017 02:18AM UTC 0
6.86
Travis Job 224.9
10 224.10 (NPM_VERSION=5) 25 Jun 2017 02:18AM UTC 0
6.86
Travis Job 224.10
11 224.11 (NPM_VERSION=5) 25 Jun 2017 02:19AM UTC 0
6.86
Travis Job 224.11
12 224.12 (NPM_VERSION=5) 25 Jun 2017 02:20AM UTC 0
6.86
Travis Job 224.12
13 224.13 (NPM_VERSION=2) 25 Jun 2017 02:20AM UTC 0
6.86
Travis Job 224.13
14 224.14 (NPM_VERSION=3) 25 Jun 2017 02:20AM UTC 0
6.86
Travis Job 224.14
15 224.15 (NPM_VERSION=4) 25 Jun 2017 02:20AM UTC 0
6.86
Travis Job 224.15
16 224.16 (NPM_VERSION=5) 25 Jun 2017 02:21AM UTC 0
6.86
Travis Job 224.16
17 224.17 (NPM_VERSION=next) 25 Jun 2017 02:21AM UTC 0
6.86
Travis Job 224.17
18 224.18 (NPM_VERSION=next) 25 Jun 2017 02:23AM UTC 0
6.86
Travis Job 224.18
19 224.19 (NPM_VERSION=next) 25 Jun 2017 02:23AM UTC 0
6.86
Travis Job 224.19
20 224.20 (NPM_VERSION=next) 25 Jun 2017 02:23AM UTC 0
6.86
Travis Job 224.20
Source Files on build 224
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #224
  • 7c1e4d91 on github
  • Prev Build on master (#222)
  • Next Build on master (#225)
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