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

Github action labeller keeps removing labels #128440

Open
Piinks opened this issue Jun 7, 2023 · 13 comments
Open

Github action labeller keeps removing labels #128440

Piinks opened this issue Jun 7, 2023 · 13 comments
Labels
P2 Important issues not at the top of the work list team Infra upgrades, team productivity, code health, technical debt. See also team: labels. team-infra Owned by Infrastructure team triaged-infra Triaged by Infrastructure team

Comments

@Piinks
Copy link
Contributor

Piinks commented Jun 7, 2023

Related to #126002

The new github action that manages labels in flutter/flutter keeps removing labels applied by team members.
Example - the docs labels were removed from this PR:

#127904

Screenshot 2023-06-07 at 10 32 10 AM

@Piinks Piinks added team Infra upgrades, team productivity, code health, technical debt. See also team: labels. team-infra Owned by Infrastructure team labels Jun 7, 2023
@Piinks
Copy link
Contributor Author

Piinks commented Jun 7, 2023

cc @CaseyHillers

@CaseyHillers CaseyHillers self-assigned this Jun 7, 2023
@CaseyHillers
Copy link
Contributor

By default, https://github.com/actions/labeler#inputs indicates this shouldn't happen. I'm debugging the action to see why it would remove those labels.

auto-submit bot pushed a commit that referenced this issue Jun 8, 2023
#128440

The current version of the action has a bug where the sync-labels default value is not read correctly. Explicitly setting to see if that stops the removals.
@Piinks
Copy link
Contributor Author

Piinks commented Jun 13, 2023

Just saw this still happening on #128756

Screenshot 2023-06-13 at 11 46 53 AM

@Piinks
Copy link
Contributor Author

Piinks commented Jun 23, 2023

Noticed again in #129433

Screenshot 2023-06-23 at 10 49 29 AM

@CaseyHillers
Copy link
Contributor

\cc @christopherfujino

I thought this would get auto-resolved as it had a fix in the upstream, but it looks like it was reverted in actions/labeler#564.

It was pushed to v5.0.0-beta.1 branch, but that branch had some runtime issues that required us to revert.

@christopherfujino
Copy link
Member

@CaseyHillers overall has it been worth the instability and lack of control to migrate from handling GitHub webhooks in cocoon to using the labeler action? Where there other constraints motivated the migration?

@CaseyHillers
Copy link
Contributor

@CaseyHillers overall has it been worth the instability and lack of control to migrate from handling GitHub webhooks in cocoon to using the labeler action? Where there other constraints motivated the migration?

Generally, as long as this is off the core cocoon service, infra is happy. I took this as an opportunity to experiment with GitHub actions and see if other infra logic could benefit. And the tl;dr is I don't think we should move forward with GitHub actions (lack of presubmit testing being the largest factor).

As for the labeler action, I'm curious if #130642 fixes the issue with labels being removed. If there's other issues, please let me know. AFAIK that's the only issue.

LouiseHsu pushed a commit to LouiseHsu/flutter that referenced this issue Jul 31, 2023
@CaseyHillers
Copy link
Contributor

I skimmed framework PRs for the last week and can't seem to any instances where this is happening. @Piinks is this still reproducing for you?

@CaseyHillers CaseyHillers added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Aug 25, 2023
@CaseyHillers CaseyHillers assigned Piinks and unassigned CaseyHillers Aug 25, 2023
@Piinks
Copy link
Contributor Author

Piinks commented Aug 25, 2023

I have not seen it happen, thank you @CaseyHillers! Closing as fixed. 😀

@Piinks Piinks closed this as completed Aug 25, 2023
@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Aug 25, 2023
@github-actions
Copy link

github-actions bot commented Sep 8, 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 8, 2023
@Piinks
Copy link
Contributor Author

Piinks commented Feb 22, 2024

Re-opening because I saw this today on #143979

Not critical, but it is kind of amusing. :)

image

@Piinks Piinks reopened this Feb 22, 2024
@CaseyHillers
Copy link
Contributor

As a retrospective, we should add back the Dart code. However, update it to read the .github/labeler.yml file for the rules.

@flutter-triage-bot flutter-triage-bot bot unlocked this conversation Feb 24, 2024
@Piinks Piinks removed their assignment Mar 7, 2024
@keyonghan
Copy link
Contributor

Let's keep monitoring a bit.

@keyonghan keyonghan added P2 Important issues not at the top of the work list triaged-infra Triaged by Infrastructure team labels Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Important issues not at the top of the work list team Infra upgrades, team productivity, code health, technical debt. See also team: labels. team-infra Owned by Infrastructure team triaged-infra Triaged by Infrastructure team
Projects
None yet
Development

No branches or pull requests

4 participants