Skip to content

Add smoke tests to test every commit on a Catalina host.#38567

Merged
digiter merged 2 commits intoflutter:masterfrom
digiter:catalina-smoke
Aug 14, 2019
Merged

Add smoke tests to test every commit on a Catalina host.#38567
digiter merged 2 commits intoflutter:masterfrom
digiter:catalina-smoke

Conversation

@digiter
Copy link
Contributor

@digiter digiter commented Aug 14, 2019

Description

After this PR, every commit will trigger smoke tests on a machine running macOS Catalina. So that we could get a signal of our Catalina support.

Related Issues

Tests

I added the following tests:

  • Smoke tests.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I updated/added relevant documentation (doc comments with ///).
  • All existing and new tests are passing.
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require Flutter developers to manually update their apps to accommodate your change?

  • Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
  • No, this is not a breaking change.

@fluttergithubbot
Copy link
Contributor

It looks like this pull request may not have tests. Please make sure to add tests before merging. While there are exceptions to this rule, if this patch modifies code it is probably not an exception.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@fluttergithubbot fluttergithubbot added the c: contributor-productivity Team-specific productivity, code health, technical debt. label Aug 14, 2019
Copy link
Contributor

@christopherfujino christopherfujino left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -0,0 +1,16 @@
// Copyright 2016 The Chromium Authors. All rights reserved.
Copy link
Member

Choose a reason for hiding this comment

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

2019

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

Copy link
Contributor

@tvolkert tvolkert left a comment

Choose a reason for hiding this comment

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

LGTM. We'll probably also want a basic hot reload test as well as a build/startup test in profile mode.

flaky: true

smoke_catalina_start_up:
description: >
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be marked as flaky

Copy link
Contributor

Choose a reason for hiding this comment

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

How come?

Copy link
Contributor

Choose a reason for hiding this comment

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

Every new test/host should be marked as flaky for a duration of time to avoid infra setup issues from effectively closing the tree

Copy link
Contributor

Choose a reason for hiding this comment

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

sgtm. Is that documented anywhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@digiter digiter changed the title Add a smoke test to test every commit on a Catalina host. Add smoke tests to test every commit on a Catalina host. Aug 14, 2019
flaky: true
required_agent_capabilities: ["mac-catalina/ios"]

smoke_catalina_hot_mode_dev_cycle__benchmark:
Copy link
Contributor

Choose a reason for hiding this comment

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

This isn't a benchmark


smoke_catalina_hot_mode_dev_cycle__benchmark:
description: >
A some test that runs on macOS Catalina, which is a clone of the Dart VM hot patching performance benchmarking.
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, hmm.. will this automatically spawn a new benchmark series? That's ok, I guess.

Copy link
Contributor

@tvolkert tvolkert left a comment

Choose a reason for hiding this comment

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

LGTM

@digiter digiter merged commit 0667383 into flutter:master Aug 14, 2019
@digiter digiter deleted the catalina-smoke branch August 14, 2019 22:09
@tvolkert
Copy link
Contributor

This added new benchmarks, which now need to be baselined.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

c: contributor-productivity Team-specific productivity, code health, technical debt.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants