Skip to content

Conversation

@HansMuller
Copy link
Contributor

The (Java) code used to save screenshots has been flaky on Linux. Refactored the code so that screenshot production can run on (just) MacOS.

Also:

  • The screenshot uploader is no longer a separate process.
  • ... no longer tries to reuse an HTTP client after a timeout.
  • ... logs the files that it has saved.

@HansMuller
Copy link
Contributor Author

@yjbanov

Copy link
Contributor

@yjbanov yjbanov left a comment

Choose a reason for hiding this comment

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

LGTM

await flutter('packages', options: <String>['get']);

if (deviceOperatingSystem == DeviceOperatingSystem.ios)
final bool isIOSDevice = deviceOperatingSystem == DeviceOperatingSystem.ios;
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: for consistency with other code, let's treat "ios" as a plain word and camel-case it like this: isIosDevice.


dependencies:
args: ^0.13.4
image:
Copy link
Contributor

Choose a reason for hiding this comment

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

In most other places we're more specific about the version. How about ^1.1.27?

@HansMuller HansMuller merged commit ede575a into flutter:master Jun 14, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants