Skip to content

Conversation

bkonyi
Copy link
Collaborator

@bkonyi bkonyi commented Oct 15, 2025

Created two new subclasses of AppInspector: ChromeAppInspector and WebSocketAppInspector. Functionality that doesn't require knowledge of the specific DWDS connection mode (e.g., WIP vs WS) remains in the now abstract AppInspector, and functionality specific to the connection mode is now implemented in the respective *AppInspector subclass.

This allows for sharing logic around maintaining caches for scripts and libraries.

…connections

Created two new subclasses of `AppInspector`: `ChromeAppInspector` and
`WebSocketAppInspector`. Functionality that doesn't require knowledge of
the specific DWDS connection mode (e.g., WIP vs WS) remains in the now
abstract `AppInspector`, and functionality specific to the connection
mode is now implemented in the respective `*AppInspector` subclass.

This allows for sharing logic around maintaining caches for scripts and
libraries.
@bkonyi bkonyi changed the title [ DWDS ] Refactor AppInspector to support both Chrome and Web Socket connections [ DWDS ] Refactor AppInspector to support both Chrome and Web Socket connections Oct 15, 2025
@bkonyi bkonyi marked this pull request as ready for review October 20, 2025 15:51
@bkonyi bkonyi requested review from jyameo and srujzs and removed request for jyameo October 20, 2025 15:51
@github-actions
Copy link

github-actions bot commented Oct 20, 2025

Package publishing

Package Version Status Publish tag (post-merge)
package:dwds 26.2.0 ready to publish dwds-v26.2.0
package:frontend_server_client 4.0.1-wip WIP (no publish necessary)
package:webdev 3.8.0-wip WIP (no publish necessary)

Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

Copy link
Contributor

@jyameo jyameo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@auto-submit
Copy link

auto-submit bot commented Oct 20, 2025

autosubmit label was removed for dart-lang/webdev/2700, because - The status or check suite Maybe prevent submission has failed. Please fix the issues identified (or deflake) before re-applying this label.

@auto-submit auto-submit bot removed the autosubmit label Oct 20, 2025
@bkonyi bkonyi merged commit b9c39c0 into main Oct 20, 2025
69 of 70 checks passed
@bkonyi bkonyi deleted the refactor_app_inspector branch October 20, 2025 19:52
copybara-service bot pushed a commit to dart-lang/sdk that referenced this pull request Oct 21, 2025
Revisions updated by `dart tools/rev_sdk_deps.dart`.

tools (https://github.com/dart-lang/tools/compare/d0941a3..ce12670):
  ce126700  Mon Oct 20 21:50:45 2025 +0100  Danny Tuppeny  Fix @failingTest not working correctly for out-of-band exceptions (dart-lang/tools#2216)
  8bb94d88  Mon Oct 20 16:14:33 2025 +0200  Sebastian Stallenberger  [oauth2] Add isClosed and exception handling for closed state to oaut… (dart-lang/tools#2089)

webdev (https://github.com/dart-lang/webdev/compare/82b3855..b9c39c0):
  b9c39c00  Mon Oct 20 15:52:13 2025 -0400  Ben Konyi  [ DWDS ] Refactor `AppInspector` to support both Chrome and Web Socket connections (dart-lang/webdev#2700)

Change-Id: I1e989df7dbfcbc99afe7dfcd0920a8fb0be5e4db
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/456260
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Auto-Submit: Danny Tuppeny <danny@tuppeny.com>
Reviewed-by: Devon Carew <devoncarew@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
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.

3 participants