Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

bleroux
Copy link
Contributor

@bleroux bleroux commented Sep 28, 2023

Description

This PR is a follow-up to #44636 which introduces the set_allow_channel_overflow function. It renames this function to set_warns_on_channel_overflow.

The previous naming was inspired by the framework side implementation.

void allowOverflow(String name, bool allowed) {

During the review of the iOS/macOS implementation, #44848 (comment), we agreed that the existing naming is confusing because it implies that overflow will be allowed, but this not the case this function is used to enable/disable error messages when a channel overflows.

Related Issue

Follow-up for flutter/flutter#132386.

Tests

Updates 2 tests.

Copy link
Contributor

@robert-ancell robert-ancell left a comment

Choose a reason for hiding this comment

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

LGTM

@bleroux bleroux added the autosubmit Merge PR when tree becomes green via auto submit App label Oct 2, 2023
@auto-submit auto-submit bot merged commit f658ab1 into flutter:main Oct 2, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 2, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Oct 2, 2023
…135843)

flutter/engine@1410d68...321139f

2023-10-02 [email protected] Roll Skia from 7bd63cc5cba3 to 0fef7d25a55f (1 revision) (flutter/engine#46453)
2023-10-02 [email protected] [Linux] Rename 'set_allow_channel_overflow' to 'set_warns_on_channel_â�¦ (flutter/engine#46360)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
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 Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Mairramer pushed a commit to Mairramer/flutter that referenced this pull request Oct 10, 2023
…lutter#135843)

flutter/engine@1410d68...321139f

2023-10-02 [email protected] Roll Skia from 7bd63cc5cba3 to 0fef7d25a55f (1 revision) (flutter/engine#46453)
2023-10-02 [email protected] [Linux] Rename 'set_allow_channel_overflow' to 'set_warns_on_channel_â�¦ (flutter/engine#46360)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
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 Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
harryterkelsen pushed a commit that referenced this pull request Oct 23, 2023
#46360)

## Description

This PR is a follow-up to #44636 which introduces the `set_allow_channel_overflow` function. It renames this function to `set_warns_on_channel_overflow`.

The previous naming was inspired by the framework side implementation.
https://github.com/flutter/engine/blob/93e8901490e78c7ba7e319cce4470d9c6478c6dc/lib/ui/channel_buffers.dart#L574

During the review of the iOS/macOS implementation, #44848 (comment), we agreed that the existing naming is confusing because it implies that overflow will be allowed, but this not the case this function is used to enable/disable error messages when a channel overflows. 

## Related Issue

Follow-up for flutter/flutter#132386.

## Tests

Updates 2 tests.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects: desktop autosubmit Merge PR when tree becomes green via auto submit App platform-linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants