Enhance Makefile and GitHub Actions for Python virtual environment ma…#56
Merged
Conversation
…nagement - Updated the Makefile to improve handling of Python virtual environments, including better detection and recreation logic for `.venv`. - Modified GitHub Actions to set the Python executable path in the environment after creating the virtual environment. - Adjusted `.gitignore` to include `.venv/` for better project cleanliness. - Updated documentation Makefile to use the system Python command for improved compatibility. These changes aim to streamline the development workflow and ensure consistent environment setup across different systems.
- Updated the `bundled_skills_dir` function to prioritize the source tree over wheel copies when running in a probing git checkout, ensuring consistency with discovery results. - Introduced a lazy initialization for the `DebugConsole` to prevent conflicts with the native engine during import time, allowing for a more efficient debug console setup. - Added a `get_debug_console` function to manage the creation and retrieval of the debug console instance, improving resource management. These changes aim to enhance the functionality and usability of the skills management and debugging processes within the Probing framework.
- Modified the import statement in `console.rs` to use `get_debug_console()` for initializing the debug console, enhancing the setup process. - Updated the `pythonext.py` handler to reflect the new import structure, ensuring compatibility with the revised debug console management. These changes aim to streamline the debug console initialization process and improve overall resource management within the Probing framework.
Codecov Report❌ Patch coverage is
🚀 New features to boost your workflow:
|
- Modified the Makefile to disable the VM tracer during Python wheel tests when the `PROBING_VM_TRACER` environment variable is set to `0`, improving test reliability. - Introduced a new function `on_native_bridge_thread` in `runtime.rs` to check if the current thread is the dedicated native bridge worker. - Updated the Rust core library to utilize the new `on_native_bridge_thread` function, enhancing thread management during Rust/Python bridge operations. - Improved the `with_detached_native` function in `native_bridge.rs` to avoid unnecessary thread creation when already on the native bridge worker, preventing potential SIGABRT issues in CI environments. - Enhanced the Python test setup in `conftest.py` to disable the tracer when conflicts are detected, ensuring smoother test execution. These changes aim to improve the stability and performance of the Probing framework during testing and runtime operations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…nagement
.venv..gitignoreto include.venv/for better project cleanliness.These changes aim to streamline the development workflow and ensure consistent environment setup across different systems.