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

2.3.1 broke vinyl-fs test suite #296

Closed
phated opened this issue Jun 21, 2017 · 19 comments
Closed

2.3.1 broke vinyl-fs test suite #296

phated opened this issue Jun 21, 2017 · 19 comments

Comments

@phated
Copy link

phated commented Jun 21, 2017

I'm digging into this now but this is the only dependency that changed. Every now-failing test have to do with error handling, any thoughts off the top of your head?

@mcollina
Copy link
Member

2.3.0 is working fine?

@phated
Copy link
Author

phated commented Jun 21, 2017

Probably not, we had 2.2.11 in our last successful run.

@mcollina
Copy link
Member

If 2.3.0 have the same behavior, it might be nodejs/node#13850.

@phated
Copy link
Author

phated commented Jun 21, 2017

Just tested with 2.3.0 and the tests fail, so it looks like that is the breaking version. We are seeing as a transitive issue from our through2 dependency. How can we go about fixing it? Or does it need to be solved here?

@phated
Copy link
Author

phated commented Jun 21, 2017

Edit: Reviewing the code linked above, Reviewing https://github.com/nodejs/node/pull/12925/files#diff-4c74bb09dc4dabfff99ec3bc35181885R98, I think it needs to look for _destroyed property, also, to handle through2's implementation.

@mcollina
Copy link
Member

Ahum, that was not interfering with through2 when I did run the tests. Why do you think that?

I will have a look asap (probably tomorrow). Maybe we should add vinyl-fs to citgm, we could have caught this earlier.

@phated
Copy link
Author

phated commented Jun 21, 2017

I'm attempting to apply your node patch to readable-stream so I can run our test suite with it incorporated.

@phated
Copy link
Author

phated commented Jun 21, 2017

Last I heard, vinyl-fs was included in citgm but no one wanted to deal with making it run properly so they just flagged it as flakey...

@phated
Copy link
Author

phated commented Jun 21, 2017

@mcollina your patch fixes our test failures. (I also want to note that lib/_stream_transform.js added a dependency on internal/errors which doesn't seem to be replaced by your build script).

Any idea how long this will take to get resolved? It's currently blocking the major release of vinyl-fs

@mcollina
Copy link
Member

@nodejs/streams what do you think we should do?

IMHO we can forward-port that fix, and then wait for core to release.

@mcollina
Copy link
Member

Can you please link the reference to internal/errors?

@phated
Copy link
Author

phated commented Jun 21, 2017

@mcollina
Copy link
Member

Oh, that is part of core, that's the code we will convert. Not sure how it got there, I'll get it fixed.

@mcollina
Copy link
Member

Asap is whar we'll do.

@phated
Copy link
Author

phated commented Jun 21, 2017

Thanks!

@lrlna
Copy link
Contributor

lrlna commented Jun 21, 2017

heyyyy! it seems like node-core's got a fix coming on the next release (and that's within a week or so?); i am thinking we should just wait for that ✌️

@phated
Copy link
Author

phated commented Jun 21, 2017

It's really hard for me to find time to push towards our gulp4 (which requires this vinyl-fs major) release but I have some this week, so it would be really hard for me to wait until next week or later.

@mcollina
Copy link
Member

@phated we have just released v2.3.2 with the fix.

@phated
Copy link
Author

phated commented Jun 22, 2017

Thanks a ton @mcollina and team!

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

No branches or pull requests

3 participants