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

Refresh feature branch with trunk (due to unit test failures fixed) #882

Merged
merged 14 commits into from
Nov 14, 2023

Conversation

felixarntz
Copy link
Member

Summary

Mostly relevant because of the fix in #881 that was merged into trunk.

Checklist

  • PR has either [Focus] or Infrastructure label.
  • PR has a [Type] label.
  • PR has a milestone or the no milestone label.

@felixarntz felixarntz added [Type] Enhancement A suggestion for improvement of an existing feature Infrastructure Issues for the overall performance plugin infrastructure no milestone PRs that do not have a defined milestone for release labels Nov 14, 2023
Copy link
Member

@swissspidy swissspidy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just push directly? Creating a PR for that is rather unusual.

@westonruter
Copy link
Member

Why not just push directly? Creating a PR for that is rather unusual.

I was just going to raise this point. Currently branch protections are blocking any direct pushes to feature branches. This adds too much friction, IMO. I think feature branch pushes should be allowed.

@felixarntz
Copy link
Member Author

@swissspidy It's not possible because of branch protections, see Weston's comment.

@westonruter I agree it's not ideal, let's discuss how we can improve it without giving up branch protection completely. In the meantime, we can probably still merge this?

@swissspidy
Copy link
Member

I agree it's not ideal, let's discuss how we can improve it without giving up branch protection completely

Well you can specify which branches should be protected with glob patterns. Only trunk and release/* really need to be protected.

@felixarntz
Copy link
Member Author

@swissspidy It's not that simple. Sure, we could do that, but branch protection is also to prevent accidental deletion, e.g. relevant for the configuration for automatically deleting PR branches.

If this branch protection of feature branches leads to more headaches than it helps, we can consider getting rid of it, but that does not only come with benefits - otherwise we would have never enabled it in the first place.

@westonruter
Copy link
Member

Branch protection can be enabled to prevent deletion without also blocking pushes.

@felixarntz felixarntz merged commit dccc588 into feature/creating-standalone-plugins Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure Issues for the overall performance plugin infrastructure no milestone PRs that do not have a defined milestone for release [Type] Enhancement A suggestion for improvement of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants