Skip to content

Conversation

@antongolub
Copy link
Collaborator

@antongolub antongolub commented Jul 1, 2025

relates #1263

  • Tests pass
  • Appropriate changes to README are included in PR

@antongolub antongolub force-pushed the ps-test branch 2 times, most recently from 2647947 to 1c8c9dc Compare July 1, 2025 13:00
@antongolub antongolub force-pushed the ps-test branch 3 times, most recently from 115de0b to 538424b Compare July 1, 2025 13:23
@antongolub antongolub marked this pull request as draft July 1, 2025 14:33
@antongolub antongolub added the bug label Jul 10, 2025
@antongolub antongolub marked this pull request as ready for review July 10, 2025 20:48
@antongolub antongolub requested a review from Copilot July 10, 2025 20:48
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds basic smoke tests for the ps lookup and abort-controller behavior, bumps several dev dependency versions, refines grid‐parsing logic in the vendor bundle, and updates size‐limit thresholds.

  • Add ps.lookup and abort controller tests in both Win32 and Node smoke suites
  • Bump dev dependencies (@types/node, esbuild, jsr, lefthook, etc.)
  • Enhance parseLines and parseWinGrid logic in build/vendor-core.cjs
  • Update .size-limit.json thresholds to reflect bundle changes

Reviewed Changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
test/smoke/win32.test.js Add ps API and abort-controller tests; import cleanup
test/smoke/node.test.mjs Add inline ps API and abort-controller blocks
package.json Bump various dev dependency versions
build/vendor-core.cjs Introduce EMPTY constant; filter out blank lines; overhaul WinGrid parsing
.size-limit.json Increase limits to match updated bundle sizes
Comments suppressed due to low confidence (1)

build/vendor-core.cjs:817

  • [nitpick] Filtering out empty lines with .filter(Boolean) changes behavior from the previous implementation; adding a comment explaining why blank lines are dropped would help future maintainers.
var parseLines = (input, sep) => input.split(EOL).filter(Boolean).map((l) => parseLine(l, sep));


import assert from 'node:assert'
import { test, describe } from 'node:test'
import cp from 'child_process'
Copy link

Copilot AI Jul 10, 2025

Choose a reason for hiding this comment

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

The cp import from 'child_process' is not used in this test file and can be removed to reduce noise.

Suggested change
import cp from 'child_process'

Copilot uses AI. Check for mistakes.
@antongolub antongolub merged commit 609b05e into google:main Jul 11, 2025
28 checks passed
@antongolub antongolub deleted the ps-test branch July 11, 2025 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants