You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]>
0 commit comments