Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 37a0b0dd9338d53d01f0e7eb0826cd983fa924e1
Choose a base ref
...
head repository: nodejs/node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 524eb248e55a7e2c65da6efaf9be1aa16f519045
Choose a head ref
  • 9 commits
  • 17 files changed
  • 1 contributor

Commits on Sep 30, 2026

  1. test: deflake inspector network fetch

    A Windows socket bound to 127.0.0.1 can accept connections intended for
    another process's wildcard listener on the same port. A competing
    inspector can then answer the HTTP request with 400 or send plaintext
    to the HTTPS client.
    
    Bind both fixture servers to the address used by their requests to
    prevent the competing bind. Bypass environment proxies so local HTTP
    and HTTPS requests reach the fixture servers directly, and remove the
    Windows flaky expectation.
    
    Fixes: #59090
    Signed-off-by: Filip Skokan <panva.ip@gmail.com>
    Assisted-by: Claude, Codex
    PR-URL: #66320
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    panva authored and nodejs-github-bot committed Sep 30, 2026
    Configuration menu
    Copy the full SHA
    81f15ff View commit details
    Browse the repository at this point in the history
  2. test: deflake debugger PID attachment and cleanup

    Wait for the target to finish starting before attaching the debugger.
    Capture the CLI close event when it is spawned so quit() also completes
    after an early exit, and terminate the target before awaiting cleanup.
    Add a regression test for quitting an already exited CLI and remove the
    Windows flaky entry.
    
    Refs: #63212
    Signed-off-by: Filip Skokan <panva.ip@gmail.com>
    Assisted-by: Codex
    PR-URL: #66320
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    panva authored and nodejs-github-bot committed Sep 30, 2026
    Configuration menu
    Copy the full SHA
    d595888 View commit details
    Browse the repository at this point in the history
  3. test: deflake inspector close connection test

    Wait for NodeRuntime.waitingForDebugger before sending the resume
    command. Runtime.executionContextCreated does not guarantee that the
    child has started waiting for the debugger.
    
    Refs: https://github.com/nodejs/node/actions/runs/36224832165/job/108356717128
    Signed-off-by: Filip Skokan <panva.ip@gmail.com>
    Assisted-by: Codex
    PR-URL: #66320
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    panva authored and nodejs-github-bot committed Sep 30, 2026
    Configuration menu
    Copy the full SHA
    aae38e4 View commit details
    Browse the repository at this point in the history
  4. test: deflake http server mixed request timeouts

    Await client end events before checking completed responses instead of
    asserting completion at fixed deadlines. Keep the pending-request checks
    and verify that the headers-only request expires before the later
    successful request completes.
    
    Refs: #54817
    Refs: #43465
    Signed-off-by: Filip Skokan <panva.ip@gmail.com>
    Assisted-by: Claude, Codex
    PR-URL: #66320
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    panva authored and nodejs-github-bot committed Sep 30, 2026
    Configuration menu
    Copy the full SHA
    76a5db6 View commit details
    Browse the repository at this point in the history
  5. test: deflake http headers timeout keepalive

    The second request in the headers-timeout test could finish its headers
    before the next periodic timeout check ran. Leave it incomplete across
    multiple checking intervals before sending the remaining headers.
    
    Remove both macOS keepalive flaky expectations. c3aa86d already
    extended the request-timeout test's margin to allow multiple checks.
    
    Refs: #42741
    Signed-off-by: Filip Skokan <panva.ip@gmail.com>
    Assisted-by: Claude, Codex
    PR-URL: #66320
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    panva authored and nodejs-github-bot committed Sep 30, 2026
    Configuration menu
    Copy the full SHA
    8e51a61 View commit details
    Browse the repository at this point in the history
  6. test: deflake esm loader http imports

    Keep idle server connections open until the client closes them. This
    avoids reusing a keep-alive socket the server closed while the loader
    thread was stalled.
    
    Refs: #47836
    Signed-off-by: Filip Skokan <panva.ip@gmail.com>
    Assisted-by: Claude, Codex
    PR-URL: #66320
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    panva authored and nodejs-github-bot committed Sep 30, 2026
    Configuration menu
    Copy the full SHA
    90c1ff7 View commit details
    Browse the repository at this point in the history
  7. test: deflake watch cwd with isolation none

    Windows directory watchers report last-access time updates. Reading cold
    fixtures in the child can therefore trigger test:watch:restarted before
    it exits, failing the mustNotCall assertion without printing the error.
    
    Read the fixtures before starting watch mode and remove the Windows
    flaky expectation. With old access times and a delayed child exit, the
    original fails 10/10 runs and the change passes 100/100 on Windows.
    
    Also remove the argv variant's stale flaky expectation. It passes
    repeated local Windows runs and the inspected CI history after #66035.
    
    Refs: #66056
    Refs: #66035
    Signed-off-by: Filip Skokan <panva.ip@gmail.com>
    Assisted-by: Codex
    PR-URL: #66320
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    panva authored and nodejs-github-bot committed Sep 30, 2026
    Configuration menu
    Copy the full SHA
    e878931 View commit details
    Browse the repository at this point in the history
  8. test: probe cluster workers with signal 0

    common.isAlive() sends SIGCONT while polling exiting workers. On Linux,
    this can discard a pending SIGSTOP from LeakSanitizer's ptrace attach,
    leaving its thread-suspension loop waiting indefinitely.
    
    Use signal 0 to check existence without changing the process state.
    This also makes the liveness check work on Windows, where SIGCONT is
    unsupported. Treat only ESRCH as a dead process and propagate other
    errors. Remove the ASan flaky expectation.
    
    Refs: #39655
    Signed-off-by: Filip Skokan <panva.ip@gmail.com>
    Assisted-by: Claude, Codex
    PR-URL: #66320
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    panva authored and nodejs-github-bot committed Sep 30, 2026
    Configuration menu
    Copy the full SHA
    929b39c View commit details
    Browse the repository at this point in the history
  9. test: isolate styleText tests from the environment

    The TTY cases inherit TERM, CI and the color override variables. These
    can disable colors in a case expecting styling, or force colors in a
    case expecting plain text. The tests skip these cases without a TTY,
    which hides the dependency in many standalone runs.
    
    Set a color-capable TERM and only the environment variables specified
    by each case. Remove the RISC-V flaky expectations.
    
    Refs: nodejs/build#4099 (comment)
    Signed-off-by: Filip Skokan <panva.ip@gmail.com>
    Assisted-by: Claude, Codex
    PR-URL: #66320
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    panva authored and nodejs-github-bot committed Sep 30, 2026
    Configuration menu
    Copy the full SHA
    524eb24 View commit details
    Browse the repository at this point in the history
Loading