Review pull and merge requests

Review pull and merge requests in a Red Hat OpenShift Dev Spaces-supported web IDE with a ready-to-use workspace to run a linter, unit tests, the build, and more.

Before you begin

  • You have access to the repository hosted by your Git provider.
  • You have access to an OpenShift Dev Spaces instance.

Procedure

  1. Open the feature branch to review in OpenShift Dev Spaces. A clone of the branch opens in a workspace with tools for debugging and testing.
  2. Check the pull or merge request changes.
  3. Run your desired debugging and testing tools:
    • Run a linter.
    • Run unit tests.
    • Run the build.
    • Run the application to check for problems.
  4. Navigate to the UI of your Git provider to leave a comment and pull or merge your assigned request.

Results

  • Optional: Open a second workspace using the main branch of the repository to reproduce a problem.