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

test: fix flaky test-fs-stream-construct #34203

Merged
merged 25 commits into from
Jul 7, 2020
Merged

Commits on Jul 5, 2020

  1. quic: continued refactoring for quic_stream/quic_session

    PR-URL: nodejs#34160
    Reviewed-By: Anna Henningsen <[email protected]>
    jasnell committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    b1750a4 View commit details
    Browse the repository at this point in the history
  2. quic: refactor native object flags for better readability

    Use is_* and set_* pattern for native object flags to improve
    readability in the code.
    
    PR-URL: nodejs#34160
    Reviewed-By: Anna Henningsen <[email protected]>
    jasnell committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    b5bf5bb View commit details
    Browse the repository at this point in the history
  3. quic: additional cleanups on the c++ side

    PR-URL: nodejs#34160
    Reviewed-By: Anna Henningsen <[email protected]>
    jasnell committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    f7510ca View commit details
    Browse the repository at this point in the history
  4. quic: refactor QuicSession close/destroy flow

    PR-URL: nodejs#34160
    Reviewed-By: Anna Henningsen <[email protected]>
    jasnell committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    f9c2245 View commit details
    Browse the repository at this point in the history
  5. quic: refactor QuicSession shared state to use AliasedStruct

    PR-URL: nodejs#34160
    Reviewed-By: Anna Henningsen <[email protected]>
    jasnell committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    3acdd6a View commit details
    Browse the repository at this point in the history
  6. quic: remove onSessionDestroy callback

    The QuicSession can be destroyed during garbage collection and
    the onSessionDestroy callback was happening in the destructor.
    
    PR-URL: nodejs#34160
    Reviewed-By: Anna Henningsen <[email protected]>
    jasnell committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    e4d369e View commit details
    Browse the repository at this point in the history
  7. quic: refactor qlog handling

    Because of the timing of qlog events emitted by ngtcp2, it
    becomes difficult to handle those as events on the QuicSession
    object because the final qlog entry is not emitted until the
    ngtcp2_conn is freed, which can occur when the object is being
    garbage collected (meaning, we a: can't call out to javascript
    and b: don't have an object we can use to emit the event).
    
    This refactors it into a QLogStream object that allows the
    qlog data to be piped out using a separate Readable stream.
    
    PR-URL: nodejs#34160
    Reviewed-By: Anna Henningsen <[email protected]>
    jasnell committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    7b062ca View commit details
    Browse the repository at this point in the history
  8. quic: fixup lint issues

    PR-URL: nodejs#34160
    Reviewed-By: Anna Henningsen <[email protected]>
    jasnell committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    3837d9c View commit details
    Browse the repository at this point in the history
  9. quic: cleanup timers if they haven't been already

    PR-URL: nodejs#34160
    Reviewed-By: Anna Henningsen <[email protected]>
    jasnell committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    5a87e9b View commit details
    Browse the repository at this point in the history
  10. quic: add missing memory tracker fields

    PR-URL: nodejs#34160
    Reviewed-By: Anna Henningsen <[email protected]>
    jasnell committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    1b1e985 View commit details
    Browse the repository at this point in the history
  11. doc: specify how fs.WriteStream/ReadStreams are created

    Alternative to nodejs#33841
    
    Co-authored-by: zombieleet <[email protected]>
    
    PR-URL: nodejs#34188
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    jasnell committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    e7dadd3 View commit details
    Browse the repository at this point in the history
  12. src: add TimerWrap utility

    Consolidate uv_timer_t boilerplate code into a shared utility.
    There are several places throughout the code where we use uv_timer_t
    internally (inspector, perf, quic), with some code duplication.
    This eliminates the duplicated code, ensures that cleanup occurs
    correctly, and simplifies use of the timers.
    
    Signed-off-by: James M Snell <[email protected]>
    
    PR-URL: nodejs#34186
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    jasnell committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    d4f6900 View commit details
    Browse the repository at this point in the history
  13. src: replace InspectorTimer with TimerWrap utility

    Signed-off-by: James M Snell <[email protected]>
    
    PR-URL: nodejs#34186
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    jasnell committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    e19a251 View commit details
    Browse the repository at this point in the history
  14. quic: use TimerWrap for idle and retransmit timers

    Signed-off-by: James M Snell <[email protected]>
    
    PR-URL: nodejs#34186
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    jasnell committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    0f97d60 View commit details
    Browse the repository at this point in the history
  15. doc: move gibfahn to emeritus

    Asked Gibson in email if he should be moved to emeritus and he indicated
    it was a good idea.
    
    PR-URL: nodejs#34190
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Matheus Marchini <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Trott authored and jasnell committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    8a57788 View commit details
    Browse the repository at this point in the history
  16. doc: move digitalinfinity to emeritus

    Had an email exchange with Hitesh where he indicated that it was a fine
    time to move him to emeritus.
    
    PR-URL: nodejs#34191
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Matheus Marchini <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Trott authored and jasnell committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    7eb500b View commit details
    Browse the repository at this point in the history
  17. doc: move ERR_FEATURE_UNAVAILABLE_ON_PLATFORM to current errors

    ERR_FEATURE_UNAVAILABLE_ON_PLATFORM is incorrectly included in the list
    of errors that have never been released. It was added in
    67e067e and included in every release
    in the 14.x line.
    
    PR-URL: nodejs#34196
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Trott authored and jasnell committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    654df09 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2020

  1. src: fix unused namespace member

    C++ linter fails because of unused ArrayBuffer namespace member
    
    PR-URL: nodejs#34212
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    branisha authored and gireeshpunathil committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    82c435d View commit details
    Browse the repository at this point in the history
  2. src: fix minor comment typo in KeyObjectData

    PR-URL: nodejs#34167
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    danbev committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    67ba825 View commit details
    Browse the repository at this point in the history
  3. repl: fix verb conjugation in deprecation message

    PR-URL: nodejs#34198
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and jasnell committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    ddfaafa View commit details
    Browse the repository at this point in the history
  4. test: replace deprecated function call from test-repl-history-navigation

    test-repl-history-navigation fails with NODE_PENDING_DEPRECATION=1.
    Replace deprecated repl.inputStream with repl.input.
    
    PR-URL: nodejs#34199
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and jasnell committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    9f0671e View commit details
    Browse the repository at this point in the history
  5. doc: remove errors that were never released

    Refs: nodejs#33764 (comment)
    
    PR-URL: nodejs#34197
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and jasnell committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    bf77289 View commit details
    Browse the repository at this point in the history
  6. doc: replace http to https of link urls

    PR-URL: nodejs#34158
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    sapics authored and jasnell committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    3975799 View commit details
    Browse the repository at this point in the history
  7. lib: replace http to https of comment link urls

    PR-URL: nodejs#34158
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    sapics authored and jasnell committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    ee3416b View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2020

  1. test: fix flaky test-fs-stream-construct

    The test is marked flaky on ARM because it times out on Raspberry Pi
    devices in CI. Split the single test file into four separate test files
    to ease debugging. Add fs.close() to avoid timing out.
    
    Fixes: nodejs#33796
    
    PR-URL: nodejs#34203
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Robert Nagy <[email protected]>
    Trott committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    772fdb0 View commit details
    Browse the repository at this point in the history