[M] Change in dart/sdk[main]: Code cleanup in log player and server driver

0 views
Skip to first unread message

Brian Wilkerson (Gerrit)

unread,
Nov 26, 2025, 6:39:20 PM (3 days ago) Nov 26
to Brian Wilkerson, Keerti Parthasarathy, Jake Macdonald, Commit Queue, dart-analys...@google.com, rev...@dartlang.org
Attention needed from Jake Macdonald and Keerti Parthasarathy

Brian Wilkerson voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Jake Macdonald
  • Keerti Parthasarathy
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I9456e2a43310bb855b54c010af64ce0328a08ff7
Gerrit-Change-Number: 464785
Gerrit-PatchSet: 1
Gerrit-Owner: Brian Wilkerson <brianwi...@google.com>
Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
Gerrit-Reviewer: Jake Macdonald <jak...@google.com>
Gerrit-Reviewer: Keerti Parthasarathy <kee...@google.com>
Gerrit-Attention: Keerti Parthasarathy <kee...@google.com>
Gerrit-Attention: Jake Macdonald <jak...@google.com>
Gerrit-Comment-Date: Wed, 26 Nov 2025 23:39:16 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Keerti Parthasarathy (Gerrit)

unread,
Nov 26, 2025, 7:35:48 PM (3 days ago) Nov 26
to Brian Wilkerson, Jake Macdonald, Commit Queue, dart-analys...@google.com, rev...@dartlang.org
Attention needed from Brian Wilkerson and Jake Macdonald

Keerti Parthasarathy voted and added 1 comment

Votes added by Keerti Parthasarathy

Code-Review+1

1 comment

File pkg/analysis_server/tool/log_player/server_driver.dart
Line 18, Patchset 1 (Latest): /// A list of arguments from the comman-line used to start the server.
Keerti Parthasarathy . unresolved

nit: typo

Open in Gerrit

Related details

Attention is currently required from:
  • Brian Wilkerson
  • Jake Macdonald
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I9456e2a43310bb855b54c010af64ce0328a08ff7
Gerrit-Change-Number: 464785
Gerrit-PatchSet: 1
Gerrit-Owner: Brian Wilkerson <brianwi...@google.com>
Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
Gerrit-Reviewer: Jake Macdonald <jak...@google.com>
Gerrit-Reviewer: Keerti Parthasarathy <kee...@google.com>
Gerrit-Attention: Brian Wilkerson <brianwi...@google.com>
Gerrit-Attention: Jake Macdonald <jak...@google.com>
Gerrit-Comment-Date: Thu, 27 Nov 2025 00:35:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Brian Wilkerson (Gerrit)

unread,
Nov 27, 2025, 10:04:24 AM (2 days ago) Nov 27
to Brian Wilkerson, Keerti Parthasarathy, Jake Macdonald, Commit Queue, dart-analys...@google.com, rev...@dartlang.org
Attention needed from Jake Macdonald

Brian Wilkerson voted and added 1 comment

Votes added by Brian Wilkerson

Commit-Queue+2

1 comment

File pkg/analysis_server/tool/log_player/server_driver.dart
Line 18, Patchset 1: /// A list of arguments from the comman-line used to start the server.
Keerti Parthasarathy . resolved

nit: typo

Brian Wilkerson

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Jake Macdonald
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I9456e2a43310bb855b54c010af64ce0328a08ff7
Gerrit-Change-Number: 464785
Gerrit-PatchSet: 2
Gerrit-Owner: Brian Wilkerson <brianwi...@google.com>
Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
Gerrit-Reviewer: Jake Macdonald <jak...@google.com>
Gerrit-Reviewer: Keerti Parthasarathy <kee...@google.com>
Gerrit-Attention: Jake Macdonald <jak...@google.com>
Gerrit-Comment-Date: Thu, 27 Nov 2025 15:04:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Keerti Parthasarathy <kee...@google.com>
satisfied_requirement
open
diffy

Commit Queue (Gerrit)

unread,
Nov 27, 2025, 10:29:45 AM (2 days ago) Nov 27
to Brian Wilkerson, Keerti Parthasarathy, Jake Macdonald, dart-analys...@google.com, rev...@dartlang.org

Commit Queue submitted the change with unreviewed changes

Unreviewed changes

1 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:

```
The name of the file: pkg/analysis_server/tool/log_player/server_driver.dart
Insertions: 1, Deletions: 1.

@@ -15,7 +15,7 @@
/// The protocol being used by the server.
final ServerProtocol _protocol;

- /// A list of arguments from the comman-line used to start the server.
+ /// A list of arguments from the command-line used to start the server.
final List<String> arguments;

/// The sink used to send messages from the IDE to the server's stdin, or
```

Change information

Commit message:
Code cleanup in log player and server driver

Setting the command-line arguments separately from the protocol used to
be necessary, but it no long is, so it's cleaner to just set the command
line arguments when creating the server and moving the handling of the
protocol option into the server. This resulted in a cleaner API and
implementation.
Change-Id: I9456e2a43310bb855b54c010af64ce0328a08ff7
Commit-Queue: Brian Wilkerson <brianwi...@google.com>
Reviewed-by: Keerti Parthasarathy <kee...@google.com>
Files:
  • M pkg/analysis_server/tool/log_player/log_player.dart
  • M pkg/analysis_server/tool/log_player/server_driver.dart
Change size: M
Delta: 2 files changed, 33 insertions(+), 39 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Keerti Parthasarathy
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I9456e2a43310bb855b54c010af64ce0328a08ff7
Gerrit-Change-Number: 464785
Gerrit-PatchSet: 3
Gerrit-Owner: Brian Wilkerson <brianwi...@google.com>
Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages