Skip to content

Proposal: testing strategy using the Dart stable SDK  #2226

@elliette

Description

@elliette

Follow up to dart-lang/sdk#53459

We currently run Webdev and DWDS tests on the main and dev channels of the Dart SDK, but not the stable channel. This is because feature development in DWDS/Webdev often requires never versions of the SDK than what's on the stable channel. However, this means that breakages when using the stable channel might not be caught (see dart-lang/sdk#53459).

We could add testing for our latest stable releases against the latest stable Dart SDK by:

  1. Tagging the latest release of DWDS/Webdev as latest-dev and the latest release using a stable SDK constraint as latest-stable (Note: we could also use pre-release versions for versions depending on unstable Dart SDK versions)
  2. Add a daily cron test that:
  • makes sure we have a release version tagged with latest-stable
  • makes sure that the latest Dart SDK stable version is allowed by the latest-stable SDK constraints
  • makes sure that the latest Dart SDK stable version is not allowed by the latest-dev SDK constraints
  1. Add daily testing that uses the latest Dart SDK stable version, and runs test against the latest-stable DWDS/Webdev versions

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions