-
Notifications
You must be signed in to change notification settings - Fork 925
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
Latest Bit version 1.6.73
causes build failures in Ripple CI / Bit Cloud
#8628
Comments
For some reason I'm unable to reproduce the issue locally with the same version. @guysaar223 , @GiladShoham , can you take a look? |
Does it consistently fail? Even if you retry? Looks related to our virtual fs but we have not changed anything in our ripple CI package manager. I have tried running it locally in a container and it worked. Sometimes the build is skipped, when the build artifacts are found in the cache, so maybe that is why it worked the last time. This is definitely a bug but finding the reason will be hard if I won't be able to reproduce it locally. In that case the only way to find the reason will be to add debug messages to the virtual fs, so that more info is printed in ripple. |
I created a new simple component with better-sqlite3@8.7.0, this one builds without issues: https://bit.cloud/zoltan/dogfooding/~ripple-ci/job/zoltan-main-Gb0BJcI1A |
Thanks for the quick responses on this! I really appreciate your review, particular as you say because it's always hard to debug issues when it's not possible to reproduce them locally so thanks for your time so far 🙏 In answer to your first question, it is failing consistently at the moment, even when retrying. Happily it's a pretty simple
The
Let me know if those notes trigger any insights and I'll report back shortly once I've finished creating a fresh version of the |
The update is that I just finished recreating that Steps to reproduce:Here are the steps I followed to re-create that
Please let me know if I missed something in that process, or if there are any other changes you'd like me to test. Would it be helpful to manually configure Thanks again! |
Thanks for the new details. I was able to reproduce the issue locally in a ripple container using a fork of sqlite that I used in my component. Using this command.
|
Thanks for your work on this @zkochan and great to hear you were able to reproduce the issue locally. I wanted to check in with a couple of quick questions:
I'm currently unable to build or update an environment if it uses a package that includes Things I've tried
Unfortunately none of those approaches worked (you can probably tell I was mostly just trying everything I could think of!) PS: It looks like Ripple CI is now using a not-yet-released version of Bit (1.6.84) to run the build process - is that right? |
Right now the only solution would be to turn off fusepm (cc @guysaar223) or somehow build the package outside of the mounted directory. I spent about 2 days debugging it but couldn't figure out the issue. The removing |
This is a pretty niche issue but you can see more info about it here: teambit/bit#8628
We're doing this because the `@tinacms/search` package uses `sqlite-level`, which in turn depends on the `better-sqlite3` package that is breaking the builds on Build Cloud / Ripple CI: teambit/bit#8628
Same problem
|
resolved on rippleci |
Describe the bug
Since the Ripple CI / Bit Cloud build process has started using Bit version
1.6.73
I've been seeing build failures on my React 18 environment (see Ripple CI logs here), which is based on@teambit/react.react-env@1.0.38
:bit tag --unmodified
and exporting the results throws a build error for me on the latest Bit versionbit build
process still succeeds when I running it locally with any Bit versionScreenshots, exceptions and logs - error details from Ripple CI
The full build logs and all errors are visible here (the env is in a public scope): https://bit.cloud/sitestudio/envs/~ripple-ci/job/sitestudio-sitestudio-envs-rebuilding-scope/component/sitestudio.envs/tina-react-env@0.0.3
The main part of the error message says:
Steps to Reproduce
tina-react-env
here: https://bit.cloud/sitestudio/envs/tina-react-env/~comparetina-react-env
and it will build fine locallybit tag --unmodified
andbit export
and the Ripple CI throws the error detailed aboveExpected Behavior
bit build
locallySpecifications
tina-react-env
is based on the React 18 env:@teambit/react.react-env@1.0.38
. It only has very minor customizationsThe text was updated successfully, but these errors were encountered: