-
Notifications
You must be signed in to change notification settings - Fork 22
submodule bugs #914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
submodule bugs #914
Conversation
Signed-off-by: Codeflash Bot <bot@codeflash.ai>
|
Codeflash Bot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Signed-off-by: Codeflash Bot <bot@codeflash.ai>
|
we should get back to a fix where we see new files being created in PRs |
User description
add this until gitpython adds support to git v3 index gitpython-developers/GitPython#1960
PR Type
Bug fix
Description
Safely handle Git submodule introspection errors
Add try/except around
git_repo.submodulesLog or print warnings instead of crashing
Diagram Walkthrough
File Walkthrough
functions_to_optimize.py
Add error handling for submodule listingcodeflash/discovery/functions_to_optimize.py
tracing_utils.py
Robust submodule path retrieval in tracercodeflash/tracing/tracing_utils.py