Migration for the sendTiming events for package:unified_analytics#138896
Merged
auto-submit[bot] merged 22 commits intoflutter:masterfrom Nov 29, 2023
Merged
Migration for the sendTiming events for package:unified_analytics#138896auto-submit[bot] merged 22 commits intoflutter:masterfrom
sendTiming events for package:unified_analytics#138896auto-submit[bot] merged 22 commits intoflutter:masterfrom
Conversation
This needs to be done on its own because we return before the `_sendPostUsage` method can send the command ran
eliasyishak
commented
Nov 27, 2023
packages/flutter_tools/test/general.shard/runner/flutter_command_runner_test.dart
Show resolved
Hide resolved
Contributor
|
I believe this analysis error is unrelated to your change and fixed upstream: |
Contributor
Author
|
@christopherfujino ah i see, thanks, i was wondering why it kept coming up |
32 tasks
sendTiming events for package:unified_analyticssendTiming events for package:unified_analytics
packages/flutter_tools/test/general.shard/ios/ios_device_start_nonprebuilt_test.dart
Outdated
Show resolved
Hide resolved
packages/flutter_tools/test/general.shard/resident_web_runner_test.dart
Outdated
Show resolved
Hide resolved
packages/flutter_tools/test/general.shard/resident_web_runner_test.dart
Outdated
Show resolved
Hide resolved
packages/flutter_tools/test/general.shard/runner/flutter_command_runner_test.dart
Outdated
Show resolved
Hide resolved
Comment on lines
+515
to
+517
| expect(timingEventCounts, 0, | ||
| reason: 'There should not be any timing events sent, ' | ||
| 'there may be other events'); |
Contributor
There was a problem hiding this comment.
Suggested change
| expect(timingEventCounts, 0, | |
| reason: 'There should not be any timing events sent, ' | |
| 'there may be other events'); | |
| expect( | |
| timingEventCounts, | |
| 0, | |
| reason: 'There should not be any timing events sent, there may be other events', | |
| ); |
Contributor
There was a problem hiding this comment.
why would there be other events?
Contributor
There was a problem hiding this comment.
oh, this test was only ever testing that there weren't timing events?
Contributor
Author
There was a problem hiding this comment.
Correct, with package:usage, we had separate lists for timing, commands, and other events, but with the new approach they are stored in the same sentEvents list.
packages/flutter_tools/test/general.shard/runner/flutter_command_test.dart
Outdated
Show resolved
Hide resolved
packages/flutter_tools/test/general.shard/runner/flutter_command_test.dart
Outdated
Show resolved
Hide resolved
packages/flutter_tools/test/general.shard/web/compile_web_test.dart
Outdated
Show resolved
Hide resolved
christopherfujino
approved these changes
Nov 29, 2023
Contributor
christopherfujino
left a comment
There was a problem hiding this comment.
This LGTM modulo nits
8 tasks
auto-submit bot
added a commit
that referenced
this pull request
Nov 30, 2023
…nalytics`" (#139278) Reverts #138896 Initiated by: CaseyHillers This change reverts the following previous change: Original Description: Related to tracker issue: - #128251 <img width="278" alt="image" src="proxy.php?url=https://github.com/flutter/flutter/assets/42216813/cee7b9be-48d6-48e5-8c39-de28d0a1f0de"> The image above shows all of the instances where we have `sendTiming`. All of the call sites have been updated to use the new `Event.timing` event from `package:unified_analytics`.
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Nov 30, 2023
auto-submit bot
pushed a commit
to flutter/packages
that referenced
this pull request
Nov 30, 2023
flutter/flutter@5e5b529...918e336 2023-11-30 [email protected] Move Impeller tests on Pixel 7 Pro from staging to prod (flutter/flutter#139280) 2023-11-30 [email protected] Introduce multi-touch drag strategies for `DragGestureRecognizer` (flutter/flutter#136708) 2023-11-30 [email protected] Use the correct recipe on fuchsia_precache. (flutter/flutter#139279) 2023-11-30 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Migration for the `sendTiming` events for `package:unified_analytics`" (flutter/flutter#139278) 2023-11-30 [email protected] Migrate fuchsia_precache to shard tests. (flutter/flutter#139202) 2023-11-29 [email protected] Fix chips `onDeleted` callback don't show the delete button when disabled (flutter/flutter#137685) 2023-11-29 [email protected] Roll Flutter Engine from 9a7e49d75411 to 35939ca8534f (5 revisions) (flutter/flutter#139259) 2023-11-29 [email protected] Refactor to use Apple system fonts (flutter/flutter#137275) 2023-11-29 [email protected] Dynamic view sizing (flutter/flutter#138648) 2023-11-29 [email protected] Roll dependencies (flutter/flutter#139203) 2023-11-29 [email protected] add sourceTimeStamp to ScaleUpdateDetails (flutter/flutter#135936) 2023-11-29 [email protected] Roll Flutter Engine from 222beb28a8eb to 9a7e49d75411 (1 revision) (flutter/flutter#139250) 2023-11-29 [email protected] Remove deprecated `PlatformMenuBar.body` (flutter/flutter#138509) 2023-11-29 [email protected] Migration for the `sendTiming` events for `package:unified_analytics` (flutter/flutter#138896) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Contributor
Author
|
This PR was reverted due to Google3 updates that need to be made: |
caseycrogers
pushed a commit
to caseycrogers/flutter
that referenced
this pull request
Dec 29, 2023
…flutter#138896) Related to tracker issue: - flutter#128251 <img width="278" alt="image" src="proxy.php?url=https://github.com/flutter/flutter/assets/42216813/cee7b9be-48d6-48e5-8c39-de28d0a1f0de"> The image above shows all of the instances where we have `sendTiming`. All of the call sites have been updated to use the new `Event.timing` event from `package:unified_analytics`.
caseycrogers
pushed a commit
to caseycrogers/flutter
that referenced
this pull request
Dec 29, 2023
…nalytics`" (flutter#139278) Reverts flutter#138896 Initiated by: CaseyHillers This change reverts the following previous change: Original Description: Related to tracker issue: - flutter#128251 <img width="278" alt="image" src="proxy.php?url=https://github.com/flutter/flutter/assets/42216813/cee7b9be-48d6-48e5-8c39-de28d0a1f0de"> The image above shows all of the instances where we have `sendTiming`. All of the call sites have been updated to use the new `Event.timing` event from `package:unified_analytics`.
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Feb 16, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to tracker issue:
package:unified_analyticsimplementation in flutter tool #128251The image above shows all of the instances where we have
sendTiming. All of the call sites have been updated to use the newEvent.timingevent frompackage:unified_analytics.Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.