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

Does project impact graph cover other files? #4

Open
elliot-nelson opened this issue Dec 20, 2023 · 1 comment
Open

Does project impact graph cover other files? #4

elliot-nelson opened this issue Dec 20, 2023 · 1 comment

Comments

@elliot-nelson
Copy link

One concern about the generated graph - in context of a feature like Merge Queue - is that it doesn't cover all the folders related to building.

For example, imagine two PRs A and B, A is adding a new method call to a deprecated function in Nodejs, but PR B is updating the .nvmrc file to a version of Node that doesn't have that function.

The point of Merge Queue is to ensure this bad combo of PRs doesn't merge at same time and break main, but that's impossible if the MQ decides the PRs can go in separate "lanes".

A similar common issue could occur with a project change and a conflicting change to a GitHub Actions build workflow.

perhaps this could be solved with a separate set of rules for files that can affect all PRs.

@octogonz
Copy link
Member

Right, so the static rules would go in one file, and the dynamic rules go in project-impact-graph.yaml, and somehow the Merge Queue must combine them. It's interesting to consider how these two definitions might interact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants