Tags: henry40408/lmb
Tags
feat: enhance Lua error handling and testing (#39) * feat: add error handling and integration test for Lua script execution * feat: add Lua error handling tests for value and expression errors * feat: add syntax error handling and integration test for Lua scripts * feat: enhance Lua error handling with improved traceback parsing and integration tests * feat: add integration test for Lua callback expression error handling * feat: improve error reporting in Lua integration tests and main application
feat: add HTTP server with Lua script handling and improve state mana… …gement (#31) * feat: reorganize command options for clarity and adjust timeout handling * feat: add HTTP server with Lua script handling and state management - Introduced `axum` for HTTP server capabilities, allowing Lua scripts to be served over HTTP. - Added new Lua fixtures for echo and simple HTML responses. - Enhanced `Runner` and `State` structures to support passing state and request information to Lua scripts. - Updated dependencies in `Cargo.toml` for `axum` and `byte-unit`. - Refactored HTTP response handling to include headers and status codes in the Lua context. - Improved error handling and logging throughout the application. - Modified tests to accommodate new features and ensure proper functionality. * chore: update dependencies in Cargo.lock for improved compatibility * feat: add new dependencies and refactor AppState initialization for improved configuration * feat: add new dependencies for os_pipe and wait-timeout, and update snapbox features * feat: update CI workflow to ignore main.rs in coverage report and refactor request handling into serve.rs * fix: downgrade windows-sys dependency from 0.59.0 to 0.52.0 for compatibility * feat: enhance tracing by using `Instrument` for better span management in HTTP and IO bindings * fix: improve header handling in request response by ensuring all header values are converted to strings * chore: update bon and clap dependencies to versions 3.7.2 and 4.5.47, respectively, and upgrade windows-sys to 0.59.0
PreviousNext