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

tarantool / tarantool / 5748072502
88%

Build:
DEFAULT BRANCH: master
Ran 03 Aug 2023 08:03AM UTC
Jobs 1
Files 490
Run time 20s
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

03 Aug 2023 07:52AM UTC coverage: 86.108% (-0.02%) from 86.127%
5748072502

push

github

Totktonada
config: allow to call config:get() from app script

It is convenient to access configuration using `config:get()` from the
application script (`app.file` or `app.module`).

However, before this commit, it was not possible, because the
configuration was not considered as applied before the application
script is loaded.

Now, the script loading is moved into the post-apply phase.

The resulting sequence of steps on startup/reload is the following.

* collect configuration information (from all the sources)
* <if the previous step is failed, set `check_errors` status and break>
* apply the configuration (call all the appliers)
* <if the previous step is failed, set `check_errors` status and break>
* <set the new successful status: `ready` or `check_warnings`>
* call post-apply hooks (including application script loading)
* <if the previous step is failed, set `check_errors` status and break>
* <set the new successful status: `ready` or `check_warnings`>

I would like to briefly comment the changes in the tests.

* `app_test.lua`: added the check for the new behavior (call
  config:get() from the app script)
* `appliers_test.lua`: fixed the applier call (`.apply` ->
  `.post_apply`)
* `config_test.lua`: fixed status observed in the app script
  (`*_in_progress` -> `ready`)

Part of #8862

NO_DOC=reflected in https://github.com/tarantool/doc/issues/3544

63498 of 115326 branches covered (55.06%)

95173 of 110527 relevant lines covered (86.11%)

2853901.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5748072502.1 03 Aug 2023 08:03AM UTC 0
86.11
GitHub Action Run
Source Files on build 5748072502
Detailed source file information is not available for this build.
  • Back to Repo
  • 0cb91010 on github
  • Prev Build on master (#5744746581)
  • Next Build on master (#5761103588)
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