-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
Infra support to run a "mock" release of the engine with golden file verification #146078
Comments
One thing we can try is pick an
IIUC, the gold tests will auto run in the branch (It is only skipped for the official |
https://github.com/flutter/engine/tree/flutter-3.18-candidate.18 is the branch Xilai and I were using, you can use it also. There will not be a future release from that branch. |
If the code you need is on that branch... |
It is not (very recent PRs). |
@matanlurey if you share the earliest commit that will qualify, I can find you an unused branch. |
flutter/engine#51739 ( |
Ahh ok, that's too fresh for Keyong's approach (that's newer than any of our existing beta releases, so we can't confirm any of the roll branches won't be published). You could open a PR and run presubmits, but I'm guessing you want to test postsubmit too? |
Right, I need to land and then open up cherry-picks against it, etc, similar to a real release branch. |
I believe your options then are to wait for the next beta release, and then pick a release candidate branch older than that; or
Then you should be ready to test your workflow. You should get verification from one of @godofredoc, @XilaiZhang, or @Jasguerrero that this is still how this works :) |
I don't mind doing those steps. It's also 4:45 and I won't do them today anyway. /cc @gaaclarke maybe we can chat for 5m tomorrow and get your take. |
Temporarily assigning to myself |
@XilaiZhang and I are going to pair on this together next week. Edit: @gaaclarke will take the lead on this, I have a lot on my plate :) |
Notes:
|
The process seemed to work correctly up until the skia gold bot. Goldens were generated with the proper name addition. The bot didn't seem to pick up the new images though: flutter/engine#52005 (comment) I'm not sure what the proper course of action at this point and need to mind meld with @matanlurey and @zanderso when they are both around. |
Looks like we need a change in cocoon. This logic appears to be skipping the skia gold bot reporting a diff. I'm not sure if manually going in and accepting those goldens would be fine. We probably don't want to do that as part of the process though since it would be easy to forget and mess up. cc @matanlurey |
issue: flutter/flutter#146078 This starts running skia gold bot checks on release branches for the engine. This works for the engine because our infrastructure forks all gold tests when a release branch is created. See also: - https://github.com/flutter/engine/tree/main/testing/skia_gold_client#release-testing
Everything has been verified to work in flutter/engine#52005 The skia gold bot is running on engine release branches and the produced golden tests have the release name appended to them. |
I'm going to mark this as closed. I'm convinced we are good. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
The mock test executed correctly, but on the next release the PR that sets the release name did not seem to reap the golden results like what happened in the mock test: flutter/engine#53148 As a result the golden tests were removed from that release in flutter/engine#53163. We should run the mock release again to see if the recipes have regressed or to try to identify an x-factor between the test setup and release setup. @christopherfujino has more context for this decision here: flutter/engine#53163 (comment) |
@gaaclarke I am going to assume you're taking the lead on this, but let me know if you'd like to pair/chat it out. |
I double checked the cocoon code to make sure the logic for running skia gold was still intact. It is.
It seems like the conditions that made the mock test pass in the past are not the same conditions we see in real releases. I don't think running another mock release will be helpful until that is addressed. And maybe not helpful at all considering what we are seeing. We should track down the log statement that reads |
I looked through the code a bit and I believe we are running into an x-factor between the environment where the mock release can be run and the actual releases. I don't think doing another mock release will help. I've filed a new bug that outlines what I know of the issue: #149670 |
Type of Request
infra task
Infrastructure Environment
LUCI + Cocoon? Not 100% sure.
What is happening?
In #144835, @gaaclarke and I plan to run a "mock" release of
flutter/engine
, for the first time with golden-file tests enabled, and test out our proposed workflow.Steps to reproduce
N/A
Expected results
I think I need infra support:
GOLDCTL
for this branch (it's disabled today IIRC)/cc @zanderso
The text was updated successfully, but these errors were encountered: