Files
mattermostest/src/main/diagnostics
Devin Binnie 686b4ac9f1 [MM-50485] Migrate app to ServerManager, remove view names and replace with IDs (#2672)
* Migrate app to ServerManager, remove view names and replace with IDs

* Fixed a test

* Fixed a bug when adding the initial server

* Merge'd

* Bug fixes and PR feedback
2023-04-12 12:52:34 -04:00
..

Desktop Diagnostics

This directory contains the code for running the diagnostics of the desktop application. (entrypoint index.ts) This readme file's purpose is to explain the code, the structure and how to contribute to it.

How it works?

The class DiagnosticsModule in index.ts is the "orchestrator" that runs specific steps/tasks one at a time. It keeps track of whether or not a specific step has succeeded or not and stores the return values of the steps.

Diagnostics Steps

The diagnostic steps at this moment are:

Step Name Description
0 logger Validates that the diagnostics write to the correct file and the log level is "debug"

Future enhancements

  • Run steps in parallel (if necessary)
  • Background diagnostics monitoring