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

Prow issue: Bad invalid commit message for npm dependencies #28257

Closed
brendandburns opened this issue Dec 15, 2022 · 12 comments
Closed

Prow issue: Bad invalid commit message for npm dependencies #28257

brendandburns opened this issue Dec 15, 2022 · 12 comments
Labels
area/prow Issues or PRs related to prow help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience. sig/testing Categorizes an issue or PR as relevant to SIG Testing.

Comments

@brendandburns
Copy link
Contributor

brendandburns commented Dec 15, 2022

I got this error message on:
kubernetes-client/javascript#924

[Keywords](https://help.github.com/articles/closing-issues-using-keywords) which can automatically close issues and at(@) or hashtag(#) mentions are not allowed in commit messages.

But in npm libraries, the @ character is used to indicate an organization, even the default kubernetes client uses it @kubernetes/client-node

@k8s-ci-robot k8s-ci-robot added the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Dec 15, 2022
@brendandburns
Copy link
Contributor Author

/sig testing

@k8s-ci-robot k8s-ci-robot added sig/testing Categorizes an issue or PR as relevant to SIG Testing. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Dec 15, 2022
@brendandburns brendandburns changed the title Prow issue: Bad invalid commit message for npm depdencies Prow issue: Bad invalid commit message for npm dependencies Dec 15, 2022
@brendandburns
Copy link
Contributor Author

Also, there's no way to disable this from re-applying repeatedly very annoying.

See: kubernetes-client/javascript#926

@brendandburns
Copy link
Contributor Author

Another PR with the same issue kubernetes-client/javascript#932

@BenTheElder
Copy link
Member

@kubernetes/client-node could be a valid reference to a GitHub team like @kubernetes/sig-testing, which we do not want to let in a merged commit, because they will be pinged every time that commit is merged even in forks which is something you cannot disable in GitHub :/

The bot also blocks fixes #1234 because of similar behavior (closing the issue) that happens even in people's forks.

Previously: #21534, we asked GitHub if we could alter this comment

@BenTheElder
Copy link
Member

/sig contributor-experience
(I think changing this behavior would count as a variant on #28021)

@k8s-ci-robot k8s-ci-robot added the sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience. label Dec 16, 2022
@mrbobbytables
Copy link
Member

+1 to Ben's comment. I don't think this is something we want to change globally at least.
We have provided feedback to GitHub about this in the past, but others see it as a positive thing =/

I could potentially see a repo+user exception, but i'd defer to sig-testing and the prow folk on it.

@brendandburns
Copy link
Contributor Author

How about a per-user exception? All of the PRs in question are sent by @dependabot which is unlikely to include any other users in it's comments.

@brendandburns
Copy link
Contributor Author

brendandburns commented Jan 20, 2023

This continues to be a problem for the Javascript client as @ syntax is quite prevalent in Javascript library names.

Even just the ability to manually disable it on a per-pr basis would be useful.

@BenTheElder
Copy link
Member

Sorry about that, I agree we should add a user-exception for depdenabot.

There's been some churn and I'm not sure who's most active on Prow at the moment, but if current owners agree I think we can file a help-wanted to add this and someone will pick it up. cc @chaodaiG @ColeW @listx

@listx
Copy link
Contributor

listx commented Feb 4, 2023

@cjwagner not colew

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 5, 2023
@BenTheElder BenTheElder added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. area/prow Issues or PRs related to prow and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels May 11, 2023
@MadhavJivrajani
Copy link
Contributor

Migrated issue: kubernetes-sigs/prow#193

@MadhavJivrajani MadhavJivrajani closed this as not planned Won't fix, can't repro, duplicate, stale Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/prow Issues or PRs related to prow help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience. sig/testing Categorizes an issue or PR as relevant to SIG Testing.
Projects
None yet
Development

No branches or pull requests

7 participants