Comments (4)
A branch can be incompatible w/o introducing merge conflicts.
e.g.
person1 merges a change into master that changes a function definition from Foo() to Foo(string) in foo.go
person2 has a PR that adds bar.go that calls Foo() without the string argument.
If person2 does not have person1's change in their local branch, the PR check will pass and they will be able to merge their change.
from buildbuddy.
Summarizing my understanding here (for context) -- GitHub exposes a special ref refs/pull/:prNumber/merge
which points to what the state of the base branch would be after merging. The feature request here would be to run against that resolved ref as the commit SHA for the workflow, rather than the PR commit SHA.
Seems like a reasonable thing to do, although I'm not sure if it matches the users' expectations.
from buildbuddy.
The main purpose of the PR check is to make sure that a PR won't break master.
Not using the latest merge has two potential problems:
- master was broken but is now fixed but user can't merge until they sync their branch even if the breakage had nothing to do with their change
- if a change was merged into master that is incompatible with the PR it won't be detected by the PR check if the user has not pulled the incompatible change into their branch
(2) is the bigger problem
from buildbuddy.
One thing that mitigates (2) a bit is that GitHub doesn't let you merge a branch that's incompatible. I think it makes you resolve merge conflicts before you're able to merge, which means it'll run another CI check once you push up the merge resolution.
from buildbuddy.
Related Issues (20)
- [CLI] Queries break for some common attributes HOT 2
- [CLI] Several "too many files open" errors for some builds HOT 2
- Actions using ctx.actions.declare_directory() are never cached HOT 2
- Non-root user in buildbuddy-app-onprem HOT 3
- Build Invocation Data not Shareable Across Docker containers even when stored in S3 HOT 4
- Incorrect name and organization when logging in for the first time HOT 5
- Reclient/chromium build support? HOT 1
- BuildBuddy GitHub app: Passes --heap_dump_on_oom HOT 1
- BuildBuddy GitHub app: Container has a version of `ar` without `--output=` flag HOT 2
- `buildbuddy.yaml`: Set default --config HOT 4
- BuildBuddy GitHub app: Submodules HOT 5
- [CLI] `bb login` fails in `git-worktree` linked worktrees. HOT 2
- Show analysis phase errors explicitly HOT 2
- [CLI] bb specific commands don't work when using `.bazelversion` HOT 5
- Feature Request: Show execution log in artifacts tab HOT 3
- Unreadable test result HOT 9
- [CLI] `Gathering metadata for bazel version...` breaks with some `tools/bazel` wrappers HOT 5
- [CLI] `bb login` should be a no-op if the user already has a valid API key HOT 4
- [CLI] `bb login` should say it's going to open a webpage before doing so HOT 2
- [CLI]: bb plugin hardlink does not work in devcontainer's volume HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buildbuddy.