-
Notifications
You must be signed in to change notification settings - Fork 62
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
Make CI green again #242
Comments
Agree. Now that most changes related to |
After investigating, in order to make CI green again, we need:
|
@dryajov seems we could already open a PR and manually override the node modules to at least see if makes it green, correct? |
@victorbjelkholm We can, but that would still break for our users, wont it? I think what we need is to release a hot fix |
Ah, I take that back @victorbjelkholm - we only need to pin it down here, js-ipfs is fine as it is still on |
The |
@dryajov yeah, I just wanted to confirm that what we think would solve the issue, actually solves it (reproduce it externally so we can be 100% nothing more needs to get done). Speaking about |
Yeah, I agree, but I would suggest we just use lock files, since thats what they were made for - it would make sense to just lock to a version had they not been introduced. |
@dryajov lock files would be nice. Would be even nicer with lock files that works both for yarn (I know many of the devs that uses yarn (and me) + CI uses yarn) and npm (probably most people still using npm?), since they have different ones. Locking the version directly in package.json works for both though. |
good point, forgot about incompatible lock files 😭 |
@vasco-santos now that js-ipfs has been released, you can updates and get CI green again. |
@diasdavid CircleCI is not green yet! Last time it was green was in @dryajov PR. Dmitriy do you know what is wrong now? |
The failures come from the version logic: There is a bug in js-ipfs introduced with https://github.com/ipfs/js-ipfs-repo/pull/164/files#diff-1fdf421c05c1140f6d71444ea2b27638R216. Changing the error message broke version handling, which ignores uninitialized repos and sources the version directly from the package if no repo exists. Here is a fix ipfs/js-ipfs#1374. |
Thanks for your analyzes @dryajov ! |
@dryajov I'm confused, https://github.com/ipfs/js-ipfs-repo/pull/164/files#diff-1fdf421c05c1140f6d71444ea2b27638R216 didn't change the error message |
CI is green again!! 🙌 |
Currently, master has not had a passing build since 6 of April (https://ci.ipfs.team/job/IPFS/job/js-ipfsd-ctl/job/master/) and none of the PRs are having green builds right now.
Since js-ipfsd-ctl is a integral part in our development and testing, we have to make the tests pass as long as the code is correct. Having flaky tests is a deal breaker, as we start ignoring the test results.
I'm not sure why the builds are not passing, but we should stop adding new features or fixes until we can trust CI, as otherwise we cannot safely merge changes.
The text was updated successfully, but these errors were encountered: