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

jordanvrtanoski / luacpp / f7faa744-a426-462f-a957-6afaa20cdd5a
100%

Build:
DEFAULT BRANCH: main
Ran 19 Feb 2026 03:51AM UTC
Jobs 1
Files 44
Run time 1min
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

19 Feb 2026 03:49AM UTC coverage: 100.0%. Remained the same
f7faa744-a426-462f-a957-6afaa20cdd5a

push

circleci

web-flow
[IMP] Add Lua state pooling with colored pools (#35)

* [IMP] Add Lua state pooling with colored pools

Implement opt-in state pooling system for high-performance scenarios:
- StatePool class for managing reusable lua_State instances
- PoolManager with predefined pool colors (default, sandboxed, minimal, io)
- Selective library loading per pool configuration
- PooledState RAII wrapper for exception-safe state management
- Thread-safe pool mode for multi-threaded applications
- Pool warmup/drain/statistics methods
- PoolExhaustedException for handling pool exhaustion

Add LuaContext integration:
- RunPooled(), RunWithEnvironmentPooled() methods
- AcquirePooledState(), ReleasePooledState() methods
- AcquirePooledStateRAII() for automatic state return
- createPool(), hasPool(), getPool() management methods

Add comprehensive documentation and examples:
- docs/2-state-pooling.md: Complete pooling documentation
- docs/1-introduction.md: Added pooling overview section
- example_StatePool.cpp: Basic pooling usage
- example_StatePoolAdvanced.cpp: Advanced patterns with threads

All 126 tests passing including 56 new pooling tests.

Signed-off-by: Jordan Vrtanoski <jordan.vrtanoski@gmail.com>

* [FIX] Remove duplicate TestCustomAllocatorSameSize test definition

The test was defined twice in TestLuaContextNewState.cpp:
- Line 37: correct location
- Line 320: duplicate removed

This fixes the build error: redefinition of TestLuaContextNewState_TestCustomAllocatorSameSize_Test

Signed-off-by: Jordan Vrtanoski <jordan.vrtanoski@gmail.com>

---------

Signed-off-by: Jordan Vrtanoski <jordan.vrtanoski@gmail.com>

1041 of 1041 new or added lines in 11 files covered. (100.0%)

2759 of 2759 relevant lines covered (100.0%)

48.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 f7faa744-a426-462f-a957-6afaa20cdd5a.1 19 Feb 2026 03:51AM UTC 44
100.0
Source Files on build f7faa744-a426-462f-a957-6afaa20cdd5a
  • Tree
  • List 44
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #F7FAA744...
  • 357f8e12 on github
  • Prev Build on main (#2B0844E2...)
  • Next Build on main (#AB677B8A...)
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