-
Notifications
You must be signed in to change notification settings - Fork 100
Update CI_YAML.MD regarding taget updates #2519
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
Conversation
| ``` | ||
| - Send PR, wait for the checks to go green (**the change takes effect on presubmit**) | ||
| 3. If the check is red, add patches to get it green | ||
| 4. Once the PR has landed, infrastructure may take 1 or 2 commits to apply the latest properties |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused; it takes effect immediately for presubmit, but not for postsubmit? So property changes still can't be landed in the same PR as changes that require them (like removing bring up)?
Or is this not the case for properties?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. Properties should take effect immediately for both presubmit and postsubmit. Now we are on cocoon scheduling, which fetches latest properties and use them to schedule builds. Updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So item 4 here should be removed, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We still need it. The properties will be seen by the current PR/commit immediately, but there are cases where we need to wait, such incoming PRs/commits, which haven't rebased on top of that changing PR, and local LED runs.
Expanded a bit. Please let me know if this makes sense to you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another case is caches. While dependencies can be upgraded, there may be some slow downs on the initial roll out due to cache invalidation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added one more item to cover.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I don't understand why something that hasn't rebased would need to "wait 1 or 2 commits" rather than having to rebase, but I'll assume that's me not understanding the infrastructure.
Suppose we have a property change PR (pr1) and an incoming PR (pr2): Yeah, this is some backend infra logics:-) |
Wait, so does the infra behavior distinguish between "the state of .ci.yaml in the PR" and "the changes to .ci.yaml in the PR". I.e., looking at deltas in the PR specifically? |
That's correct. If no changes in |
Following flutter/flutter#120912 (comment) to make doc clear.