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
flutter/packages needs a LUCI solution for check overrides #130076
Comments
Issue is assigned to multiple teams (infra, ecosystem). Please ensure the issue has only one |
I'm checking on this, but I don't think we have a way of passing information from the PR to the builds. Would the characteristics of this requirement be satisfied by having a value set in the .ci.yaml file? |
I'm not following; how would we override a check for one specific PR with .ci.yaml? |
This is now the last dependency on Cirrus in flutter/packages. |
Bug:flutter/flutter#130076 *Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.* *List which issues are fixed by this PR. You must list at least one issue.* *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
@stuartmorgan change is in to propagate the labels to build properties, which you can use in your recipes. |
We just have the one recipe; could you update it to transfer that property to an environment variable? That would let us directly migrate the existing task. |
Yes, I'll do that |
Change submitted. closing. |
This does not appear to be working. I made a test PR, verified that it failed as expected, then added an override label and re-ran the test. On the re-run, there environment variable is empty: |
I think my change hasn't been pushed to prod yet, so its not appearing. tracking down the deployment. |
Looks like flutter/cocoon#3032 blocking deployment of changes. |
Thanks for tracking that down; I saw the variable being there and assumed that things had propagated, and didn't consider that just the recipe part could have. Let me know when it's good to re-test! |
Adds a LUCI version of the version presubmit check, using the new label passthrough functionality, and removes it from Cirrus. Since that was the last Cirrus task, this removes the entire Cirrus config, and the associated Dockerfile. Part of flutter/flutter#130076
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
version-check
command in the flutter/packages CI is set up to, in presubmit, look for likely-missing version changes, as well as for major version changes to platform interface packages (since we almost never actually want to do those). Because it can have false positives, we need a way to override it when it's wrong—the idea is that this is something that we frequently forget (missing versions) or someone might not realize is a big deal (major version bumps to platform interfaces), so we want something that requires a human to explicitly say "yes, we looked at this, and we deliberately chose not to do what we are doing, rather than forgetting or not realizing".How can we handle this in LUCI tests?
(The way it works with the Cirrus config is that one of the special env variables Cirrus passes to all runs is
CIRRUS_PR_LABELS
, which has the current set of GitHub labels on the PR, and so we set a label to indicate that we want to override, re-run that check, and the tooling knows to then not fail. We don't need it to be that specific flow, but we need some solution.)The text was updated successfully, but these errors were encountered: