fix: introduce workaround for credential synchronization issues

Description

This MR adds a hotfix for issues where the VS Code Extension doesn't send a refreshed OAuth token to LS after the OS wakes up from sleep.

Related Issues

Relates to gitlab#504999 (closed)

How has this been tested?

  1. Set "gitlab-lsp.trace.server": "verbose", in your settings.json to see what messages are exchanged between LS and VS Code Extension
  2. See that every 10 seconds you see this notification in the Language Server output panel
[Trace - 10:06:39] Sending notification 'workspace/didChangeConfiguration'.
Params: {
    "settings": {
        "baseUrl": "https://gitlab.com",
        "token": "b591666b811726bfd4683026c7a8fcc875aab6e1c22c7c23e133b8a49742521a"
    }
}

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
Edited by Tomas Vik (OOO back on 2026-04-07)

Merge request reports

Loading