Skip to content

Allow flexible Lua library selection#272

Open
javiermtorres wants to merge 6 commits intomainfrom
120-lua-sandbox-config
Open

Allow flexible Lua library selection#272
javiermtorres wants to merge 6 commits intomainfrom
120-lua-sandbox-config

Conversation

@javiermtorres
Copy link
Contributor

Allows flags in the encoderfile config to selectively enable Lua libraries. If no library section is present, the math, string and table packages are loaded.

Closes #120

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 95.20384% with 20 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
encoderfile/src/transforms/engine/mod.rs 94.11% 12 Missing ⚠️
encoderfile/src/runtime/state.rs 42.85% 4 Missing ⚠️
encoderfile/src/common/config.rs 87.50% 2 Missing ⚠️
encoderfile/src/build_cli/config.rs 83.33% 1 Missing ⚠️
...derfile/src/build_cli/transforms/validation/mod.rs 90.90% 1 Missing ⚠️
Files with missing lines Coverage Δ
encoderfile/src/build_cli/tokenizer.rs 91.56% <100.00%> (+0.10%) ⬆️
...e/src/build_cli/transforms/validation/embedding.rs 88.60% <100.00%> (+1.10%) ⬆️
...ld_cli/transforms/validation/sentence_embedding.rs 88.75% <100.00%> (+0.59%) ⬆️
...i/transforms/validation/sequence_classification.rs 89.74% <100.00%> (+0.55%) ⬆️
..._cli/transforms/validation/token_classification.rs 89.74% <100.00%> (+0.55%) ⬆️
encoderfile/src/dev_utils/mod.rs 97.95% <100.00%> (+0.04%) ⬆️
encoderfile/src/runtime/loader.rs 64.00% <100.00%> (+3.70%) ⬆️
encoderfile/src/services/embedding.rs 100.00% <100.00%> (ø)
encoderfile/src/services/sentence_embedding.rs 93.75% <100.00%> (+0.41%) ⬆️
...ncoderfile/src/services/sequence_classification.rs 94.11% <100.00%> (+0.36%) ⬆️
... and 10 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@javiermtorres javiermtorres marked this pull request as ready for review February 12, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow configuration for lua sandboxing

2 participants