Skip to content

Commit 8f244fc

Browse files
zackradisicclaude
andcommitted
feat: Implement process.report.getReport() on Windows
This PR implements the Node.js-compatible process.report.getReport() API on Windows, which was previously returning a "Not implemented" message. ## Changes ### Implementation - Implemented full Windows support for process.report.getReport() - Uses libuv APIs (uv_cpu_info, uv_interface_addresses) for cross-platform consistency - Refactored to share common code between Windows and POSIX platforms - Returns diagnostic information matching Node.js structure ### Key Features - CPU information: All processors with model, speed, and usage times - Network interfaces: Complete with MAC addresses, IPs, and netmasks - Memory statistics: RSS, page faults, system memory info - Process information: PID, CWD, command line, OS details - JavaScript heap and stack information - Loaded DLLs in sharedObjects array ### Testing - Added comprehensive test suite with 10 tests covering all report sections - Tests validate structure, data types, and field presence - All tests passing on Windows ## Compatibility - Matches Node.js report structure on Windows - Correctly omits userLimits and uvthreadResourceUsage (not present in Node.js on Windows) - Includes Windows-specific libUrl in release object 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent d3d68f4 commit 8f244fc

File tree

2 files changed

+710
-80
lines changed

2 files changed

+710
-80
lines changed

0 commit comments

Comments
 (0)