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: remove gently hijack and tests #539

Merged
merged 1 commit into from
Jan 8, 2020
Merged

fix: remove gently hijack and tests #539

merged 1 commit into from
Jan 8, 2020

Conversation

kedarv
Copy link
Contributor

@kedarv kedarv commented Jan 7, 2020

This pull request removes references to gently, and deletes some old tests that required gently. This should fix #337

@kedarv
Copy link
Contributor Author

kedarv commented Jan 7, 2020

Hm..looks like a test is failing on travis with node13

Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
      at WriteStream._write (internal/fs/streams.js:361:33)
      at WriteStream.<anonymous> (internal/fs/streams.js:357:12)
      at Object.onceWrapper (events.js:412:26)
      at WriteStream.emit (events.js:317:22)
      at internal/fs/streams.js:348:12
      at FSReqCallback.oncomplete (fs.js:153:23)
  Emitted 'error' event on WriteStream instance at:
      at errorOrDestroy (internal/streams/destroy.js:128:12)
      at onwriteError (_stream_writable.js:473:3)
      at onwrite (_stream_writable.js:494:7)
      at WriteStream._write (internal/fs/streams.js:361:30)
      at WriteStream.<anonymous> (internal/fs/streams.js:357:12)
      [... lines matching original stack trace ...]
      at FSReqCallback.oncomplete (fs.js:153:23) {
    code: 'ERR_STREAM_DESTROYED'
  }

@lgtm-com
Copy link

lgtm-com bot commented Jan 7, 2020

This pull request fixes 1 alert when merging ddb2577 into b04b5ac - view on LGTM.com

fixed alerts:

  • 1 for Useless assignment to local variable

Copy link
Member

@tunnckoCore tunnckoCore left a comment

Choose a reason for hiding this comment

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

Great. Thanks for the PR!

I would rather somehow ignore the run of test/legacy tests or easiest way probably is to move to test-legacy in the root just in case for backup.

I'm still not sure what's test/legacy is for, but may have some interesting cases for future.

@tunnckoCore
Copy link
Member

Hm..looks like a test is failing on travis with node13

@kedarv, known issue. You can remove it from Travis, otherwise I will anyway. ;D

@kedarv
Copy link
Contributor Author

kedarv commented Jan 7, 2020

Cool, removed Node 13 from travis.yaml and moved the failing legacy tests to test-legacy/ with a readme for future reference.

@lgtm-com
Copy link

lgtm-com bot commented Jan 7, 2020

This pull request fixes 1 alert when merging ba791ef into b04b5ac - view on LGTM.com

fixed alerts:

  • 1 for Useless assignment to local variable

Copy link
Member

@tunnckoCore tunnckoCore left a comment

Choose a reason for hiding this comment

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

Great! :) One more thing. Move test/legacy/common.js too.

@kedarv
Copy link
Contributor Author

kedarv commented Jan 7, 2020

Great! :) One more thing. Move test/legacy/common.js too.

I ended up moving all of the legacy/simple tests up to the "dummy" directory. But, moving common.js up causes test/legacy/system/test-multi-video-upload.js and test/legacy/integration/test-multipart-parser.js to fail

@lgtm-com
Copy link

lgtm-com bot commented Jan 7, 2020

This pull request fixes 1 alert when merging 0137389 into b04b5ac - view on LGTM.com

fixed alerts:

  • 1 for Useless assignment to local variable

@tunnckoCore
Copy link
Member

That's why we just move the whole test/legacy/ to test-legacy/. Cuz they seems connected since they are in that legacy folder together.

The reason for move is to not run these tests at all.

@lgtm-com
Copy link

lgtm-com bot commented Jan 8, 2020

This pull request fixes 1 alert when merging 499eba7 into b04b5ac - view on LGTM.com

fixed alerts:

  • 1 for Useless assignment to local variable

@tunnckoCore tunnckoCore self-requested a review January 8, 2020 10:56
Copy link
Member

@tunnckoCore tunnckoCore left a comment

Choose a reason for hiding this comment

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

cool!

@tunnckoCore tunnckoCore changed the title remove gently hijack and tests fix: remove gently hijack and tests Jan 8, 2020
@tunnckoCore tunnckoCore merged commit 2d2b630 into node-formidable:master Jan 8, 2020
@kedarv kedarv deleted the remove-gently branch January 8, 2020 16:05
@tunnckoCore
Copy link
Member

@all-contributors please add @kedarv for code and test

@allcontributors
Copy link
Contributor

@tunnckoCore

I've put up a pull request to add @kedarv! 🎉

@tunnckoCore
Copy link
Member

@all-contributors please add @kedarv for bug

@allcontributors
Copy link
Contributor

@tunnckoCore

I've put up a pull request to add @kedarv! 🎉

@Songkeys
Copy link

Could this pr also be merged into the 1.x branch?

@tunnckoCore
Copy link
Member

tunnckoCore commented Jan 29, 2021

@Songkeys

I didn't want to touch v1 and that's why we published v1.2.2 with just a readme update.

Any reason to not use/try v2 canary? When v2 moves to latest it will be more or less the current codebase with not many changes, so feedback is welcome.

@Songkeys
Copy link

@tunnckoCore

Yeah, I'm considering moving. But the issue #635 (comment) here makes me wonder if there will be a stable v2. Also not so sure about the breaking changes. The changelog currently is not clearly structured.

I guess I'll wait for a stable v2 then. Hope there is a roadmap and release plan about this repo.

@tunnckoCore
Copy link
Member

tunnckoCore commented Jan 29, 2021

@Songkeys

The v2 basically is clearing the whole issue tracker, PRs and modernizing the codebase, without some huge breaking changes - it's major bump for safety. The only breaking I can think of is the exports, yet we still have the fallbacks in canary.

I'm gearing up for an active year and hope to release v3 too. Roadmap and predictable release plan is understandable though, and coming.

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.

Frustrating warnings when used with webpack
3 participants