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(turbo): improve error handling in build script & remove unnecessary filtering from build:ci #6361

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

isaiahshall
Copy link
Contributor

Issue

Previously, Turborepo build errors due to package filtering or other optional arguments would result in a CI build failure. This code change adds a fallback for these errors, rebuilding the package without any optional arguments. It also removes unnecessary filtering from the build:ci script in package.json.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@isaiahshall isaiahshall marked this pull request as ready for review August 6, 2024 18:51
@isaiahshall isaiahshall requested a review from a team as a code owner August 6, 2024 18:51
@@ -8,7 +8,7 @@
"bootstrap": "yarn",
"bootstrap:ci": "yarn install --frozen-lockfile",
"build:all": "yarn build:crypto-dependencies && node ./scripts/turbo build",
"build:ci": "node ./scripts/turbo build -F=[origin/main...HEAD]...",
"build:ci": "node ./scripts/turbo build",
Copy link
Contributor

Choose a reason for hiding this comment

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

is build crypto dependencies even necessary?

@isaiahshall isaiahshall merged commit e52cc35 into aws:main Aug 6, 2024
5 checks passed
@isaiahshall isaiahshall deleted the fix-buildci branch August 6, 2024 19:14
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants