-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
[engine] Linux Fuchsia and Linux Fuchsia FEMU don't have runif logic #93261
Comments
\cc @chandarrengoog |
I started drafting a runIf block for Fuchsia and it looks like this: - .ci.yaml
- BUILD.gn
- DEPS
- assets/**
- benchmarking/**
- build/**
- ci/**
- common/**
- flow/**
- flutter_frontend_server/**
- fml/**
- lib/**
- runtime/**
- shell/common/**
- shell/gpu/**
- shell/platform/BUILD.gn
- shell/Platform/config.gni
- shell/platform/common/**
- shell/platform/fuchsia/**
- shell/platform/embedder/**
- testing/**
- version/**
- vmservice/**
- sky/**
- third_party/tonic/**
- third_party/txt/**
- tools/const_finder/**
- tools/font-subset/**
- tools/fuchsia/** Which seems kind of brittle and scary to me. It's basically saying don't run if you changed files that are only under Ideally we'd be using something like |
CC: @arbreng maybe you would have a better idea? |
This seems like a pretty good way to free up some CI resources, nice catch :) |
I like this suggestion: "Ideally we'd be using something like gn analyze to figure out whether the git ls-files changed anything that's part of the target(s) we plan to build, and ideally before scheduling the bot." The fuchsia embedder uses all of the engine, just like the other embedders do. So, this " It's basically saying don't run if you changed files that are only under shell/platform/(darwin|android|linux|windows|glfw)." is the correct pattern. Darwin would have " It's basically saying don't run if you changed files that are only under shell/platform/(android|fuchsia|linux|windows|glfw)." and the same goes for the other embedders. |
Closing because the bug has not been updated for more than one year. Feel free to reopen any bugs that you believe are important but please provide updates on how to resource the fix of the bug and what can be done to prevent the issue from not getting updates for another year. |
This is still a valid issue. Reopening. |
Removing infra-team as it lacks the context to define the right filters and filtering is already supported in the .ci.yaml file. |
@godofredoc - based on my question in #93261 (comment), does ci.yaml support some way of saying "run if not"? The problem for this target is that it should not be run if the changes are exclusive to a few directories. If we craft a regular "run-if" it will regress over time when someone adds a new directory. |
The filtering logic runs server side and is limited to use the pull request data returned by github. Not sure I understand how the "run if not" will be used, @dnfield can you please provide an example to see if it can be calculated from the data available to backend? |
Right now we can say: "Run if any files have changed in the following directories." I want to be able to say: "Run if there are any changes to files not in the following directories" |
This is required to filter fuchsia changes in presubmit. Bug: flutter/flutter#93261
This is required to filter fuchsia changes in presubmit. Bug: flutter/flutter#93261
@dnfield run_if_not has been implemented moving this bug back to you for the final filters. |
@matanlurey @johnmccutchan This is relevant to our conversation the other day. |
I'm happy to take this issue. |
…s. (#45134) Closes flutter/flutter#93261. I probably could have been more clever with a regular-expression but this seems easier to read. --------- Co-authored-by: godofredoc <godofredoc@google.com>
Thanks, Matan! |
…s. (flutter#45134) Closes flutter/flutter#93261. I probably could have been more clever with a regular-expression but this seems easier to read. --------- Co-authored-by: godofredoc <godofredoc@google.com>
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 |
https://github.com/flutter/engine/blob/master/.ci.yaml#L160-L176
This causes these builds to always be run on presubmit, even if the change was just a markdown.
See flutter/engine#29566 where these were run on a darwin only change.
Adding some paths in the runif for where Fuchsia code is would help prevent unnecessary testing
The text was updated successfully, but these errors were encountered: