-
Notifications
You must be signed in to change notification settings - Fork 179
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
feat(app): mark protocol anlayses as stale if they lack RTP #14763
Conversation
We currently display a stale anlaysis banner for protocols that are determined to require reanalysis. The current check is for the lack of a `liquids` key on the analysis output. Now, we also want to check for the lack of a `runTimeParmeters` key, as all analyses should contain this key, even if its value is an empty list.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## edge #14763 +/- ##
==========================================
+ Coverage 67.17% 67.20% +0.02%
==========================================
Files 2495 2495
Lines 71483 71404 -79
Branches 9020 8991 -29
==========================================
- Hits 48020 47985 -35
+ Misses 21341 21304 -37
+ Partials 2122 2115 -7
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@@ -3936,5 +3936,6 @@ | |||
"description": "", | |||
"displayColor": "#b925ff" | |||
} | |||
] | |||
], | |||
"runTimeParameters": [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 yay so cool seeing this key in fixtures!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
woohoo! lgtm 🦒
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me 🎉
closes AUTH-247
Overview
We currently display a stale anlaysis banner for protocols that are determined to require reanalysis. The current check is for the lack of a
liquids
key on the analysis output. Now, we also want to check for the lack of arunTimeParmeters
key, as all analyses should contain this key, even if its value is an empty list.Test Plan
runTimeParameters
. To do this, you can open the protocol's overflow menu, select 'Show in folder', open the latest analysis, and remove therunTimeParameters
key and value if it existsChangelog
getAnalysisStatus
util to check for presence of RTP keyrunTimeParameters
field to test fixtureReview requests
authorship devs
Risk assessment
low