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

tarantool / tarantool / 6172553745
88%

Build:
DEFAULT BRANCH: master
Ran 13 Sep 2023 12:46PM UTC
Jobs 1
Files 496
Run time 27s
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

13 Sep 2023 12:37PM UTC coverage: 86.414% (-0.006%) from 86.42%
6172553745

push

github

locker
session: move all session triggers to the trigger registry

The commit populates submodule session with an event for each public
trigger - they will be used for user-defined triggers. Old triggers are
not removed because they are used for internal purposes - audit from EE
uses them, for instance. Also, the commit introduces a test for all
triggers that use old API. It checks only session triggers now - all the
other triggers will be included there after they will be moved to the
trigger registry.

In order to have an opportunity to move user-defined triggers to trigger
registry, the commit introduces helper luaT_event_reset_trigger that
supports two different ways to set triggers - key-value API and positional
API. The first one is a new API that allows to set or delete trigger only
by name. The second API is implemented for the sake of backward
compatibility - it mimics behavior of function lbox_trigger_reset, which
was used to modify triggers, but sets the triggers to event from trigger
registry instead of separate trigger list. Also, positional API allows
to pass a name as the third argument - in this case the function will
set or delete trigger by passed name - the first argument is a new
trigger (or nil, if the function is called to delete a trigger), the
second argument will be ignored in this case.

The new helper supports not only functions - any callable object can be
used as a trigger.

Part of #6484
Part of #8657

NO_CHANGELOG=later
NO_DOC=later

64417 of 116178 branches covered (0.0%)

156 of 156 new or added lines in 6 files covered. (100.0%)

96266 of 111401 relevant lines covered (86.41%)

2632606.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6172553745.1 13 Sep 2023 12:46PM UTC 0
86.41
GitHub Action Run
Source Files on build 6172553745
Detailed source file information is not available for this build.
  • Back to Repo
  • abefe2c6 on github
  • Prev Build on master (#6172206516)
  • Next Build on master (#6181822214)
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