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

tarantool / tarantool / 23895950226
88%

Build:
DEFAULT BRANCH: master
Ran 02 Apr 2026 10:43AM UTC
Jobs 1
Files 526
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

02 Apr 2026 10:25AM UTC coverage: 87.685% (-0.007%) from 87.692%
23895950226

push

github

locker
lua: export checks and metrics to application threads

Note that this commit just exports the metrics module. It doesn't
implement any functionality for collecting or exporting modules set in
application threads via configurable application roles. The latter will
be done later.

The metrics module uses `_G.arg` unconditionally at the top level so
we have to initialize it in application threads. We set it to an empty
table, which should be fine because usage of command-line arguments
doesn't make much sense in application threads. It's acceptable for
the metrics module because the latter uses `arg[0]` to set a metric
label[1]. If it's nil, the label won't be set, which isn't a big deal.
If it turns out to be not enough for some other module, we can always
export the real command-line arguments but for now this doesn't seem
to be necessary.

Closes #12213
Closes #12339

[1]: https://github.com/tarantool/metrics/blob/921efdc18/metrics/psutils/cpu.lua#L11

NO_DOC=unreleased
NO_CHANGELOG=unreleased

70586 of 118791 branches covered (59.42%)

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

38 existing lines in 14 files now uncovered.

106137 of 121044 relevant lines covered (87.68%)

1363533.56 hits per line

Coverage Regressions

Lines Coverage ∆ File
9
60.42
-4.03% src/lib/core/fio.c
4
91.51
-0.06% src/box/box.cc
4
88.09
-0.12% src/box/vy_run.c
4
93.31
-1.27% src/lib/swim/swim_io.c
3
97.56
0.2% src/lib/msgpuck/msgpuck.h
3
22.66
-0.04% src/lib/uri/uri_parser.c
2
85.89
-0.08% src/box/xlog.c
2
89.99
-0.1% src/box/xrow.c
2
93.79
0.77% src/box/xrow_update_field.c
1
88.96
-0.61% src/box/engine.c
1
96.88
-1.56% src/box/engine.h
1
92.69
0.0% src/box/vinyl.c
1
90.3
-0.08% src/box/vy_log.c
1
98.08
-0.31% src/lib/json/json.c
Jobs
ID Job ID Ran Files Coverage
1 23895950226.1 02 Apr 2026 10:43AM UTC 526
87.68
GitHub Action Run
Source Files on build 23895950226
  • Tree
  • List 526
  • Changed 23
  • Source Changed 0
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • e6a396b1 on github
  • Prev Build on master (#23861962843)
  • Next Build on master (#23950640947)
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