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

fix: stop targeting all packages with --since if no changes #637

Merged
merged 10 commits into from
Feb 9, 2022

Conversation

stevejcox
Copy link
Contributor

@stevejcox stevejcox commented Jan 29, 2022

Current Behavior

If no changes are made to any package, --since will target all packages.

Expected Behavior

If no changes are made to any package, running --since should target no packages.

To Reproduce

Branch off of main and attempt a build with turbo run build --since=main.

Implementation Detail

This PR removes the loop which populates all packages if git diff turns up empty.

@jaredpalmer - let me know if this is currently intended behavior, it's unclear what the original intent of this loop was.

@stevejcox stevejcox changed the title fix: stop all packages in --since if not changes fix: stop all packages in --since if no changes Jan 29, 2022
@stevejcox stevejcox changed the title fix: stop all packages in --since if no changes fix: stop targeting all packages with--since if no changes Jan 29, 2022
@stevejcox stevejcox changed the title fix: stop targeting all packages with--since if no changes fix: stop targeting all packages with --since if no changes Jan 29, 2022
@vercel
Copy link

vercel bot commented Jan 29, 2022

Deployment failed with the following error:

Creating the Deployment Timed Out.

@vercel
Copy link

vercel bot commented Jan 29, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/vercel/turbo-site/BcHRMDZvUL2Rqo4gmp7Rv2NZGGvw
✅ Preview: https://turbo-site-git-fork-stevejcox-resolve-since-package-filter.vercel.sh

@gsoltis gsoltis added the area: ergonomics Issues and features impacting the developer experience of using turbo label Feb 3, 2022
@jaredpalmer jaredpalmer added the pr: automerge Kodiak will merge these automatically after checks pass label Feb 8, 2022
@stevejcox
Copy link
Contributor Author

@jaredpalmer - anything I need to do to merge this? Looks like Kodiak is stuck waiting on checks that need manual approval to run?

@jaredpalmer
Copy link
Contributor

nope, I had to press "approve and run again"

@kodiakhq kodiakhq bot merged commit fd90f4c into vercel:main Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ergonomics Issues and features impacting the developer experience of using turbo pr: automerge Kodiak will merge these automatically after checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants