You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The use of raw print statements for start, stdout, and stderr will flood CI logs and isn't configurable. Consider using the logging module with appropriate log levels and only printing on failures.
Enabling traverse_up in module_name_from_file_path may alter import resolution paths globally. Verify this change works in all repository layouts and add tests to cover edge cases.
Why: Catching TimeoutExpired and logging an error prevents unhandled exceptions on long runs and improves robustness.
Medium
General
Use structured logging
Replace raw print statements with structured logging so that output can be controlled by log levels and integrated into the existing logging framework.
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
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.
PR Type
Bug fix
Description
Increase pytest verbosity with "-vv" flag
Print subprocess stdout and stderr
Add debug start message in trace benchmarks
Enable traverse_up in module resolution
Diagram Walkthrough
File Walkthrough
pytest_new_process_trace_benchmarks.py
Increase pytest verbositycodeflash/benchmarking/pytest_new_process_trace_benchmarks.py
trace_benchmarks.py
Add debug prints for subprocesscodeflash/benchmarking/trace_benchmarks.py
models.py
Fix module path traversal flagcodeflash/models/models.py