Skip to content

Conversation

@dtebbs
Copy link
Contributor

@dtebbs dtebbs commented Oct 12, 2021

It appears that something has happened in a dependency which breaks the ganache build, so that needs to be checked and addressed. AFAICT, the issue seems to be related to the @types/bn.js package, although after some investigation it's still not clear to me what could have changed.

@dtebbs dtebbs marked this pull request as ready for review October 12, 2021 17:40
@AntoineRondelet
Copy link
Contributor

AntoineRondelet commented Oct 21, 2021

It appears that something has happened in a dependency which breaks the ganache build, so that needs to be checked and addressed. AFAICT, the issue seems to be related to the @types/bn.js package, although after some investigation it's still not clear to me what could have changed.

Thanks for fixing this @dtebbs. Going forward, please be sure to either link to the CI run/job failing, and/or provide an excerpt of the error faced so we can have a better idea of what's going on under the hood and how the proposed change resolves the issue. It's good to know why from one day to another the CI stars to fail on some code that hasn't been touched, especially as such issue may appear again in the future. Without much context, this smells like an issue with managing dependencies (either a dependency release pushing a breaking change disguised in a minor, or we use loose versioning for some of the tools that run in the CI, i.e. don't constrain a specific node JS version or something - though I know this one is properly constrained as we specify node 10...).

I can see that some CI runs failed on the update-libsnark branch (PR #407) around 9 days ago (time a which this PR was opened), e.g. https://github.com/clearmatics/zeth/runs/3872675602?check_suite_focus=true - is that related at all, or did you get another error?

@AntoineRondelet
Copy link
Contributor

Without much context, this smells like an issue with managing dependencies (either a dependency release pushing a breaking change disguised in a minor, or we use loose versioning for some of the tools that run in the CI, i.e. don't constrain a specific node JS version or something).

Some docker base images will come with specific packages versions (e.g. a Python base image) or won't be supporting the latest versions of some packages etc, which may (or not) be why moving things in Docker fixes the issue.

Copy link
Contributor

@AntoineRondelet AntoineRondelet left a comment

Choose a reason for hiding this comment

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

LGTM

@AntoineRondelet AntoineRondelet merged commit 70a0a25 into develop Oct 22, 2021
@AntoineRondelet AntoineRondelet deleted the ganache-docker branch October 22, 2021 08:39
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

Successfully merging this pull request may close these issues.

3 participants