Description
There are two scenarios related to Git that the Runs and Debug pages are not currently warning about:
- The local developer environment is running Cypress without Git
- The App is sending the list of Git hashes to the Cloud to fetch relevant runs in
RelevantRunsDatasource
, but no runs are returned from the Cloud.
The Runs and Debug page will add appropriate warnings to let the user know and give them help in correcting the situation.
No Git data in local project
The frontend should determine if Git is setup locally and the Cypress app can read the Git data. One possible way to do this is to see if the Git branch is available. [In GQL under currentProject.branch
]
If Git is not setup, then show the following messages:
Debug page
The <DebugError />
component was created when the Debug page was released but never wired up correctly. Confirm this component aligns with the current designs and show instead of the empty state for recording runs.

Runs Page
On the runs page, the warning about not detecting local git information will be shown as an alert at the top of the page. The new algorithm implemented with [Insert GH link here] will show the latest 10 runs associated with the local Git tree. If no Git information is detected, then the original page behavior of just returning the 10 most recent runs for the entire project will be used as a fallback so that the page still shows some information.
If the alert is closed via the "X" button, the app should record that it has been closed for this project and not show it again. Moved to separate issue: #26808
No runs returned from the Cloud for a list of Git hashes
This scenario could happen for more than one reason:
- CI for the project is not sending Git information to Cypress Cloud, so the recorded runs do not contain Git hashes to look up
- There are no recorded runs found in the last 100 Git hashes of the developer's local environment (most likely scenario is that this is a new project without many recorded runs or CI is not run on the "base" branch as configured in Cypress cloud)
The App will show a warning message on the Debug and Runs page indicating that there may be an issue that the developer needs to correct in order to show the expected information for these pages.
The logic for showing these messages should be:
- Git information can be detected locally
- the Cloud returns no runs for the set of Git hashes it sends
- there is at least 1 run for the project overall
Debug page
Show same layout as <DebugError />
with different copy. Learn more link should be https://on.cypress.io/git-info
with UTM params:
- source =
Binary: App
- medium =
Debug Tab
- campaign = 'No Runs Found`

Runs page
The Runs page will show a similar alert at the top of the page as above. Learn more link should be https://on.cypress.io/git-info
with UTM params:
- source =
Binary: App
- medium =
Runs Tab
- campaign = 'No Runs Found`
If the alert is closed via the "X" button, the app should record that it has been closed for this project and not show it again. Moved to separate issue: #26808
