Hotfix: Update content_id logic in metadata update function#371
Hotfix: Update content_id logic in metadata update function#371AnilSorathiya merged 4 commits intomainfrom
Conversation
Modified the content_id handling to include a fallback when it is not provided. This ensures proper fallback to a test description with result_id and revision_name, preventing potential issues with missing IDs.
cachafla
left a comment
There was a problem hiding this comment.
Looks good, I suggest testing scenarios where result_id is non-empty and empty.
What was the version of this change before it broke?
Will add tests for these.
2.8.21 |
PR SummaryThis pull request introduces a comprehensive suite of unit tests for the Key changes include:
Test Suggestions
|
Modified the content_id handling to include a fallback when it is not provided. This ensures proper fallback to a test description with result_id and revision_name, preventing potential issues with missing IDs.
Pull Request Description
What
The test description was not displayed on validation report evidences.
https://validmind.slack.com/archives/C04U7TKHH62/p1746749735016559
Why
A condition was missing for content_id while logging test result description.
How to Test
Pull Request Dependencies
External Release Notes
Deployment Notes
Hotfix for validmind-library
Breaking Changes
Screenshots/Videos (Frontend Only)
Checklist
Areas Needing Special Review
Additional Notes