Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove logcat flush #33809

Closed
wants to merge 1 commit into from
Closed

Remove logcat flush #33809

wants to merge 1 commit into from

Conversation

blasten
Copy link

@blasten blasten commented Jun 3, 2022

IOSink.flush cannot be called while a write operation is happening.
It also doesn't seem like flush actually flushes the bytes to disk.
For context dart-lang/sdk#25277 (comment)

Fixes https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8812362342732992161/+/u/Scenario_App_Integration_Tests/stdout?format=raw

@blasten blasten requested review from GaryQian and dnfield June 3, 2022 16:58
@skia-gold
Copy link

Gold has detected about 4 new digest(s) on patchset 1.
View them at https://flutter-engine-gold.skia.org/cl/github/33809

await step('Flush logcat...', () async {
await logcat.flush();
});

exit(0);
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems not quite right to me - can we instead remove sink from the pipe and then flush?

@dnfield
Copy link
Contributor

dnfield commented Jun 3, 2022

Why is this changing the goldens that much?

@flutter-dashboard
Copy link

Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change).

If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review.

Changes reported for pull request #33809 at sha 5362b09

@blasten
Copy link
Author

blasten commented Jun 3, 2022

Why is this changing the goldens that much?

It's http://b234791343 again, and https://flutter-review.googlesource.com/c/recipes/+/30888 didn't land for some reason

@dnfield
Copy link
Contributor

dnfield commented Jun 3, 2022

Text that wasn't showing up before is showing up now - are we not stopping at a deterministic point in rendering?

@dnfield
Copy link
Contributor

dnfield commented Jun 3, 2022

Hm, now it all looks like the pixel launcher thing again.

This is going to cause a lot of noise on PRs being landed that see this flip around and don't understand why...

@chinmaygarde
Copy link
Member

From triage: We don't believe this is the right fix. But lets wait for @blasten to be back to discuss further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants