Skip to content

Comments

feat(gov): initial process resource governor (slice)#61

Merged
heidi-dang merged 2 commits intomainfrom
pr/feat-w2p1-governor-slice
Feb 19, 2026
Merged

feat(gov): initial process resource governor (slice)#61
heidi-dang merged 2 commits intomainfrom
pr/feat-w2p1-governor-slice

Conversation

@heidi-dang
Copy link
Owner

Cherry-pick of initial process resource governor (P1-1 + P1-2 core) as a small slice PR. Resolve merge markers and ensure clean build + tests.

Verification:

  • Release build
  • ctest
  • governor unit tests

- Add GOV_APPLY schema with strict linear JSON parser (<=512B payload)
- Add ACK/NACK codes for validation errors
- Implement RuleSet POD structures (cpu/mem/pids/rlim/oom_score_adj)
- Add bounded ingress queue (256 capacity) with backpressure
- Implement ProcessGovernor with apply loop
- Implement affinity (sched_setaffinity), nice (setpriority),
  rlimits (prlimit RLIMIT_NOFILE/RLIMIT_CORE), oom_score_adj
- Add 20 unit tests for parser (passes 20/20)
@gemini-code-assist
Copy link

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@heidi-dang heidi-dang merged commit cd13d5f into main Feb 19, 2026
4 checks passed
@heidi-dang heidi-dang deleted the pr/feat-w2p1-governor-slice branch February 19, 2026 09:48
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.

1 participant