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

add percent changes to test results and flakes aggregates #829

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on Sep 10, 2024

  1. Configuration menu
    Copy the full SHA
    6082f76 View commit details
    Browse the repository at this point in the history
  2. feat: rework aggregate_test_results to use DailyTestRollup

    this commit also adds the LastDuration field to the TestResult
    GQL model. The reason we're using latest_run and not the updated_at
    field of the object is because in the future we want to parse the
    timestamp from the JUnit XML file so latest_run will be tied to that
    and not the time at which we process the test results.
    joseph-sentry committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    74309d7 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. feat: add TestResultsHeaders GQL model

    - TestResultsHeaders represents the information displayed in the Test
    Analytics UI that is related to test results, total duration of tests,
    accumulated duration of the 5% slowest tests, total number of failures,
    and total number of skips
    
    - a field of type TestResultsHeaders was added to the Repository model
    joseph-sentry committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    91d88da View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. feat: create the FlakeAggregates GQL model

    - rename the TestResultsHeaders GQL model to TestResultsAggregates
    - create the FlakeAggregates that contains flakeCount and flakeRate
      and uses the flaky_failure_count field from the DailyTestRollup
    joseph-sentry committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    d2dead6 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. feat: add more filters to the testResults field on the repository

    we want to be able to filter by flaky tests, failed tests and the
    slowest tests, because we want the clickable headers in the UI
    joseph-sentry committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    dd0ef86 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. feat: add percent changes to test results and flakes aggregates

    This adds PercentChange fields to both the TestResultsAggregates
    and the FlakeAggregates. These work by getting the aggregates
    for the previous historical period and comparing them with the
    ones for the current historical period and getting a percentage
    difference.
    joseph-sentry committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    7435f0d View commit details
    Browse the repository at this point in the history