Mohammed Osumah activity https://gitlab.com/mosumah 2026-03-17T12:40:47Z tag:gitlab.com,2026-03-17:5212668427 Mohammed Osumah commented on merge request !3060 at GitLab.org / editor-extensions / GitLab Language Server 2026-03-17T12:40:47Z mosumah Mohammed Osumah

@uchandran Looks good to me, thanks!

tag:gitlab.com,2026-03-17:5212668135 Mohammed Osumah approved merge request !3060: chore: updates references to agentic and classic chat in copy at GitLab.org / editor-extensions / GitLab Langua... 2026-03-17T12:40:44Z mosumah Mohammed Osumah

Description

Updates mentions of agentic and classic versions of GitLab Duo Chat in UI copy to align with the latest guidance.

It also fixes a few other terminology mentions to align with the style guide - mainly, to ensure we're saying GitLab before Duo in most places (per legal guidance).

This is an update after closing !3010. It reflects the latest terminology confirmed in gitlab-org/gitlab!226691+

gitlab-org/gitlab#592624

How has this been tested?

⚠️ Does this MR include a GitLab Duo UI update? If so, please smoke test all webviews in a downstream project to ensure there are no visual regressions

What CHANGELOG entry will this MR create?

  • fix: Bug fix fixes - a user-facing issue in production - included in changelog
  • feature: New feature - a user-facing change which adds functionality - included in changelog
  • BREAKING CHANGE: (fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog
  • other non-user-facing changes
tag:gitlab.com,2026-03-16:5209846208 Mohammed Osumah pushed to project branch 1907-handle-missing-default-namespace at GitLab.org / editor-extensions / GitLab Language Server 2026-03-16T19:38:25Z mosumah Mohammed Osumah

Mohammed Osumah (08cb3c8c) at 16 Mar 19:38

style: fix lint

tag:gitlab.com,2026-03-16:5209816267 Mohammed Osumah pushed to project branch 1907-handle-missing-default-namespace at GitLab.org / editor-extensions / GitLab Language Server 2026-03-16T19:28:40Z mosumah Mohammed Osumah

Mohammed Osumah (c6bf87b8) at 16 Mar 19:28

test: fix compile issue

tag:gitlab.com,2026-03-16:5209365296 Mohammed Osumah opened merge request !3059: Draft: fix: handle 422 error when default namespace not selected at GitLab.org / editor-extensions / GitLab Langu... 2026-03-16T17:09:34Z mosumah Mohammed Osumah

Description

This MR fixes the handling of the 422 error when users don't have a default GitLab Duo namespace selected. Previously, this error was not being surfaced to users, causing the usage quota check to pass incorrectly and allowing code suggestions to remain enabled when they shouldn't be.

Changes Made

  1. Added isMissingDefaultNamespaceError() helper - Detects 422 errors with missing_default_duo in the response body
  2. Enhanced CodeSuggestionsCreditsCheck - Now emits a missingDefaultNamespace event when the error is detected
  3. Created CodeSuggestionsMissingDefaultNamespaceCheck - New state check that listens to the credits check and manages the missing namespace state
  4. Added new state check type - SUGGESTIONS_NO_DEFAULT_NAMESPACE in the feature state management types
  5. Integrated into priority order - The missing namespace check is prioritized before the credits check in CODE_SUGGESTIONS_CHECKS_PRIORITY_ORDERED

How It Works

  1. When /api/v4/code_suggestions/direct_access returns a 422 error, the credits check detects it
  2. The credits check emits a missingDefaultNamespace event
  3. The missing namespace check listens to this event and updates its state
  4. The feature state manager broadcasts the state change to the client
  5. The client disables code suggestions based on the engaged state

Issue #1907

How has this been tested?

To test this MR, follow these steps:

  1. Set up the GitLab LSP extension in your editor (VS Code or JetBrains)
  2. Connect to a GitLab instance where you have a user account without a default namespace selected
  3. Open a code file in your editor to trigger code suggestions
  4. Verify that code suggestions are disabled and you see an error message indicating you need to select a default namespace
  5. Go to your GitLab user preferences (Preferences - Behaviour) and select a default namespace for GitLab Duo
  6. Reload the extension or reconnect
  7. Verify that code suggestions are now enabled and working properly
  8. Test the reverse scenario: remove your default namespace selection and verify that code suggestions are disabled again after reconnecting

⚠️ Does this MR include a GitLab Duo UI update? If so, please smoke test all webviews in a downstream project to ensure there are no visual regressions

What CHANGELOG entry will this MR create?

  • fix: Bug fix fixes - a user-facing issue in production - included in changelog
  • feature: New feature - a user-facing change which adds functionality - included in changelog
  • BREAKING CHANGE: (fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog
  • other non-user-facing changes
tag:gitlab.com,2026-03-16:5207929798 Mohammed Osumah commented on merge request !3056 at GitLab.org / editor-extensions / GitLab Language Server 2026-03-16T12:02:00Z mosumah Mohammed Osumah

Passing this over to @erran for a maintainer review

tag:gitlab.com,2026-03-16:5207928191 Mohammed Osumah approved merge request !3056: refactor: extract AsyncIterator test helpers into @gitlab-org/test-utils at GitLab.org / editor-extensions / Gi... 2026-03-16T12:01:39Z mosumah Mohammed Osumah

Description

Many test files across the codebase define near-identical inline helpers for async generator operations — collecting yielded values, draining generators, creating generators from arrays. They all do the same thing but have different names in each file (createEventStream, collectGeneratorEvents, consumeAllGeneratorEvents, drainGenerator, etc.).

This adds three shared helpers to @gitlab-org/test-utils and replaces all the inline definitions across 7 test files.

Issue #2143

How has this been tested?

  • checkout this branch
  • mise install && npm install
  • npm run test:unit

What CHANGELOG entry will this MR create?

  • other non-user-facing changes
tag:gitlab.com,2026-03-16:5207927459 Mohammed Osumah commented on merge request !3056 at GitLab.org / editor-extensions / GitLab Language Server 2026-03-16T12:01:30Z mosumah Mohammed Osumah

@elwyn-gitlab Changes look good to me!

tag:gitlab.com,2026-03-13:5202598302 Mohammed Osumah pushed new project branch 1907-handle-missing-default-namespace at GitLab.org / editor-extensions / GitLab Language Server 2026-03-13T18:40:27Z mosumah Mohammed Osumah

Mohammed Osumah (33252c89) at 13 Mar 18:40

fix: handle 422 error when default namespace not selected

tag:gitlab.com,2026-03-13:5201330764 Mohammed Osumah commented on merge request !3130 at GitLab.org / gitlab-vscode-extension 2026-03-13T13:08:33Z mosumah Mohammed Osumah

Thanks @jay_mccure the changes look good to me! I also retried the failing jobs in the pipeline for you

tag:gitlab.com,2026-03-13:5201330321 Mohammed Osumah approved merge request !3130: chore(ci): remove e2e test metric recording at GitLab.org / gitlab-vscode-extension 2026-03-13T13:08:27Z mosumah Mohammed Osumah

Description

This change removes the automated metrics collection system from the end-to-end testing pipeline. Previously, after running browser tests, the system would automatically send test results and performance data to an InfluxDB database for monitoring and analysis purposes.

The influx instance has been removed and this hasn't been working for 4+ months, prior to that, these metrics were not being used.

This will fix this warning: https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/jobs/13463059948#L1311

gitlab-org/quality/analytics#30 (comment 2841647568) gitlab-org/quality/quality-engineering/team-tasks#4325

How has this been tested?

  • If src/browser or src/common has been modified, please consider interoperability with the Web IDE. See Running the Extension in WebIDE.
  • Consider an end-to-end test for significant new features that aren't covered by integration tests.

Screenshots (if appropriate)

What CHANGELOG entry will this MR create?

  • fix: Bug fix fixes - a user-facing issue in production - included in changelog
  • feature: New feature - a user-facing change which adds functionality - included in changelog
  • BREAKING CHANGE: (fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog
  • None - other non-user-facing changes
tag:gitlab.com,2026-03-13:5199456514 Mohammed Osumah commented on merge request !3044 at GitLab.org / editor-extensions / GitLab Language Server 2026-03-13T02:48:42Z mosumah Mohammed Osumah

@lauraionel can I ask for a first review of this MR? 🙏

tag:gitlab.com,2026-03-13:5199440419 Mohammed Osumah pushed to project branch 2086-smart-routing-snowplow-events at GitLab.org / editor-extensions / GitLab Language Server 2026-03-13T02:38:43Z mosumah Mohammed Osumah

Mohammed Osumah (22653c7a) at 13 Mar 02:38

refactor: fix duo comments

tag:gitlab.com,2026-03-13:5199439665 Mohammed Osumah commented on merge request !3044 at GitLab.org / editor-extensions / GitLab Language Server 2026-03-13T02:38:15Z mosumah Mohammed Osumah

@GitLabDuo I think www.gitlab.com is a permanent redirect to https://gitlab.com, so I think this should be fine

tag:gitlab.com,2026-03-13:5199437904 Mohammed Osumah commented on merge request !3044 at GitLab.org / editor-extensions / GitLab Language Server 2026-03-13T02:36:50Z mosumah Mohammed Osumah

Not sure if we have to worry about this to be honest

tag:gitlab.com,2026-03-13:5199421619 Mohammed Osumah pushed to project branch 2086-smart-routing-snowplow-events at GitLab.org / editor-extensions / GitLab Language Server 2026-03-13T02:27:47Z mosumah Mohammed Osumah

Mohammed Osumah (fa821a1a) at 13 Mar 02:27

refactor: update code based on duo review comments

tag:gitlab.com,2026-03-13:5199263010 Mohammed Osumah pushed to project branch 2086-smart-routing-snowplow-events at GitLab.org / editor-extensions / GitLab Language Server 2026-03-13T00:46:59Z mosumah Mohammed Osumah

Mohammed Osumah (dcd74c0d) at 13 Mar 00:46

refactor: make compareVersions util cleaner

tag:gitlab.com,2026-03-12:5197662121 Mohammed Osumah opened merge request !3044: feat(telemetry): update snowplow events routing based on instance info at GitLab.org / editor-extensions / GitLab... 2026-03-12T15:37:57Z mosumah Mohammed Osumah

Description

Snowplow events are currently sent directly from the editor extensions. We want to route these events through the GitLab instance for a number of reasons:

  1. Unifying how data is collected - this makes it easier to guarantee that events always have a specific shape etc.
  2. Allowing administrator control - since it's all going through the instance it's easier to make sure data is only forwarded if appropriate.
  3. Improving customer trust - no event data is sent individually to a strange snowplow address.

We need to support any versions of GitLab and both self-managed and gitlab.com.

GitLab instance snowplowprd.trx.gitlab.net Event forwarding
Gitlab.com - any version X
SM - version < 18.0 X
SM - version >= 18.0 X

Implemented smart routing for Snowplow telemetry events based on GitLab instance version. Events are now routed through the GitLab instance for self-managed instances >= 18.0, while continuing to send directly to Snowplow for gitlab.com and self-managed instances < 18.0.

Changes

  • Automatically detects GitLab instance version and routes events accordingly
    • Self-managed >= 18.0: Routes through {instance_url}/-/collect_events
    • Self-managed < 18.0 & gitlab.com: Routes to snowplowprd.trx.gitlab.net
    • Custom trackingUrl config still takes precedence over smart routing
  • Listens to API reconfiguration events to update endpoint when connecting to different instances
  • Created event_forwarding.ts with version comparison and endpoint determination logic
  • Maintains backward compatibility
    • Do-not-track setting continues to be respected

Closes #2086

How has this been tested?

To manually test with GDK:

  1. Start your local GDK

  2. Start the extension host and open a workspace folder that was cloned from your gdk

  3. Verify events are routed to <gdk_url>/-/collect_events for version >= 18.0

    Screenshot 2026-03-12 at 8.48.27 PM.png

  4. To test with older version, modify GDK's VERSION file to a version less than 18.0 (e.g. 17.6.0) and restart

  5. Verify events are routed to snowplowprd.trx.gitlab.net for version < 18.0

    Screenshot 2026-03-12 at 9.01.10 PM.png

  6. Verify events are routed to snowplowprd.trx.gitlab.net for gitlab.com

  7. Confirm telemetry is disabled when do-not-track setting is enabled

To manually test with Gitlab.com

  1. Start the extension host and open a workspace folder that was cloned from gitlab.com
  2. Verify events are routed to snowplowprd.trx.gitlab.net

Screenshot 2026-03-12 at 8.56.57 PM.png

  1. Confirm telemetry is disabled when do-not-track setting is enabled

When custom tracking url is set:

  • If the setting gitlab.trackingUrl is set, verify that the extension still respects it

Screenshot 2026-03-12 at 8.52.58 PM.png

⚠️ Does this MR include a GitLab Duo UI update? If so, please smoke test all webviews in a downstream project to ensure there are no visual regressions

What CHANGELOG entry will this MR create?

  • fix: Bug fix fixes - a user-facing issue in production - included in changelog
  • feature: New feature - a user-facing change which adds functionality - included in changelog
  • BREAKING CHANGE: (fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog
  • other non-user-facing changes

Closes #2086

tag:gitlab.com,2026-03-12:5197325203 Mohammed Osumah pushed to project branch 2086-smart-routing-snowplow-events at GitLab.org / editor-extensions / GitLab Language Server 2026-03-12T14:30:13Z mosumah Mohammed Osumah

Mohammed Osumah (9d6dc3a4) at 12 Mar 14:30

test: fix event forward util test

tag:gitlab.com,2026-03-12:5197068814 Mohammed Osumah commented on merge request !3011 at GitLab.org / editor-extensions / GitLab Language Server 2026-03-12T13:35:55Z mosumah Mohammed Osumah

@ohoral changes look good to me!