daml
daml copied to clipboard
VS Code Extension Fails to install snapshot versions
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
- Install the vscode extension from the marketplace
DigitalAssetHoldingsLLC.daml - Download the the latest canton-open-source release asset.
- Open one of the DAML files.
- Wait for the popup to install the correct DAML version
- Click Install SDK ....
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)