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

tarantool / tarantool / 14068276858
88%

Build:
DEFAULT BRANCH: master
Ran 25 Mar 2025 07:33PM UTC
Jobs 1
Files 518
Run time 5min
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 07:18PM UTC coverage: 87.455% (-0.01%) from 87.466%
14068276858

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

70065 of 123637 branches covered (56.67%)

103171 of 117970 relevant lines covered (87.46%)

2862337.33 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.78
-0.12% src/box/replication.cc
1
96.15
-0.05% src/lib/salad/bps_tree.h
2
90.79
-0.06% src/box/box.cc
2
86.68
-0.42% src/box/vy_stmt.c
2
89.25
-0.1% src/box/xrow.c
2
85.15
-0.27% src/lib/core/say.c
2
95.45
-4.55% src/lib/json/json.h
2
94.22
-0.39% src/lua/fiber.c
3
87.44
-0.06% src/box/vy_run.c
3
90.9
-0.31% src/box/vy_scheduler.c
3
92.92
-0.12% src/lib/core/fiber.c
3
22.66
-0.06% src/lib/uri/uri_parser.c
4
94.15
-2.13% src/box/vy_range.c
4
94.25
-0.78% src/box/xrow_update_field.c
Jobs
ID Job ID Ran Files Coverage
1 14068276858.1 25 Mar 2025 07:33PM UTC 518
87.46
GitHub Action Run
Source Files on build 14068276858
  • Tree
  • List 518
  • Changed 29
  • Source Changed 0
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • f0014172 on github
  • Prev Build on master (#14036396387)
  • Next Build on master (#14084552938)
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