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

tarantool / tarantool / 41479983475
88%

Build:
DEFAULT BRANCH: master
Ran 02 Nov 2026 04:30PM UTC
Jobs 1
Files 526
Run time 1min
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

02 Nov 2026 04:17PM UTC coverage: 88.134% (+0.03%) from 88.108%
41479983475

push

github

Totktonada
lua: make JSON integer overflow configurable

JSON integers outside [INT64_MIN, UINT64_MAX] are silently clamped to a
boundary, which can hide unsupported values from applications. Add the
decode_overflow option to let callers reject such values while retaining
clamping by default for backward compatibility.

Support both instance configuration and per-call options. Validate the
mode before applying other configuration changes. Add luatest coverage
for both modes, integer values and types, nested data, malformed input,
and configuration isolation.

Closes #6115

@TarantoolBot document
Title: Configure integer overflow in json.decode()

The decode_overflow option accepts two values:
- clamp (default): values below INT64_MIN become INT64_MIN, and values
  above UINT64_MAX become UINT64_MAX.
- error: raise an error with the location of the overflowing integer.

Use json.cfg({decode_overflow = 'error'}) for an instance, or
json.decode(data, {decode_overflow = 'error'}) for a single call without
changing the instance settings. The option applies at any nesting level.
In-range integers, floating-point input, and encoding are unchanged.

72877 of 121697 branches covered (59.88%)

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

23 existing lines in 12 files now uncovered.

109425 of 124157 relevant lines covered (88.13%)

1495696.86 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
89.73
-0.21% src/box/xrow.c
3
92.45
-0.3% src/box/vy_scheduler.c
2
91.2
0.42% src/box/box.cc
2
95.21
-1.06% src/box/vy_range.c
2
85.95
-0.12% src/box/xlog.c
2
93.81
0.0% src/box/xrow_update_field.c
2
72.17
-1.74% src/lib/core/opt_def.c
2
86.9
-0.29% src/lib/core/say.c
1
97.99
-0.28% src/box/lua/init.c
1
96.0
-4.0% src/box/user_def.c
1
94.59
0.96% src/lib/swim/swim_io.c
1
79.44
-0.25% src/main.cc
Jobs
ID Job ID Ran Files Coverage
1 41479983475.1 02 Nov 2026 04:30PM UTC 526
88.13
GitHub Action Run
Source Files on build 41479983475
  • Tree
  • List 526
  • Changed 31
  • Source Changed 0
  • Coverage Changed 31
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 9d9923b0 on github
  • Prev Build on master (#41478120543)
  • Next Build on master (#41491319919)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc