-
Notifications
You must be signed in to change notification settings - Fork 22
Different UX for Optimization Impact #814
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
Conversation
PR Reviewer Guide 🔍(Review updated until commit 2cedeaf)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 2cedeaf
Previous suggestionsSuggestions up to commit 39c3c64
|
|
Persistent review updated to latest commit 2cedeaf |
|
@KRRT7 backend part is merged |
|
@KRRT7 we can get this merged, I'll open another PR with the same branch in a day or two |
User description
At the moment, show it only for single hunk existing PR comments. Changes made in a way to ensure ease in adding for new PRs too. Details of optimization hidden from user at the moment.
PR Type
Enhancement
Description
Add optimization impact plumbing across layers
Extend API payload and signatures
Capture impact via AI service safely
Forward impact to suggest changes endpoint
Diagram Walkthrough
File Walkthrough
cfapi.py
Add optimizationImpact to suggest_changes API payloadcodeflash/api/cfapi.py
optimization_impactparam tosuggest_changes.optimizationImpactin request payload.function_optimizer.py
Compute and attach optimization impact in optimizercodeflash/optimization/function_optimizer.py
optimization_impactinto data for downstream.create_pr.py
Thread optimization impact through PR creationcodeflash/result/create_pr.py
check_create_prwithoptimization_impact.suggest_changes.