Skip to content

CLI does not respect channel setting #15460

@radical

Description

@radical

Reproduction steps to install a daily build (version - 13.3.0-preview*), and add yarp integration to it.

rm -Rf ~/.aspire
curl -sSL https://aspire.dev/install.sh | bash -s -- -q dev
aspire --version
cat ~/.aspire/aspire.config.json
aspire new aspire-ts-starter -o express00 -n express00 --non-interactive
cd express00
aspire add yarp

aspire add yarp in the last line will add 13.1.3 version instead of the expected 13.3.0-preview*.

local aspire.config.json

{
  "appHost": {
    "path": "apphost.ts",
    "language": "typescript/nodejs"
  },
  "packages": {
    "Aspire.Hosting.JavaScript": "13.3.0-preview.1.26169.7"
  },
  "profiles": {
    "https": {
      "applicationUrl": "https://localhost:17074;http://localhost:15092",
      "environmentVariables": {
        "ASPIRE_DASHBOARD_OTLP_ENDPOINT_URL": "https://localhost:21010",
        "ASPIRE_RESOURCE_SERVICE_ENDPOINT_URL": "https://localhost:22224"
      }
    },
    "http": {
      "applicationUrl": "http://localhost:15092",
      "environmentVariables": {
        "ASPIRE_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:19015",
        "ASPIRE_RESOURCE_SERVICE_ENDPOINT_URL": "http://localhost:20065",
        "ASPIRE_ALLOW_UNSECURED_TRANSPORT": "true"
      }
    }
  }
}

cat ~/.aspire/aspire.config.json

{
  "channel": "daily"
}

cc @davidfowl @DamianEdwards @joperezr @mitchdenny

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions