Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[docs] Add missing steps to Testing Presubmit Engine PRs #54593

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

cbracken
Copy link
Member

Most framework tests perform a flutter precache or rely on the web SDK in some form. The Web SDK is not build in presubmit by default. As such, developers will need to manually comment out the runIf conditional block that prevents the web SDK from being built during presubmit, then later hope they uncomment it before landing their patch.

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 and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

3. Create and upload a flutter/flutter PR, (OR run tests locally).
4. Wait for flutter/flutter presubmits/tests to run ☕.

Step (1) is the usual flutter/engine workflow.
Copy link
Member Author

@cbracken cbracken Aug 16, 2024

Choose a reason for hiding this comment

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

Deleted the implication that there's anything usual about this workflow, but also there's a new (1) in town.

@cbracken cbracken requested a review from jmagman August 16, 2024 22:22
@cbracken cbracken added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 16, 2024
Most framework tests perform a `flutter precache` or rely on the web SDK
in some form. The Web SDK is not build in presubmit by default. As such,
developers will need to manually comment out the `runIf` conditional
block that prevents the web SDK from being built during presubmit, then
later hope they uncomment it before landing their patch.

## 2. Wait

Contemplate the nature of the universe or why it is that this workflow was necessary for your situation. Could tests have been added to the engine? If not, get youself some coffee and a cookie. You'll need them.
Copy link
Member

Choose a reason for hiding this comment

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

❤️

Copy link
Member Author

Choose a reason for hiding this comment

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

Perhaps a jar to keep the tears you will shed during this 3h process. 😂

2. Determine the commit hash for your flutter/engine PR.
3. Create and upload a flutter/flutter PR, (OR run tests locally).
4. Wait for flutter/flutter presubmits/tests to run ☕.
1. Enable the web SDK presubmits.
Copy link
Member

Choose a reason for hiding this comment

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

Does test: all work in the engine repo?

Copy link
Member Author

Choose a reason for hiding this comment

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

What is test: all?

@auto-submit auto-submit bot merged commit 03543b2 into flutter:main Aug 16, 2024
24 checks passed
@cbracken cbracken deleted the fix-docs branch August 16, 2024 23:39
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Aug 17, 2024
…153618)

flutter/engine@c94651c...c9fb479

2024-08-17 [email protected] Roll Fuchsia Linux SDK from Z5hq3ZkPNCpZWRQnl... to a3zdjZKduabZSBN0B... (flutter/engine#54596)
2024-08-17 [email protected] Roll Skia from 219bd1032761 to 570b18e1afda (1 revision) (flutter/engine#54595)
2024-08-17 [email protected] macOS: Extract framework creation to sky_utils (flutter/engine#54586)
2024-08-16 [email protected] Roll Skia from fc8769175d35 to 219bd1032761 (4 revisions) (flutter/engine#54592)
2024-08-16 [email protected] [docs] Add missing steps to Testing Presubmit Engine PRs (flutter/engine#54593)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from Z5hq3ZkPNCpZ to a3zdjZKduabZ

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
auto-submit bot added a commit to flutter/flutter that referenced this pull request Aug 17, 2024
…isions) (#153618)" (#153627)

Reverts: #153618
Initiated by: zanderso
Reason for reverting: The tree is red.
Original PR Author: engine-flutter-autoroll

Reviewed By: {fluttergithubbot}

This change reverts the following previous change:

flutter/engine@c94651c...c9fb479

2024-08-17 [email protected] Roll Fuchsia Linux SDK from Z5hq3ZkPNCpZWRQnl... to a3zdjZKduabZSBN0B... (flutter/engine#54596)
2024-08-17 [email protected] Roll Skia from 219bd1032761 to 570b18e1afda (1 revision) (flutter/engine#54595)
2024-08-17 [email protected] macOS: Extract framework creation to sky_utils (flutter/engine#54586)
2024-08-16 [email protected] Roll Skia from fc8769175d35 to 219bd1032761 (4 revisions) (flutter/engine#54592)
2024-08-16 [email protected] [docs] Add missing steps to Testing Presubmit Engine PRs (flutter/engine#54593)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from Z5hq3ZkPNCpZ to a3zdjZKduabZ

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Aug 18, 2024
…ions) (#153659)

Manual roll requested by [email protected]

flutter/engine@c94651c...d0d7de5

2024-08-18 [email protected] Roll Skia from ac7149e315ec to 7025ec4bff25 (1 revision) (flutter/engine#54605)
2024-08-18 [email protected] Roll Fuchsia Linux SDK from a3zdjZKduabZSBN0B... to yKkNB9F8Hwnjq2AMW... (flutter/engine#54602)
2024-08-17 [email protected] Roll Skia from 570b18e1afda to ac7149e315ec (1 revision) (flutter/engine#54600)
2024-08-17 [email protected] Shift linux_fuchsia_tests from staging to prod (flutter/engine#54597)
2024-08-17 [email protected] Roll Fuchsia Linux SDK from Z5hq3ZkPNCpZWRQnl... to a3zdjZKduabZSBN0B... (flutter/engine#54596)
2024-08-17 [email protected] Roll Skia from 219bd1032761 to 570b18e1afda (1 revision) (flutter/engine#54595)
2024-08-17 [email protected] macOS: Extract framework creation to sky_utils (flutter/engine#54586)
2024-08-16 [email protected] Roll Skia from fc8769175d35 to 219bd1032761 (4 revisions) (flutter/engine#54592)
2024-08-16 [email protected] [docs] Add missing steps to Testing Presubmit Engine PRs (flutter/engine#54593)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from Z5hq3ZkPNCpZ to yKkNB9F8Hwnj

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Buchimi pushed a commit to Buchimi/flutter that referenced this pull request Sep 2, 2024
…lutter#153618)

flutter/engine@c94651c...c9fb479

2024-08-17 [email protected] Roll Fuchsia Linux SDK from Z5hq3ZkPNCpZWRQnl... to a3zdjZKduabZSBN0B... (flutter/engine#54596)
2024-08-17 [email protected] Roll Skia from 219bd1032761 to 570b18e1afda (1 revision) (flutter/engine#54595)
2024-08-17 [email protected] macOS: Extract framework creation to sky_utils (flutter/engine#54586)
2024-08-16 [email protected] Roll Skia from fc8769175d35 to 219bd1032761 (4 revisions) (flutter/engine#54592)
2024-08-16 [email protected] [docs] Add missing steps to Testing Presubmit Engine PRs (flutter/engine#54593)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from Z5hq3ZkPNCpZ to a3zdjZKduabZ

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Buchimi pushed a commit to Buchimi/flutter that referenced this pull request Sep 2, 2024
…isions) (flutter#153618)" (flutter#153627)

Reverts: flutter#153618
Initiated by: zanderso
Reason for reverting: The tree is red.
Original PR Author: engine-flutter-autoroll

Reviewed By: {fluttergithubbot}

This change reverts the following previous change:

flutter/engine@c94651c...c9fb479

2024-08-17 [email protected] Roll Fuchsia Linux SDK from Z5hq3ZkPNCpZWRQnl... to a3zdjZKduabZSBN0B... (flutter/engine#54596)
2024-08-17 [email protected] Roll Skia from 219bd1032761 to 570b18e1afda (1 revision) (flutter/engine#54595)
2024-08-17 [email protected] macOS: Extract framework creation to sky_utils (flutter/engine#54586)
2024-08-16 [email protected] Roll Skia from fc8769175d35 to 219bd1032761 (4 revisions) (flutter/engine#54592)
2024-08-16 [email protected] [docs] Add missing steps to Testing Presubmit Engine PRs (flutter/engine#54593)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from Z5hq3ZkPNCpZ to a3zdjZKduabZ

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Buchimi pushed a commit to Buchimi/flutter that referenced this pull request Sep 2, 2024
…ions) (flutter#153659)

Manual roll requested by [email protected]

flutter/engine@c94651c...d0d7de5

2024-08-18 [email protected] Roll Skia from ac7149e315ec to 7025ec4bff25 (1 revision) (flutter/engine#54605)
2024-08-18 [email protected] Roll Fuchsia Linux SDK from a3zdjZKduabZSBN0B... to yKkNB9F8Hwnjq2AMW... (flutter/engine#54602)
2024-08-17 [email protected] Roll Skia from 570b18e1afda to ac7149e315ec (1 revision) (flutter/engine#54600)
2024-08-17 [email protected] Shift linux_fuchsia_tests from staging to prod (flutter/engine#54597)
2024-08-17 [email protected] Roll Fuchsia Linux SDK from Z5hq3ZkPNCpZWRQnl... to a3zdjZKduabZSBN0B... (flutter/engine#54596)
2024-08-17 [email protected] Roll Skia from 219bd1032761 to 570b18e1afda (1 revision) (flutter/engine#54595)
2024-08-17 [email protected] macOS: Extract framework creation to sky_utils (flutter/engine#54586)
2024-08-16 [email protected] Roll Skia from fc8769175d35 to 219bd1032761 (4 revisions) (flutter/engine#54592)
2024-08-16 [email protected] [docs] Add missing steps to Testing Presubmit Engine PRs (flutter/engine#54593)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from Z5hq3ZkPNCpZ to yKkNB9F8Hwnj

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants