Skip to content

Conversation

@Jasguerrero
Copy link
Contributor

Reverts #127776
Currently breaking google testing

@Jasguerrero Jasguerrero requested a review from justinmc July 7, 2023 18:40
@github-actions github-actions bot added framework flutter/packages/flutter repository. See also f: labels. f: cupertino flutter/packages/flutter/cupertino repository labels Jul 7, 2023
@Jasguerrero Jasguerrero requested review from CaseyHillers and XilaiZhang and removed request for CaseyHillers, XilaiZhang and justinmc July 7, 2023 18:40
@CaseyHillers
Copy link
Contributor

For future reverts, please link to the tracking bug, and give a general description of why we're reverting the PR.

Looking at b/290302660 indicates this requires a g3fix, and @justinmc has prepped it. Can you try applying the patch to your roll and seeing if that fixes it?

@Jasguerrero
Copy link
Contributor Author

For future reverts, please link to the tracking bug, and give a general description of why we're reverting the PR.

Looking at b/290302660 indicates this requires a g3fix, and @justinmc has prepped it. Can you try applying the patch to your roll and seeing if that fixes it?

Just did and it is still failing

Copy link
Contributor

@justinmc justinmc left a comment

Choose a reason for hiding this comment

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

LGTM 👍

No big deal for this to be reverted.

@Jasguerrero Jasguerrero added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 7, 2023
@auto-submit auto-submit bot merged commit acb0855 into master Jul 7, 2023
@auto-submit auto-submit bot deleted the revert-127776-cupertinoswitch-accessibility-labels branch July 7, 2023 20:04
justinmc added a commit that referenced this pull request Jul 7, 2023
Jasguerrero added a commit to Jasguerrero/flutter that referenced this pull request Jul 7, 2023
Jasguerrero added a commit that referenced this pull request Jul 7, 2023
@vleeuwenmenno
Copy link

vleeuwenmenno commented Jul 7, 2023

@justinmc Sorry but I find this a bit offensive for the contributor. I'm sure there's some effort that had gone into this, and by the looks of it the tests were not failing.

Only hidden ones that are closed off failed? Seems a bit unfair, doesn't it? Do we know why it failed? I feel like this is how you create a scenario where fewer people want to contribute.

@CaseyHillers @Jasguerrero

@Jasguerrero
Copy link
Contributor Author

@justinmc Sorry but I find this a bit offensive for the contributor. I'm sure there's some effort that had gone into this, and by the looks of it the tests were not failing. Only the hidden, closed off tests that nobody can actually work with did?

Seems a bit unfair, doesn't it? Do we know why it failed? I feel like this is how you create a scenario where fewer people want to contribute.

@CaseyHillers @Jasguerrero

The contributor reach out on discord and I explained the situation, there is a new effort on relanding this already #130171

Sorry if there were any confusion

@Hixie
Copy link
Contributor

Hixie commented Jul 7, 2023

@vleeuwenmenno There's nothing personal about reverts, they happen all the time and are not in any way a comment on the person writing the code. It's just part of the process. I myself get PRs reverted all the time. :-) It's so common that the word "revert" appears 44 times just on our "tree hygiene" wiki page, including on the first line. :-)

We accept private test suites from anyone who has the resources to hook into our CI and maintain them, currently only Google has taken us up on that but anyone is welcome to do it. We get additional significant testing that way to help keep the product high-quality, and they get stability (because we don't break them). The trade-off is that they must promise to follow-up on failures, either working with the person who wrote the patch, or fixing their tests (as is happening in this case in #130171).

@vleeuwenmenno
Copy link

@justinmc Sorry but I find this a bit offensive for the contributor. I'm sure there's some effort that had gone into this, and by the looks of it the tests were not failing. Only the hidden, closed off tests that nobody can actually work with did?
Seems a bit unfair, doesn't it? Do we know why it failed? I feel like this is how you create a scenario where fewer people want to contribute.
@CaseyHillers @Jasguerrero

The contributor reach out on discord and I explained the situation, there is a new effort on relanding this already #130171

Sorry if there were any confusion

Are there any changes to the code that fix the cause of failing tests? Because now the git blame will not be accurate to the original author of the contributed code.

@justinmc
Copy link
Contributor

justinmc commented Jul 7, 2023

Thanks @Hixie, I was going to write something similar.

@vleeuwenmenno You are right that I should have communicated this better though. I've actually already got another PR open to try to reland @gilnobrega's work (#130171). I have a fix that I'll apply to the failing Google tests. Saying "No big deal for this to be reverted" was a bad choice of words :). I meant that there aren't any sequential PRs that depend on this one that will be broken by a revert etc., not that the PR is unimportant.

Are there any changes to the code that fix the cause of failing tests? Because now the git blame will not be accurate to the original author of the contributed code.

No changes need to be made to the original PR to fix the tests. I'm happy to close my PR if @gilnobrega wants to open their own. I think the original commits will still be attributed to @gilnobrega either way at least.

@vleeuwenmenno
Copy link

@vleeuwenmenno There's nothing personal about reverts, they happen all the time and are not in any way a comment on the person writing the code. It's just part of the process. I myself get PRs reverted all the time. :-) It's so common that the word "revert" appears 44 times just on our "tree hygiene" wiki page, including on the first line. :-)

We accept private test suites from anyone who has the resources to hook into our CI and maintain them, currently only Google has taken us up on that but anyone is welcome to do it. We get additional significant testing that way to help keep the product high-quality, and they get stability (because we don't break them). The trade-off is that they must promise to follow-up on failures, either working with the person who wrote the patch, or fixing their tests (as is happening in this case in #130171).

Thanks for the clarification, although I do not quite agree with that work flow but that's alright. Keeps the way of working challenged to be better 😃

@gilnobrega
Copy link
Contributor

gilnobrega commented Jul 7, 2023

@justinmc @Hixie Thank you for the explanation.

As @vleeuwenmenno mentioned, as far as I'm aware a revert of a revert erases git blame so I reopened the PR in #130173.

I'm happy to deliver improvements if needed.

@justinmc
Copy link
Contributor

justinmc commented Jul 7, 2023

Thanks! I've closed mine in favor of yours.

engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 8, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 8, 2023
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Jul 8, 2023
flutter/flutter@d55a7d8...65ff3cb

2023-07-08 [email protected] Roll Flutter Engine from 69eb8275ce47 to 189f823e7b41 (1 revision) (flutter/flutter#130201)
2023-07-08 [email protected] Roll Flutter Engine from d5a35b4650b1 to 69eb8275ce47 (1 revision) (flutter/flutter#130199)
2023-07-08 [email protected] Roll Flutter Engine from 9006633571bb to d5a35b4650b1 (1 revision) (flutter/flutter#130197)
2023-07-08 [email protected] Roll Flutter Engine from 4ca619166c4a to 9006633571bb (2 revisions) (flutter/flutter#130195)
2023-07-08 [email protected] Roll Flutter Engine from 13d9d84e8aba to 4ca619166c4a (2 revisions) (flutter/flutter#130191)
2023-07-08 [email protected] Roll Flutter Engine from 40a8732a5de0 to 13d9d84e8aba (2 revisions) (flutter/flutter#130189)
2023-07-08 [email protected] fix: duplicated Intellij IDE message when running flutter doctor (flutter/flutter#129030)
2023-07-08 [email protected] Remove unneeded configuration file  (flutter/flutter#130183)
2023-07-08 [email protected] Roll Flutter Engine from 893ab3bf7bb9 to 40a8732a5de0 (1 revision) (flutter/flutter#130186)
2023-07-07 [email protected] Roll Flutter Engine from b39e6fe4b3bf to 893ab3bf7bb9 (1 revision) (flutter/flutter#130180)
2023-07-07 [email protected] Roll Flutter Engine from 7c83ea3e8542 to b39e6fe4b3bf (1 revision) (flutter/flutter#130176)
2023-07-07 [email protected] Add a threshold when comparing screen order for selectables. (flutter/flutter#130043)
2023-07-07 [email protected] Upgrade framework pub dependencies, roll engine with rolled dart sdk (flutter/flutter#130163)
2023-07-07 [email protected] Revert "[a11y] CupertinoSwitch On/Off labels" (flutter/flutter#130166)
2023-07-07 [email protected] Test that inspector does not hold objects. (flutter/flutter#130102)
2023-07-07 [email protected] Fix XCode download link (flutter/flutter#129795)
2023-07-07 [email protected] Roll Packages from 9bcf4bf to b61eea1 (1 revision) (flutter/flutter#130154)
2023-07-07 [email protected] (Raw)Autocomplete: Add optional [optionsViewOpenDirection] param (flutter/flutter#129802)
2023-07-07 [email protected] Tiny one space formatting fix (flutter/flutter#130053)
2023-07-07 [email protected] Roll Flutter Engine from 8aa2e6516af1 to 5ae09b8b4fa3 (7 revisions) (flutter/flutter#130150)
2023-07-07 [email protected] Add debugging for iOS startup test flakes (flutter/flutter#130099)

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://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
auto-submit bot pushed a commit that referenced this pull request Jul 12, 2023
This original PR (#127776) was reverted (#130166) due to a Google test failure.

This reopens the PR as per the discussion in #130166 (comment).

Fixes issue #4830.
LouiseHsu pushed a commit to LouiseHsu/flutter that referenced this pull request Jul 13, 2023
This original PR (flutter#127776) was reverted (flutter#130166) due to a Google test failure.

This reopens the PR as per the discussion in flutter#130166 (comment).

Fixes issue flutter#4830.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App f: cupertino flutter/packages/flutter/cupertino repository framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants