Skip to content

Conversation

@ksokolovskyi
Copy link
Contributor

Description

Tests

  • Updates restoration_bucker_test.dart to test RestorationBucket object creation and disposal dispatching;
  • Updates disposable_build_context_test.dart to test DisposableBuildContext object creation and disposal dispatching;
  • Updates some tests to fix leaks.

Unfortunately, it is not possible to test memory events of the _RouteEntry as it is private.

Pre-launch Checklist

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
  • I signed the [CLA].
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is [test-exempt].
  • All existing and new tests are passing.

@github-actions github-actions bot added a: text input Entering text in a text field or keyboard related problems framework flutter/packages/flutter repository. See also f: labels. f: scrolling Viewports, list views, slivers, etc. f: routes Navigator, Router, and related APIs. labels Oct 28, 2023
@ksokolovskyi
Copy link
Contributor Author

cc @polina-c

@polina-c polina-c added the a: leak tracking Issues and PRs related to memory leaks detected by leak_tracker label Oct 28, 2023
@polina-c polina-c merged commit f05bb9a into flutter:master Oct 28, 2023
@polina-c
Copy link
Contributor

Thank you!

@ksokolovskyi
Copy link
Contributor Author

@polina-c, thanks a lot for the review!

engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 29, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 29, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 30, 2023
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Oct 30, 2023
flutter/flutter@a4ec627...e12d1a7

2023-10-29 [email protected] Reland `coverableLineCache` optimisation (#136851) (flutter/flutter#137385)
2023-10-28 [email protected] Instrument RestorationBucket, _RouteEntry and DisposableBuildContext for leak tracking. (flutter/flutter#137477)
2023-10-28 [email protected] BannerPainter should dispatch creation and disposal events.  (flutter/flutter#137472)

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
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: leak tracking Issues and PRs related to memory leaks detected by leak_tracker a: text input Entering text in a text field or keyboard related problems f: routes Navigator, Router, and related APIs. f: scrolling Viewports, list views, slivers, etc. framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants