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

tarantool / tarantool / 14069407722
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: fix-test-dir-for-gitlab-ci
DEFAULT BRANCH: master
Ran 25 Mar 2025 08:39PM UTC
Jobs 1
Files 518
Run time 4min
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

25 Mar 2025 08:24PM UTC coverage: 87.461% (+0.01%) from 87.45%
14069407722

push

github

Totktonada
config: apply lua_call privileges before bootstrap

This patch is a bugfix of the `lua_call` runtime access implemented in
commit 38c6b0d38254 ("config: grant runtime access to lua_call from
config").

One of the main reason for runtime privileges is to allow granting guest
user `lua_call` access before the initial bootstrap. During the
implementation of the #10857 in terms of the new behavior of the
supervised failover with the supervised bootstrap strategy it turned out
runtime privileges haven't been added as a first-phase applier making it
impossible to executing some of the lua functions before the initial
bootstrap. This patch fixes it by adding a first-phase applier.

For instance, you might allow guest connection to fetch information on
instances before the bootstrap by configuring `credentials` section like
this.

```yaml
credentials:
  guest:
    privileges:
    - permissions: [ execute ]
      lua_call: [box.info]
```

NO_DOC=see tarantool/doc#4552, added a comment on it

(cherry picked from commit f00141723)

69877 of 123751 branches covered (56.47%)

102902 of 117655 relevant lines covered (87.46%)

2163713.23 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.7
-0.07% src/box/applier.cc
1
95.78
-0.12% src/box/replication.cc
1
88.05
-0.16% src/box/vy_lsm.c
1
87.23
0.2% src/box/vy_run.c
1
84.18
-0.07% src/box/xlog.c
1
87.5
-1.59% src/box/xlog.h
1
91.56
-0.11% src/lib/swim/swim.c
2
93.03
-0.11% src/lib/core/fiber.c
2
97.05
-0.1% src/lib/msgpuck/msgpuck.h
3
91.59
-0.59% src/box/gc.c
3
97.95
-0.22% src/box/memtx_tx.c
Jobs
ID Job ID Ran Files Coverage
1 14069407722.1 25 Mar 2025 08:39PM UTC 518
87.46
GitHub Action Run
Source Files on build 14069407722
  • Tree
  • List 518
  • Changed 23
  • Source Changed 0
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • d889b7d7 on github
  • Prev Build on release/3.3 (#14030708734)
  • Next Build on release/3.3 (#14084633437)
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