Skip to content

Add selected process summary to Process tab#18

Merged
PrimeBuild-pc merged 2 commits into
mainfrom
codex/selected-process-summary
May 21, 2026
Merged

Add selected process summary to Process tab#18
PrimeBuild-pc merged 2 commits into
mainfrom
codex/selected-process-summary

Conversation

@PrimeBuild-pc
Copy link
Copy Markdown
Owner

@PrimeBuild-pc PrimeBuild-pc commented May 21, 2026

Summary

  • Adds a lightweight SelectedProcessSummaryViewModel populated from selected ProcessModel data.
  • Adds a compact Current process status strip under the Process tab process list.
  • Reads memory priority once on selection when available, and checks saved persistent rule status via the existing rule store/matcher.
  • Does not use PerformanceMonitoringService, start diagnostics/live monitoring, add timers, change affinity logic, or change release/version files.

Fields shown

  • Selected process name and PID
  • Current process status
  • Executable path
  • CPU priority
  • Memory priority, or Memory priority unavailable
  • Legacy affinity mask
  • Saved rule status
  • CPU usage and memory usage from ProcessModel
  • Last ThreadPilot action message when available

Tests

  • Added SelectedProcessSummaryViewModelTests covering no selection, selection population, selection changes, memory priority success/unavailable, no performance-monitoring dependency, no timer ownership, and persistent rule found/not found.

Validation

  • dotnet test "ThreadPilot_1.sln" --configuration Release --no-restore
  • Result: 314 passed, 0 failed, 0 skipped.

Limitations / next PR

  • No context menu, save-as-rule flow, rules editing UI, performance graphs, diagnostics redesign, or background monitoring changes.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 21, 2026

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 84.74576% with 27 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
ViewModels/SelectedProcessSummaryViewModel.cs 85.97% 15 Missing and 8 partials ⚠️
ViewModels/ProcessViewModel.Behaviors.partial.cs 50.00% 4 Missing ⚠️

📢 Thoughts on this report? Let us know!

@PrimeBuild-pc PrimeBuild-pc marked this pull request as ready for review May 21, 2026 22:23
@PrimeBuild-pc PrimeBuild-pc merged commit 6eec1ba into main May 21, 2026
3 checks passed
@PrimeBuild-pc PrimeBuild-pc deleted the codex/selected-process-summary branch May 21, 2026 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants