feat: Handle VSCode workbench creation errors gracefully

Issue: [WebIDE] Handle VSCode workbench creation error... (#428 - closed)

What does this MR do and why?

It improves how the Web IDE detects when the VSCode workbench loaded or failed to load. The Web IDE will send the ready message after:

  1. All the VSCode Workbench assets loaded.
  2. The VSCode Workbench can receive authentication tokens.
  3. The workbench.create function was invoked and didn't fail.

The Web IDE will send the error message if any the steps listed above fail. You should test these changes in integration with the GitLab Rails application. Use the instructions in the MR [WebIDE] Handle VSCode workbench creation error... (gitlab!195611 - merged) to test these changes.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

See the videos and screenshots attached to [WebIDE] Handle VSCode workbench creation error... (gitlab!195611 - merged)

How to set up and validate locally

See the reproduction steps in [WebIDE] Handle VSCode workbench creation error... (gitlab!195611 - merged)

Edited by Enrique Alcántara

Merge request reports

Loading