/resultstoreui

Primary LanguagePythonApache License 2.0Apache-2.0

Resultstore Search

Service to search and render invocations and tests in resultstore.

Client Documentation

Client component documentation can be viewed here

Prerequisites

  1. Docker and docker-compose installed here
  2. Generate service account
  3. Enable the following permissions on the service account
Cloud Source Tools Core - Developer
Cloud Datastore User
Storage Object Viewer
Viewer
  1. Generate a client id
  2. Configure .env file in ./resultstoresearch/ci following example.env
  3. Add eligible users to the cloudsourcetoolscore.developer role in your GCP project

Usage

Locally:

./startup

Navigate to localhost

Overview

Main Page

Page where users can search, filter, and view invocation information

main-page

Top Bar

top-bar

Tool Type Selection

Dropdown thats allows a user to select a tool type to filter search results by.

tool-type

Search Bar

Enter queries to search for invocations. The search bar features an autocomplete typeahead for fields that can be filtered on.

search-bar

Search Button

Initiates a search for invocations based on the query in the search bar

search-button

Flaky Test Button

Initiates the flaky test interface for the current query in the search bar.

flaky-test

Google Login / Logout Button

Google login / logout button for authentication

google-button

Invocation Table

Table that lists the result of an invocation search

File Modal

Users can view files associated with the current invocation

file-modal

Flaky Test Page

Users can view the results of tests over time with different invocations.

  • Grey: No test was run
  • Green: Test Success
  • Red: Test Failed

flaky-test