sdk icon indicating copy to clipboard operation
sdk copied to clipboard

[DEPS] Request to Add built_collection, built_value, uuid, and archive to SDK DEPS for Webdev/DWDS Migration

Open jyameo opened this issue 1 week ago • 17 comments

This issue formally requests approval to add several third-party packages to the Dart SDK's root DEPS file as part of the major Webdev/DWDS Migration initiative (go/migrating-webdev, #62098).

This migration moves the entire dart-lang/webdev repository (containing webdev, dwds, frontend_server_client and others) into the SDK workspace to centralize maintenance and fully integrate the web development toolchain.

Per the documentation on dependencies, these packages require explicit approval to be used within the SDK environment.

Migration CL/PR: https://dart-review.googlesource.com/c/sdk/+/465420


Required Packages and Rationale

The following packages are necessary for the migrated code to build and function:

  1. Direct Dependencies (Required for pkg/dwds): Running the SDK dependency validator (dart tools/package_deps/bin/package_deps.dart) shows these packages are required but unresolved in the SDK context:

    • package:built_collection
    • package:built_value
    • package:uuid
  2. Transitive Dependency (Required by build validation): Running the python3 ./tools/generate_package_config.py script fails because it finds a reference to an external package:

    • package:archive (currently sourced from the pub cache: .../pub.dev/archive-4.0.7).

    The archive package appears to be a transitive dependency required by the existing webdriver and tar packages used by the migrating code.

Adding these four packages to the root DEPS will resolve all dependency validation and build configuration errors for the migrated Webdev/DWDS packages.

CC: [email protected]

jyameo avatar Dec 03 '25 18:12 jyameo