daml icon indicating copy to clipboard operation
daml copied to clipboard

VS Code Extension Fails to install snapshot versions

Open 0xBigBoss opened this issue 5 months ago • 1 comments

Affected Daml version

3.3.0-snapshot.20250502.13767.0.v2fc6c7e2

Bug description

The DAML vscode extensions prompts the user when to install the correct version to provide intellisense. After a user confirms to install the version, if the version is a snapshot version it fails with.

Failed to install Daml SDK version 3.3.0-snapshot.20250502.13767.0.v2fc6c7e2 due to the following: Could not resolve release version 3.3.0-snapshot.20250502.13767.0.v2fc6c7e2 from the internet. Reason: Couldn't find Linux SDK in release at url: 'https://api.github.com/repos/digital-asset/daml/releases/tags/v3.3.0-snapshot.20250502.13767.0.v2fc6c7e2'

To reproduce

  1. Install the vscode extension from the marketplace DigitalAssetHoldingsLLC.daml
  2. Download the the latest canton-open-source release asset.
  3. Open one of the DAML files.
  4. Wait for the popup to install the correct DAML version
  5. Click Install SDK ....
Image Image

Expected behavior

I expect it to install the correct version and provide intellisense.

Additional context

I am on MacOSX

java -version
openjdk version "24.0.1" 2025-04-15
OpenJDK Runtime Environment Zulu24.30+13-CA (build 24.0.1+9)
OpenJDK 64-Bit Server VM Zulu24.30+13-CA (build 24.0.1+9, mixed mode, sharing)

0xBigBoss avatar May 17 '25 20:05 0xBigBoss