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

tarantool / crud / 6457667464
89%
master: 88%

Build:
Build:
LAST BUILD BRANCH: rm_fiber_kill
DEFAULT BRANCH: master
Ran 09 Oct 2023 02:22PM UTC
Jobs 1
Files 59
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:59PM UTC coverage: 89.14% (+0.004%) from 89.136%
6457667464

Pull #382

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
Pull Request #382: api: return error if no tuples/objects

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

4572 of 5129 relevant lines covered (89.14%)

17608.11 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
3
92.41
-0.1% crud/common/schema.lua
57
87.38
0.08% crud/common/utils.lua
Jobs
ID Job ID Ran Files Coverage
1 6457667464.1 09 Oct 2023 02:22PM UTC 59
89.14
GitHub Action Run
Source Files on build 6457667464
  • Tree
  • List 59
  • Changed 55
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #382
  • PR Base - DifferentialOrange/no-gh-schema (#6457458672)
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