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

Nordstrom / serverless-artillery / 502 / 6
61%
master: 99%

Build:
Build:
LAST BUILD BRANCH: fix-service-name-bug-#96
DEFAULT BRANCH: master
Ran 30 Apr 2018 08:51PM UTC
Files 15
Run time 0s
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

30 Apr 2018 08:46PM UTC coverage: 98.814% (+82.4%) from 16.44%
NPM_VERSION=3

push

travis-ci

erikerikson
Merge and Defaults Improvements + Bug Fixes

lib/lambda/funcHandle.js: improve merging of the event using lodash.merge and lodash.omit.  This enables the replacement of deep values in the script (so as to override portions rather than the entirety of an attribute in the script (e.g. a metrics sink configuration attribute within the script).  The alternative was duplicating the entirety of that attribute in the merge portion.
lib/lambda/funcHandle.spec.js: add deeper merge case, improve reflection of timeout as a milliseconds (not seconds) value.
lib/lambda/package.json: add lodash merge and omit

lib/lambda/taskDef.js: adjust default to compact the sampling traffic so as to reduce cost

lib/lambda/handler.js: the event executed is potentially not the event that specifies correct behavior.  Specifically, a single event produced from/by an acceptance/monitoring mode execution will look and act like a performance script irregardless of the expected treatment and behavior (i.e. report analysis and alerting), by adding the source event and using that this bug is fixed.
lib/lambda/handler.spec.js: add sourceEvent vs event check case.
lib/lambda/package.json: switch to a known license to avoid warning output from npm
lib/lambda/taskResult.js: fix bug where the settings had not been passed to analyzeMonitoring

lib/index.js: switch from using the ServerlessFiles array, indexing into it was fragile and caused bugs, to using ServerlessFile.  This duplicates the "serverless.yml" string but that's worth it.  Also fix function environment variables declarations that are references (rather than ending up with the reference function declarations as the values).  Resolve successful executions of invoke with the result returned by the target function (for use in tests or tools).  Add creation of `script.yml` if one doesn't exist, so that the serverless.yml's `${file(script.yml)}` reference is valid.  Last but not least, avoid new promise creation and synchronous write... (continued)

519 of 534 branches covered (97.19%)

Branch coverage included in aggregate %.

897 of 899 relevant lines covered (99.78%)

19.98 hits per line

Source Files on job 502.6 (NPM_VERSION=3)
  • Tree
  • List 0
  • Changed 13
  • Source Changed 5
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 483
  • Travis Job 502.6
  • 4ccf6259 on github
  • Prev Job for NPM_VERSION=3 on monitoring-mode (#498.7)
  • Next Job for NPM_VERSION=3 on monitoring-mode (#504.6)
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