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

tarantool / crud / 6457477520
89%
master: 88%

Build:
Build:
LAST BUILD BRANCH: rm_fiber_kill
DEFAULT BRANCH: master
Ran 09 Oct 2023 02:05PM UTC
Jobs 1
Files 60
Run time 3s
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

09 Oct 2023 01:41PM UTC coverage: 89.162% (-0.4%) from 89.543%
6457477520

push

github

DifferentialOrange
api: return error if no tuples/objects

Before this patch, the behavior of `*_many` requests if empty array of
tuples/objects were rather confusing. For example, due to format
processing all `*_object_many` operations resulted in `nil, {}` --
error request with zero errors. `insert_many` and `replace_many` calls
result in `nil, nil` -- no result, no error. `upsert_many` results in
`{metadata = metadata}, nil` with no `rows` in response. Thus, for all
six `*_many` calls trying to execute the request with empty array on
input result in malformed response.

After this patch, trying to run `*_many` request with empty array of
tuples/objects will result in `nil, {err}`, similar to existing
`*_many` API. Single tuple crud API already does not allow to run with
no tuples/objects.

Closes #377

12 of 12 new or added lines in 3 files covered. (100.0%)

4615 of 5176 relevant lines covered (89.16%)

17092.78 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.3
0.0% crud/common/utils.lua
2
93.86
-1.79% crud/common/sharding/sharding_metadata.lua
17
55.26
-44.74% cartridge/roles/crud-router.lua
Jobs
ID Job ID Ran Files Coverage
1 6457477520.1 09 Oct 2023 02:05PM UTC 60
89.16
GitHub Action Run
Source Files on build 6457477520
  • Tree
  • List 60
  • Changed 58
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1aad7d2c on github
  • Prev Build on DifferentialOrange/gh-377-no-rows-error (#6420757008)
  • Next Build on DifferentialOrange/gh-377-no-rows-error (#6457667464)
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