Skip to content

Commit c8fd44a

Browse files
feat: integrate ProcessMetrics with child process tracking and fix tests
- Upgrade system-metrics to v1.2.0 with ProcessDelta support - Enable child process tracking in JobProcessingListener (includeChildren: true) - Fix CPU/memory metrics calculation in JobProcessedListener: - Use peak->memoryRssBytes instead of current (maximum RSS during execution) - Use delta->cpuUsagePercentage() instead of cumulative ticks - Proper CPU time calculation: (cpuPercent/100) * durationSeconds * 1000 - Add comprehensive test coverage: - 5 ProcessMetrics integration unit tests - 4 ChildProcessTracking feature tests with realistic scenarios - Fix flaky performance benchmark tests with proper tolerances - Merge conflict resolution: removed hooks system integration - Update PHP requirement to ^8.3|^8.4 (system-metrics dependency requirement) All tests passing: 125 tests, 350 assertions
1 parent 19725e3 commit c8fd44a

30 files changed

+671
-996
lines changed

.claude/settings.local.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,23 @@
1414
"Bash(/Users/sylvester/Projects/Cbox/sandbox/artisan tinker:*)",
1515
"Bash(do)",
1616
"Bash(git rebase:*)",
17-
"Bash(timeout 5 curl:*)"
17+
"Bash(timeout 5 curl:*)",
18+
"Bash(vendor/bin/pest:*)",
19+
"Bash(vendor/bin/phpstan analyse:*)",
20+
"mcp__serena__get_symbols_overview",
21+
"mcp__serena__list_dir",
22+
"Bash(find:*)",
23+
"mcp__serena__find_file",
24+
"mcp__serena__write_memory",
25+
"mcp__serena__edit_memory",
26+
"mcp__serena__read_memory",
27+
"mcp__serena__find_symbol",
28+
"mcp__serena__initial_instructions",
29+
"mcp__serena__check_onboarding_performed",
30+
"mcp__serena__get_current_config",
31+
"mcp__serena__search_for_pattern",
32+
"mcp__serena__think_about_collected_information",
33+
"WebSearch"
1834
],
1935
"deny": [],
2036
"ask": []

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ _ide_helper_models.php
2828
phpunit.xml
2929
phpstan.neon
3030
testbench.yaml
31-
/docs
3231
/coverage
3332
/.claude/
3433
/.serena/

0 commit comments

Comments
 (0)