sdk
sdk copied to clipboard
[DEPS] Request to Add built_collection, built_value, uuid, and archive to SDK DEPS for Webdev/DWDS Migration
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:
-
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_collectionpackage:built_valuepackage:uuid
-
Transitive Dependency (Required by build validation): Running the
python3 ./tools/generate_package_config.pyscript 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
archivepackage appears to be a transitive dependency required by the existingwebdriverandtarpackages 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.