Skip to content

Expose the backend APIs used by flutter_test from test_api - #2635

Merged
natebosch merged 2 commits into
masterfrom
expose-backend-apis
Apr 28, 2026
Merged

natebosch merged 2 commits into
masterfrom
expose-backend-apis

Conversation

@jakemac53

@jakemac53 jakemac53 commented Apr 27, 2026 •

Copy link
Copy Markdown
Contributor

This would allow test_api to be unpinned from the flutter SDK.

This does greatly expose the public surface area and also greatly increase the probability of breaking API changes, but we are already in this situation in reality (any breaking changes to these APIs would break flutter anyways).

Part of flutter/flutter#185016

@jakemac53
jakemac53 requested a review from a team as a code owner April 27, 2026 21:13
@jakemac53
jakemac53 requested a review from natebosch April 27, 2026 21:13
@github-actions

github-actions Bot commented Apr 27, 2026 •

Copy link
Copy Markdown

PR Health

Changelog Entry ✔️
Package Changed Files

Changes to files need to be accounted for in their respective changelogs.

This check can be disabled by tagging the PR with skip-changelog-check.

@natebosch
natebosch merged commit d5da922 into master Apr 28, 2026
62 checks passed
@natebosch
natebosch deleted the expose-backend-apis branch April 28, 2026 00:32
copybara-service Bot pushed a commit to dart-lang/sdk that referenced this pull request May 1, 2026
…, webdev, webdriver

Revisions updated by `dart tools/rev_sdk_deps.dart`.

ai (https://github.com/dart-lang/ai/compare/3d3b7fd..7270c43):
  7270c43  Wed Apr 29 01:14:51 2026 +0530  Sourav-Sonkar  fix: graceful shutdown of orphaned test apps on windows (dart-lang/ai#438)
  07af327  Tue Apr 28 11:11:31 2026 -0700  Jacob MacDonald  Update dependencies (dart-lang/ai#453)
  ff1866d  Wed Apr 29 00:13:33 2026 +0800  Goweii  fix: Add empty properties object to tool input schemas to resolve Claude 400 validation error (dart-lang/ai#444)
  8ce7450  Thu Apr 16 11:03:55 2026 -0700  Jacob MacDonald  add gemini code assist configuration for reviews (dart-lang/ai#443)
  899e562  Tue Apr 14 11:38:29 2026 -0700  Jacob MacDonald  Merge cherry-pick branch into main (dart-lang/ai#442)
  5eae0ae  Tue Apr 14 18:27:49 2026 +0000  Jake Macdonald  Merge remote-tracking branch 'origin/cherry-pick' into merge-cherry-pick
  1e69aa8  Tue Apr 14 11:20:43 2026 -0700  Jacob MacDonald  re-implement most of `#440` for the current stable release (dart-lang/ai#441)

core (https://github.com/dart-lang/core/compare/347df4b..be0b1531):
  be0b1531  Wed Apr 29 16:50:55 2026 -0700  Nate Bosch Revert "Completely new cross-platform API introduced" (#957)
  a23519da  Mon Apr 20 15:57:58 2026 -0700  Nate Bosch  Support variable duration in RestartableTimer (dart-lang/core#949)
  0def20c4  Thu Apr 2 08:40:37 2026 +0200  Lasse R.H. Nielsen  Completely new cross-platform API introduced

dartdoc (https://github.com/dart-lang/dartdoc/compare/c01cf53..2e30b8e):
  2e30b8e3  Tue Apr 21 15:09:21 2026 -0700  Kevin Moore  Improve @canonicalFor validation with close-match suggestions (dart-lang/dartdoc#4234)
  fbc326ea  Tue Apr 14 09:18:26 2026 -0700  Kevin Moore  Fix dartdoc canonicalization for explicit getters and prioritize @canonicalFor (dart-lang/dartdoc#4233)

ecosystem (https://github.com/dart-lang/ecosystem/compare/3bd43d6..ed4e053):
  ed4e053  Wed Apr 15 08:30:59 2026 -0700  Kevin Moore  fix(workflows): prevent duplicate PR comments in post_summaries.yaml (dart-lang/ecosystem#412)

http (https://github.com/dart-lang/http/compare/fa2d2c2..2c84f24):
  2c84f24  Mon Apr 27 14:45:17 2026 -0700  Brian Quinlan  doc: s/dart:html/package:web/g (dart-lang/http#1911)

i18n (https://github.com/dart-lang/i18n/compare/de7e11b..2ae32fd):
  2ae32fdd  Wed Apr 22 02:20:51 2026 -0700  Googler  No public description
  1eaf8a2e  Sun Mar 1 06:51:04 2026 +0000  dependabot[bot]  Bump the github-actions group with 2 updates (dart-lang/i18n#1053)

shelf (https://github.com/dart-lang/shelf/compare/c4b94d3..cc6b57d):
  cc6b57d  Wed Apr 29 08:59:40 2026 -0700  Kevin Moore  chore: update shelf_io test to not crash on certificate error (dart-lang/shelf#522)
  da9f1b1  Thu Apr 23 14:43:00 2026 -0400  Mouad Debbar  Fix multi-header handling in shelf_proxy (dart-lang/shelf#519)
  a6693a9  Wed Apr 22 23:15:09 2026 -0700  Kevin Moore  feat: Add HTTP/1.1 compliance testing package and baseline for shelf (dart-lang/shelf#518)

test (https://github.com/dart-lang/test/compare/8bbb847..d5da922):
  d5da9229  Mon Apr 27 17:32:33 2026 -0700  Jacob MacDonald  Expose the backend APIs used by flutter_test from test_api (dart-lang/test#2635)
  c8c76f45  Mon Apr 27 13:38:25 2026 -0700  Nate Bosch  Prepare to publish (dart-lang/test#2634)

web (https://github.com/dart-lang/web/compare/15599ee..7c908b1):
  7c908b1  Tue Apr 28 17:16:57 2026 -0700  Kevin Moore  test(js_interop_gen): add integration tests (dart-lang/web#541)
  5ed9bed  Tue Apr 28 17:04:41 2026 -0700  Kevin Moore  js_interop_gen: minimize the number of `@docImport` comments we create (dart-lang/web#540)
  2c47e36  Mon Apr 27 20:55:43 2026 -0700  Kevin Moore  feat: generate descriptive documentation for union typedefs (dart-lang/web#534)
  db91caf  Mon Apr 27 15:15:30 2026 -0700  Kevin Moore  chore: write BCD version to README in web_generator (dart-lang/web#537)
  5e7285f  Fri Apr 24 12:09:10 2026 -0700  Kevin Moore  chore: update node invocation to use the source maps we already generate (dart-lang/web#538)
  3a7e37a  Sat Apr 18 19:31:20 2026 -0700  Kevin Moore  Stabilize JS Interop CI and decouple webref dependencies (dart-lang/web#532)
  d7daf7d  Tue Apr 14 12:23:21 2026 -0700  Kevin Moore  generator: add some sanity to the language version logic (dart-lang/web#530)
  b026317  Mon Apr 13 13:01:37 2026 -0700  Kevin Moore  generator: be more robust against NPM timing issues (dart-lang/web#528)

webdev (https://github.com/dart-lang/webdev/compare/2947c78..d33d270):
  d33d2704  Thu Apr 23 16:00:22 2026 -0400  Jessy Yameogo  [dwds] Sync state with sdk/g3 and restore static analysis for fixtures (dart-lang/webdev#2824)
  e43744b2  Fri Apr 17 16:55:24 2026 -0400  Jessy Yameogo  [dwds] Fix ping event serialization by introducing PingRequest (dart-lang/webdev#2821)
  1063eb00  Fri Apr 17 10:28:47 2026 -0700  MarkZ  Creating experimental flag for web hot reload in webdev and splitting tests between DDC module systems (dart-lang/webdev#2807)

webdriver (https://github.com/google/webdriver.dart/compare/26326d3..3a711eb):
  3a711eb  Mon Apr 27 10:09:31 2026 -0700  Kevin Moore  Update CI badge to point to master branch (google/webdriver.dart#343)

[email protected]

Change-Id: Ie746dfd8f9637db46075b252d3290925de11b382
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/499663
Reviewed-by: Brian Quinlan <[email protected]>
Commit-Queue: Nate Bosch <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants