Skip to content
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

Codecov should only report on PRs with packages/flutter changes #113625

Closed
jmagman opened this issue Oct 18, 2022 · 12 comments
Closed

Codecov should only report on PRs with packages/flutter changes #113625

jmagman opened this issue Oct 18, 2022 · 12 comments
Labels
team-infra Owned by Infrastructure team

Comments

@jmagman
Copy link
Member

jmagman commented Oct 18, 2022

The script is only measuring packages/flutter test coverage, but that report is commenting on PRs with no changes to packages/flutter

run: pushd packages/flutter;../../bin/flutter test --coverage -j 1;popd

For example, my packages/flutter_tools PR reported there was no coverage change. #113585 (comment)

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-including-paths

@jmagman jmagman added the team-infra Owned by Infrastructure team label Oct 18, 2022
@jmagman
Copy link
Member Author

jmagman commented Oct 18, 2022

cc @godofredoc

@godofredoc
Copy link
Contributor

Not sure why your PR got comments from codecov. The workflow is running on post-submit and not supposed to comment on PRs

@christopherfujino
Copy link
Member

I'm thinking this might be leftover config from when we enabled this for tool PRs.

@jmagman
Copy link
Member Author

jmagman commented Oct 18, 2022

Hmm, not sure either, push/branches looks correct from the documentation...

Created #113627 so it doesn't run on non-packages/flutter commits, even on post-submit.

@jmagman
Copy link
Member Author

jmagman commented Oct 18, 2022

I'm thinking this might be leftover config from when we enabled this for tool PRs.

You mean I hit something transient with that PR and it's now resolved? If so we can close this and my PR and reopen if we see it again.

@godofredoc
Copy link
Contributor

I would expect that, but I like that we are limiting the workflow to changes in the packages directory, it is currently very expensive to run on every commit (~90m).

@godofredoc
Copy link
Contributor

Can we close this bug?

@jmagman
Copy link
Member Author

jmagman commented Oct 20, 2022

SGTM, will reopen if I spot this again.

@jmagman jmagman closed this as completed Oct 20, 2022
@github-actions
Copy link

github-actions bot commented Nov 3, 2022

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 flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 3, 2022
@jmagman
Copy link
Member Author

jmagman commented Nov 29, 2022

Hm I hit this again #114558 (comment)

@jmagman jmagman reopened this Nov 29, 2022
@flutter flutter unlocked this conversation Nov 29, 2022
@jmagman jmagman removed their assignment Apr 21, 2023
@godofredoc
Copy link
Contributor

Closing as non reproducible. Please reopen if you see this again.

@github-actions
Copy link

github-actions bot commented Sep 5, 2023

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 flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
team-infra Owned by Infrastructure team
Projects
None yet
Development

No branches or pull requests

4 participants