-
Notifications
You must be signed in to change notification settings - Fork 343
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
Avocado Jobs Keys #6076
base: master
Are you sure you want to change the base?
Avocado Jobs Keys #6076
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6076 +/- ##
===========================================
+ Coverage 54.32% 68.63% +14.31%
===========================================
Files 202 202
Lines 21892 21903 +11
===========================================
+ Hits 11892 15033 +3141
+ Misses 10000 6870 -3130 ☔ View full report in Codecov by Sentry. |
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.
Hi @harvey0100, thank you for investigating this and finding a solution. I have a few small comments, please take a look. Also, I would like to ask you to add tests which will catch the issues from #6067 in the future. Thank you.
Fix: Handle missing job data in 'avocado jobs list' command - Updated 'handle_list_command' to use `job.get()` for safely accessing job data. - If a key is missing, it now defaults to 'N/A' instead of causing a crash. Reference: avocado-framework#6067 Signed-off-by: Harvey Lynden <[email protected]>
Fix: Handle missing job data in 'avocado jobs list' command
job.get()
for safely accessing job data.Reference: #6067