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

tarantool / tarantool / 12179675859
88%

Build:
DEFAULT BRANCH: master
Ran 05 Dec 2024 12:55PM UTC
Jobs 1
Files 518
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

05 Dec 2024 12:23PM UTC coverage: 87.342% (-0.003%) from 87.345%
12179675859

push

github

Totktonada
config: fix schema:get()/set() changes passed path

This patch makes `schema:get()`, `schema:set()` and `config:get()` not
change the passed path argument when it is a table.

The problem was in the way the walkthrough process is set up during the
`schema:get()` and `schema:set()` method execution. These methods used
`walkthrough_start()` performing a shallow copy of the passed option
table containing the information on the desired path. The value of
the path was modified during the walkthrough itself. The patch makes
the methods perform a shallow copy of the path field. It also fixes
`config:get()` since it's internally uses `schema:get()`.

This is how broken scenario could be reproduced when using
`config:get()`:
```
tarantool> config = require('config')
tarantool> path = {'fiber', 'slice'}
tarantool> config:get(path)
---
- err: 1
  warn: 0.5
...

tarantool> path
---
- []
...
```

Closes #10855

NO_DOC=bugfix

69623 of 123486 branches covered (56.38%)

102594 of 117463 relevant lines covered (87.34%)

3262265.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12179675859.1 05 Dec 2024 12:55PM UTC 0
87.34
GitHub Action Run
Source Files on build 12179675859
Detailed source file information is not available for this build.
  • Back to Repo
  • fb5740ca on github
  • Prev Build on master (#12162643301)
  • Next Build on master (#12182328004)
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