-
Notifications
You must be signed in to change notification settings - Fork 157
logview_new: adds tests overview page #2219
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
logview_new: adds tests overview page #2219
Conversation
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.
Pull Request Overview
This PR introduces a new tests overview page that aggregates test results across multiple runs. The page shows test statistics including failure counts and allows filtering by branch and search terms. When viewing the page, the system fetches run details with a concurrency of 15, which drops to 5 when navigating away to maintain client performance.
Key Changes:
- Adds a new
/tests
route displaying aggregated test analysis data - Implements dynamic concurrency control (15 concurrent requests while viewing, 5 when navigating away)
- Creates test data aggregation logic that maps test names to run information
Reviewed Changes
Copilot reviewed 7 out of 11 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
petri/logview_new/src/tests.tsx | Main tests page component with filtering, search, and dynamic concurrency control |
petri/logview_new/src/table_defs/tests.tsx | Table column definitions for displaying test data with status, counts, and links |
petri/logview_new/src/styles/tests.css | CSS styling for test and architecture name display |
petri/logview_new/src/menu.tsx | Enables navigation to the tests page by uncommenting the onClick handler |
petri/logview_new/src/main.tsx | Adds the /tests route to the application routing |
petri/logview_new/src/fetch/fetch_runs_data.tsx | Implements fetchTestAnalysis and convertToTestData functions for aggregating test results |
petri/logview_new/src/data_defs.tsx | Adds TestRunInfo and TestData type definitions |
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.
Pull Request Overview
Copilot reviewed 9 out of 14 changed files in this pull request and generated 2 comments.
Co-authored-by: Copilot <[email protected]>
…S/openvmm into logview-new-test-data
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.
Pull Request Overview
Copilot reviewed 9 out of 14 changed files in this pull request and generated 3 comments.
Adds and links the tests overview page. Concurrency when viewing the page is 15, if the user navigates away, concurrency drops to 5 to keep the client performant.
Sample Site:
https://gurasinghms.github.io/openvmm/petri/logview_new/dist/#/runs