-
Notifications
You must be signed in to change notification settings - Fork 0
Add time tracking information to uploaded results #41
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
Summary of ChangesHello @hi-rai, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request enhances the test result reporting system by introducing support for capturing and processing the execution duration ( Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
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.
Code Review
This pull request successfully adds time tracking information to uploaded test results, with changes across schema definitions, parsers for JUnit and Playwright formats, the result uploader, and corresponding tests. However, I've identified a recurring issue in both the JUnit and Playwright parsers where a test duration of 0 is incorrectly converted to null because 0 is a falsy value in JavaScript. This affects data correctness and should be addressed. I've also pointed out the tests that validate this incorrect behavior, which will need to be updated along with the parser logic.
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.
Thanks @hi-rai - looks good to me.
023791e to
eb3e8dc
Compare
|
/gemini review |
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.
Code Review
This pull request successfully adds time tracking information to uploaded test results. The changes are well-implemented across the board, from the API schema update in src/api/schemas.ts to the TestCaseResult type definition. The parsers for both JUnit XML and Playwright JSON have been correctly updated to extract test duration, with robust handling for different formats and potential missing values in junitXmlParser.ts. The ResultUploader is properly modified to include this new data in the payload. Furthermore, the test files and fixtures have been comprehensively updated to ensure the new functionality is well-tested. The code quality is high, and no issues were found.
This fixes https://github.com/Hypersequent/tms-issues/issues/2183