Skip to content
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

Cleanup database relationships, add trends view and test summary/details views #14

Merged
merged 2 commits into from
Oct 11, 2024

Conversation

trey-ivy
Copy link
Collaborator

This PR starts adding options to explore build metrics across all invocations.

Trends

It adds a trends view, which displays data for all invocation durations

image

and plans are to add a few additional visualizations to this view.

And it also adds a couple new views for tests.

Tests Summary

A searchable grid of all your unique test targets.
image
paginated for larger data sets.
expanding rows provides a link to the most recent runs. you can click the buttons and navigate straight to each invocation
image

Test Details

Provides more data and a further lookback period, and also a graph of duration over time so you can see if tests suddenly start taking longer to run to help spot regressions.
image
again, plans to expand on this view with further visualizations in the future.

Database Relationships

Also as mentioned in #11 there are several database relationships that need attention. This PR addresses everything I could find there. Additionally it extends the custom resolvers to add some queries used for exploring test data and stubs out a few methods for doing something similar for target data in the future.

Branding

I've also added a few options for branding. if you optionally include a company name and/or slack channel environment variables they'll be displayed in the header, footer and title page.

image

image

image

Other Minor updates

  • sort invocations table by most recent first
  • link tests to their given overviews on the invocation page/ tests tab
  • nil checking for cancelled invocations

Copy link
Collaborator

@mortenmj mortenmj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@trey-ivy trey-ivy merged commit 28fcdba into main Oct 11, 2024
2 checks passed
@trey-ivy trey-ivy deleted the dev branch October 28, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

a large number of build targets breaks the save to db functionality due to schema misconfiguration
2 participants