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

tarantool / tarantool / 14361314860
88%

Build:
DEFAULT BRANCH: master
Ran 09 Apr 2025 03:53PM UTC
Jobs 1
Files 518
Run time 2min
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 Apr 2025 03:39PM UTC coverage: 87.475% (+0.02%) from 87.459%
14361314860

push

github

Totktonada
config: add ability to run code before box.cfg

This commit adds 'metadata' support for roles and app scripts.
Currently only 'early_load' tag is supported. If this 'early_load'
tag is set to `true` for a role or a script, this role or script will
be loaded before the execution of `box.cfg` by the config module.

Closes #10182
Closes TNTP-227

@TarantoolBot document
Title: roles and scripts metadata

Metadata can be specified for roles and scripts (module or file in `app`
config section) in lua files. To add metadata to a source file, a
comment must be added to the beginning of the file (or after a shebang).
The metadata comment must contain a YAML-formatted section begging with
'--- #tarantool.metadata.v1' line and ending with '...' line. Example:

```lua
-- This script will be loaded before the first box.cfg() call.
-- --- #tarantool.metadata.v1
-- early_load: true
-- ...
-- More comments can be added here.
```

Currently only 'early_load' tag is supported. Setting 'early_load' tag
makes it so that the tagged file will be loaded (required) before the
execution of `box.cfg` by the config module. During the preload phase
config:get() will not work, both for modules and app scripts.

70157 of 123773 branches covered (56.68%)

103277 of 118065 relevant lines covered (87.47%)

2877599.87 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.74
0.0% src/box/vy_range.c
1
96.3
-3.7% src/cpu_feature.c
1
92.84
0.0% src/lib/core/fiber.c
2
91.29
-0.06% src/box/box.cc
2
84.53
-0.72% src/lib/core/coio.c
2
97.26
0.0% src/lib/msgpuck/msgpuck.h
Jobs
ID Job ID Ran Files Coverage
1 14361314860.1 09 Apr 2025 03:53PM UTC 518
87.47
GitHub Action Run
Source Files on build 14361314860
  • Tree
  • List 518
  • Changed 18
  • Source Changed 0
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 4f592623 on github
  • Prev Build on master (#14330619601)
  • Next Build on master (#14375131487)
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