FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

stream: writableCorked by ronag · Pull Request #29012 · nodejs/node · GitHub

/ node Public

stream: writableCorked - #29012

Closed
ronag wants to merge 2 commits into
nodejs:masterfrom
nxtedition:stream-writablecorked
Closed

stream: writableCorked#29012
ronag wants to merge 2 commits into
nodejs:masterfrom
nxtedition:stream-writablecorked

Conversation

ronag commented Aug 6, 2019
edited
Loading

Copy link
Copy Markdown
Member

Expose _writableState.corked.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

nodejs-github-bot added http Issues or PRs related to the http subsystem. stream Issues and PRs related to the stream subsystem. labels Aug 6, 2019

ronag commented Aug 6, 2019

Copy link
Copy Markdown
Member Author

Does this need a test?

addaleax commented Aug 6, 2019

Copy link
Copy Markdown
Member

Does this need a test?

Yes, almost all PRs that touch lib/ or src/ should have tests, if possible. And in particular, new APIs should always come with tests.

addaleax added the semver-minor PRs that contain new features and should be released in the next minor version. label Aug 6, 2019
ronag force-pushed the stream-writablecorked branch from 268c091 to e49d6a4 Compare August 6, 2019 11:50

ronag commented Aug 6, 2019

Copy link
Copy Markdown
Member Author

Test added

ronag force-pushed the stream-writablecorked branch 2 times, most recently from 631ebb7 to 8358cb8 Compare August 6, 2019 11:52
Comment thread doc/api/stream.md Outdated
ronag force-pushed the stream-writablecorked branch from 8358cb8 to f7fe3cf Compare August 6, 2019 13:03
ronag mentioned this pull request Aug 6, 2019
9 tasks
ronag force-pushed the stream-writablecorked branch 2 times, most recently from e182b30 to e37e92e Compare August 6, 2019 20:32
ronag force-pushed the stream-writablecorked branch 2 times, most recently from 41713d2 to 80cec35 Compare August 9, 2019 16:03

mcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

@jasnell is this ok now?

Copy link
Copy Markdown
Member

This needs a rebase.

ronag force-pushed the stream-writablecorked branch from 80cec35 to dca2160 Compare August 28, 2019 07:51

ronag commented Aug 28, 2019

Copy link
Copy Markdown
Member Author

rebased

Copy link
Copy Markdown
Collaborator

mcollina commented Sep 2, 2019

Copy link
Copy Markdown
Member

There were quite a few CI failures, would you mind taking a look?

ronag force-pushed the stream-writablecorked branch from dca2160 to 67dae03 Compare September 2, 2019 17:02

ronag commented Sep 2, 2019

Copy link
Copy Markdown
Member Author

another rebase

ronag commented Sep 2, 2019

Copy link
Copy Markdown
Member Author

@Trott: Travis problems?

22760.2 Compile V8 (py3) | errored
-- | --

and then everything else is cancelled...

ronag mentioned this pull request Nov 4, 2019
4 tasks

addaleax left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Still LGTM

addaleax added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Nov 5, 2019

Copy link
Copy Markdown
Collaborator

addaleax commented Nov 5, 2019

Copy link
Copy Markdown
Member

Landed in de11913

addaleax closed this Nov 5, 2019
addaleax pushed a commit that referenced this pull request Nov 5, 2019
PR-URL: #29012
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
MylesBorins pushed a commit that referenced this pull request Nov 17, 2019
PR-URL: #29012
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>

Copy link
Copy Markdown
Member

@mcollina @jasnell @addaleax @ronag before we publish this in the next release: is the name what we want to stick with? .cork() and .uncork() are only available for writable streams, so maybe .corked as property name would have been sufficient? Just asking as I noticed the redundancy while putting together the changelog for v13.2.0.

Copy link
Copy Markdown
Member

@BridgeAR I think we should stick with the prefix for consistency. I'm also fine in dropping it.

BridgeAR mentioned this pull request Nov 19, 2019

Copy link
Copy Markdown
Member

I also don’t have a strong opinion on the name.

ronag commented Nov 19, 2019
edited
Loading

Copy link
Copy Markdown
Member Author

I also think we should stick with consistency. We've already postfixed all the other writable specific properties. Changing the convention now feels unnecessary and unintuitive. I feel rather strongly about this.

MylesBorins added a commit to BridgeAR/node that referenced this pull request Nov 21, 2019
Notable changes:

* addons:
  * Deprecate one- and two-argument `AtExit()`. Use the three-argument
    variant of `AtExit()` or `AddEnvironmentCleanupHook()` instead
    (Anna Henningsen) nodejs#30227
* child_process,cluster:
  * The `serialization` option is added that allows child process
    IPC to use the V8 serialization API (to e.g., pass through data
    types like sets or maps) (Anna Henningsen)
    nodejs#30162
* deps:
  * Update V8 to 7.9
  * Update `npm` to 6.13.0 (Ruy Adorno)
    nodejs#30271
* embedder:
  * Exposes the ability to pass cli flags / options through an API
    as embedder (Shelley Vohr)
    nodejs#30466
  * Allow adding linked bindings to Environment (Anna Henningsen)
    nodejs#30274
* esm:
  * Unflag --experimental-modules (Guy Bedford)
    nodejs#29866
* stream:
  * Add `writable.writableCorked` property (Robert Nagy)
    nodejs#29012
* worker:
  * Allow specifying resource limits (Anna Henningsen)
    nodejs#26628
* v8:
  * The Serialization API is now stable (Anna Henningsen)
    nodejs#30234

PR-URL: nodejs#30547
MylesBorins added a commit that referenced this pull request Nov 21, 2019
Notable changes:

* addons:
  * Deprecate one- and two-argument `AtExit()`. Use the three-argument
    variant of `AtExit()` or `AddEnvironmentCleanupHook()` instead
    (Anna Henningsen) #30227
* child_process,cluster:
  * The `serialization` option is added that allows child process
    IPC to use the V8 serialization API (to e.g., pass through data
    types like sets or maps) (Anna Henningsen)
    #30162
* deps:
  * Update V8 to 7.9
  * Update `npm` to 6.13.0 (Ruy Adorno)
    #30271
* embedder:
  * Exposes the ability to pass cli flags / options through an API
    as embedder (Shelley Vohr)
    #30466
  * Allow adding linked bindings to Environment (Anna Henningsen)
    #30274
* esm:
  * Unflag --experimental-modules (Guy Bedford)
    #29866
* stream:
  * Add `writable.writableCorked` property (Robert Nagy)
    #29012
* worker:
  * Allow specifying resource limits (Anna Henningsen)
    #26628
* v8:
  * The Serialization API is now stable (Anna Henningsen)
    #30234

PR-URL: #30547
targos pushed a commit that referenced this pull request Jan 13, 2020
PR-URL: #29012
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
BethGriggs pushed a commit that referenced this pull request Feb 6, 2020
PR-URL: #29012
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
MylesBorins mentioned this pull request Feb 8, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. http Issues or PRs related to the http subsystem. semver-minor PRs that contain new features and should be released in the next minor version. stream Issues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants


Back | FazBrowse Home | New Git URL