Skip to content

Conversation

@a-wallen
Copy link
Contributor

@a-wallen a-wallen commented Aug 19, 2022

Reason

The initial desktop integration tests are running now, but they need to be expanded beyond the initial gallery build test; filing this to make sure that planned work is captured in the issue tracker. This should be much more straightforward that getting the first one running was, since the bot work is all complete.

In particular we should ensure we are testing building a freshly created project to catch errors in template changes. (I haven't checked where that test lives on existing platforms; it may be a device lab test, which still needs desktop bring-up).

Related

fixes #110079

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.

@a-wallen a-wallen requested a review from keyonghan as a code owner August 19, 2022 22:32
@flutter-dashboard flutter-dashboard bot added the c: contributor-productivity Team-specific productivity, code health, technical debt. label Aug 19, 2022
@a-wallen a-wallen changed the title [macOS] Bring Up "hello_world" {Release, Debug} Compile Tests for {Intel, ARM64 [macOS] Bring Up "hello_world" {Release, Debug} Compile Tests for {Intel, ARM64} Aug 19, 2022
@a-wallen a-wallen changed the title [macOS] Bring Up "hello_world" {Release, Debug} Compile Tests for {Intel, ARM64} [macOS] Bring Up "hello_world" {Release, Debug} Compile Tests for mac Aug 19, 2022
@a-wallen a-wallen force-pushed the macos_bringup_hello_compile branch 2 times, most recently from e175a32 to ce2c6fa Compare August 22, 2022 13:34
@a-wallen a-wallen changed the title [macOS] Bring Up "hello_world" {Release, Debug} Compile Tests for mac [macOS] Bring Up "hello_world" (Release, Debug) Compile Tests for mac Aug 22, 2022
@a-wallen a-wallen force-pushed the macos_bringup_hello_compile branch from ce2c6fa to c9a6eb2 Compare August 22, 2022 16:23
@a-wallen a-wallen marked this pull request as draft August 22, 2022 17:22
@a-wallen a-wallen force-pushed the macos_bringup_hello_compile branch 3 times, most recently from a81e0de to a2be933 Compare August 22, 2022 20:01
@a-wallen a-wallen marked this pull request as ready for review August 22, 2022 20:04
Copy link
Contributor

@yaakovschectman yaakovschectman left a comment

Choose a reason for hiding this comment

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

LGTM plus Chris' comment

@a-wallen a-wallen force-pushed the macos_bringup_hello_compile branch from a2be933 to a6c2e71 Compare August 22, 2022 20:25
@a-wallen a-wallen force-pushed the macos_bringup_hello_compile branch from a6c2e71 to 0cff6be Compare August 23, 2022 00:14
@a-wallen
Copy link
Contributor Author

a-wallen commented Aug 23, 2022

@a-wallen a-wallen force-pushed the macos_bringup_hello_compile branch from d79e2d5 to d70df45 Compare August 23, 2022 03:34
@a-wallen a-wallen changed the title [macOS] Bring Up "hello_world" (Release, Debug) Compile Tests for mac [macOS] Bring up "hello_world" devicelab, compilation test for x86 and arm64. Aug 23, 2022
@a-wallen a-wallen force-pushed the macos_bringup_hello_compile branch from d70df45 to 1d3b6a1 Compare August 23, 2022 16:39
@a-wallen a-wallen force-pushed the macos_bringup_hello_compile branch from 1d3b6a1 to 988e20b Compare August 23, 2022 18:26
@a-wallen a-wallen force-pushed the macos_bringup_hello_compile branch 3 times, most recently from 33692c6 to 7a54ddc Compare August 24, 2022 00:23
@a-wallen a-wallen force-pushed the macos_bringup_hello_compile branch from 7a54ddc to 5c1b21c Compare August 24, 2022 00:50
@a-wallen a-wallen requested a review from jmagman August 24, 2022 17:20
@a-wallen a-wallen dismissed jmagman’s stale review August 24, 2022 18:02

Resolved with a commit that was force pushed. Original review now marked as outdated.

@a-wallen a-wallen added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 24, 2022
@a-wallen a-wallen changed the title [macOS] Bring up "hello_world" devicelab, compilation test for x86 and arm64. [macOS] Bring up "hello_world" devicelab, compilation test for x86. Aug 24, 2022
@auto-submit auto-submit bot merged commit d71a8a7 into flutter:master Aug 24, 2022
Copy link
Member

@jmagman jmagman left a comment

Choose a reason for hiding this comment

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

I wasn't done reviewing this, can you make a new PR to follow up?

Comment on lines +1410 to +1411
appPath: appBundlePath,
operatingSystem: deviceOperatingSystem,
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
appPath: appBundlePath,
operatingSystem: deviceOperatingSystem,
appPath: appBundlePath,
operatingSystem: deviceOperatingSystem,

Comment on lines 1405 to 1407
// IPAs are created manually, https://flutter.dev/ios-release/
await exec('tar', <String>['-zcf', 'build/app.ipa', appPath]);
await exec('tar', <String>['-zcf', 'build/app.ipa', appBundlePath]);
releaseSizeInBytes = await file('$cwd/build/app.ipa').length();
Copy link
Member

Choose a reason for hiding this comment

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

This comment doesn't make sense, ipa isn't a thing on macOS. How about:

        // Validate changes in Dart snapshot format and data layout do not change compression size.
        await exec('tar', <String>['-zcf', 'build/app.tar.gz', appPath]);
        releaseSizeInBytes = await file('$cwd/build/app.tar.gz').length();

Copy link
Contributor Author

Choose a reason for hiding this comment

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

uh-oh sorry about that!

Copy link
Member

@cbracken cbracken left a comment

Choose a reason for hiding this comment

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

🎉

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 c: contributor-productivity Team-specific productivity, code health, technical debt.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[macOS] Bring up "hello_world" devicelab, compilation test for x86.

7 participants