Skip to content

Conversation

srawlins
Copy link
Member

@srawlins srawlins commented Sep 23, 2025

When analyzer 8.2.0 was published, with a new deprecation, it started this cascade of issues:

  1. We currently run two SDKs in CI: one set of tests uses Dart 3.8.0, and another uses Dart dev (3.10-something). Those dev bots pick up analyzer 8.2.0, which triggers a CI failure due to the deprecated updateAnalysisOptions3 parameter.
  2. In order to stop using that parameter and instead use updateAnalysisOptions4, we have to always get analyzer 8.2.0, because analyzer 8.1.1 does not have the new parameter.
  3. In order to get analyzer 8.2.0, we need Dart 3.9.0. So this PR changes our CI to use Dart 3.9.0 and Dart dev.

@srawlins
Copy link
Member Author

Thanks for the review, @szakarias ! Unfortunately, I had to widen it a bit and bump the CI to use Dart 3.9.0 instead of 3.8.0, so that we always pick up analyzer 8.2.0. Would you mind approving again?

@szakarias
Copy link
Contributor

Thanks for the review, @szakarias ! Unfortunately, I had to widen it a bit and bump the CI to use Dart 3.9.0 instead of 3.8.0, so that we always pick up analyzer 8.2.0. Would you mind approving again?

LGTM! Thanks!

@srawlins srawlins merged commit 17dc54d into dart-lang:main Sep 25, 2025
13 checks passed
@srawlins srawlins deleted the updateanaoptions branch September 25, 2025 13:40
copybara-service bot pushed a commit to dart-lang/sdk that referenced this pull request Sep 25, 2025
Revisions updated by `dart tools/rev_sdk_deps.dart`.

ai (https://github.com/dart-lang/ai/compare/078abd2..901e2ce):
  901e2ce  2025-09-22  Greg Spencer  Mark "root" as required. (dart-lang/ai#285)

dartdoc (https://github.com/dart-lang/dartdoc/compare/4df6dbe..669b15f):
  669b15f7  2025-09-25  Sam Rawlins  Update deprecated check to consider new annotations (dart-lang/dartdoc#4108)
  42daf01e  2025-09-25  Konstantin Scheglov  When create EmbedderSdk, give it 'languageVersion'. (dart-lang/dartdoc#4110)
  17dc54d1  2025-09-25  Sam Rawlins  Bump updateAnalysisOptions parameter for deprecation (dart-lang/dartdoc#4109)

http (https://github.com/dart-lang/http/compare/d6dd5ec..e0dadd1):
  e0dadd1  2025-09-23  dependabot[bot]  Bump the github-actions group with 3 updates (dart-lang/http#1819)
  8c5f1b8  2025-09-22  Benjamin Jones  Remove documentation about WebSocketChannel.new in doc comment (dart-lang/http#1823)

protobuf (https://github.com/dart-lang/protobuf/compare/456e2ee..07eed6e):
  07eed6e  2025-09-25  Ömer Sinan Ağacan  Generalize argument type of `PbList.from` from `List<T>` to `Iterable<T>` (google/protobuf.dart#1054)
  0447bd2  2025-09-24  Ömer Sinan Ağacan  Run plugin with asserts when building test protos (google/protobuf.dart#1055)
  660bbc8  2025-09-24  Ömer Sinan Ağacan  Edition support (google/protobuf.dart#1052)
  82fc34f  2025-09-23  Ömer Sinan Ağacan  Improve golden file checking (google/protobuf.dart#1053)

tools (https://github.com/dart-lang/tools/compare/6c1eb21..ecd7dd5):
  ecd7dd52  2025-09-24  Devon Carew  refactor the media types golden table (dart-lang/tools#2168)

web (https://github.com/dart-lang/web/compare/25a0b5b..0baaea4):
  0baaea4  2025-09-23  Nikechukwu  [interop] Add support for destructured parameters (dart-lang/web#469)
  af37d19  2025-09-22  Nikechukwu  [web-generator] Added support for multi-file input for JS Generator (dart-lang/web#470)

webdev (https://github.com/dart-lang/webdev/compare/23aefeb..d2e5593):
  d2e5593b  2025-09-22  Ben Konyi  Format sources using the updated formatter (dart-lang/webdev#2662)

Change-Id: Ia42b257706d22841ba226870b51bb346d9bef67f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/451601
Commit-Queue: Devon Carew <[email protected]>
Reviewed-by: Konstantin Shcheglov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants