test_vscode fails: single compass-components override can't satisfy vscode extension's dual-version need

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Developer Tools

      mongosh side of VSCODE-788.

      test_vscode clones mongodb-js/vscode fresh each run and overrides @mongodb-js/compass-components with mongosh's own copy (scripts/test-vscode.sh). So the VSCODE-788 fix flows in automatically, but the version mongosh ships does not — mongosh currently pins compass-components 1.31.0, which lacks useSyncStateOnPropChange.

      mongosh action (after VSCODE-788 lands): bump @mongodb-js/compass-components (in browser-repl) from 1.31.0 to the version the fixed extension standardizes on (>=1.60). Also needed at that point: browser-repl Theme->Themes (type-only since 1.60) and pinning @types/react/@types/react-dom to 17 to avoid the leafygreen JSX type skew.

      Until then: test_vscode is skipped (TODO referencing VSCODE-788).

            Assignee:
            Unassigned
            Reporter:
            Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: