fix: resolve failing BATS and agent-zero Python unit tests#9
fix: resolve failing BATS and agent-zero Python unit tests#9samir-alsayad wants to merge 1 commit intomainfrom
Conversation
- Fixed `telemetry_aggregator.bats` by adding missing Learner Level extraction logic (`jq`) in `core/hud/telemetry_aggregator.sh`. - Fixed `launcher_logic.bats` by updating the `tmux list-windows` mock to correctly output `0` for window index when the station does not exist (default mode). - Fixed `agent-zero` Python tests by adding `runtime.is_development()` fallback condition in `websocket_manager.py::_debug` logging method. - Prevented immediate execution of `asyncio.run()` on test collection in `services/agent-zero/tests/rate_limiter_test.py` via an `if __name__ == "__main__":` block to allow pytest collection to complete without failing due to API authentication errors.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This pull request fixes a comprehensive set of test failures found across the codebase during a full audit. It patches BATS tests for the core shell scripts (
telemetry_aggregator,launcher_logic) and resolves multiple Python testing issues in theagent-zeroservice, getting the automated test suites back to a passing state.PR created automatically by Jules for task 249366311569349836 started by @samir-alsayad