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

zooniverse / Panoptes-Front-End / 9634
56%

Build:
DEFAULT BRANCH: master
Ran 20 May 2019 02:16PM UTC
Jobs 1
Files 395
Run time 26s
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
9634

push

travis-ci

srallen
Only show intervention messages if workflow matches payload (#5346)

* add workflow check to incoming interventions

ensure we only add interventions messages the workflow_id is supplied on incoming messages

* check intervention workflows matches known state

if the intervention messages includes a workflow_id, ensure this id matches the known workflow store state.

If intervention workflow_id property is missing then default back to project state comparison only, i.e. allow project messages for all workflows.

* reuse the matchesWorkflow variable

* extract out common test setup

* compare link IDs as string values

messages from sugar could have ints for the link ids, ensure we compare them as strings.

Ideally the message originator deals with this type cast but anyone with access to sugar can post messages down the channel

* use .toString() instead of String()

Co-Authored-By: Jim O'Donnell <jim@eatyourgreens.org.uk>

* another use of toString()

Co-Authored-By: Jim O'Donnell <jim@eatyourgreens.org.uk>

* ensure we have a classification from state

Co-Authored-By: Jim O'Donnell <jim@eatyourgreens.org.uk>

* return the existing state if no classification

Co-Authored-By: Jim O'Donnell <jim@eatyourgreens.org.uk>

* avoid `hasOwnProperty` directly access the attribute

Co-Authored-By: Jim O'Donnell <jim@eatyourgreens.org.uk>

* avoid double testing classification exists

Co-Authored-By: Jim O'Donnell <jim@eatyourgreens.org.uk>

1916 of 5418 branches covered (35.36%)

Branch coverage included in aggregate %.

6613 of 12013 relevant lines covered (55.05%)

6.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9634.1 20 May 2019 02:16PM UTC 0
48.93
Travis Job 9634.1
Source Files on build 9634
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9634
  • f67dce3a on github
  • Prev Build on master (#9615)
  • Next Build on master (#9635)
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

© 2026 Coveralls, Inc