feat(update): wire CPU period/quota/share into update, support negative quota #3683
All Vouch review confidence checks passed
Residual risk 0.29 = Change Risk (0.52) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 410 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.360
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #3683"
general
weight: 0.35
utam0k
Description
--cpu-period/--cpu-quota/--cpu-shareinyouki updateinto the actual cgroup update-1) for--cpu-quotato remove the quota limit, matching runc's behavior--cpu-burst/--cpu-idleinto the update as well, rejecting--cpu-idlevalues other than 0/1cpu_burst_test,update_cgroup_cpu_idle_test,update_cpu_period_without_previous_limits_test,update_cpu_quota_without_previous_limits_test)cpu_burst_test's--memory 100Mstep to use a raw byte count (104857600), since youki's--memorydoesn't support unit-suffix parsing yet (unlike runc'sRAMInBytes); this only surfaced once the test started running against youkiPart of #3676
@utam0k @saku3
cpu_burst_testports runc's test verbatim, but its--memory 100Mstep needed changing to a raw byte count since youki's--memoryhas no unit-suffix parsing yet. Is that an acceptable stopgap, or should this test stay runc-only until--memorysupports suffixes?Type of Change
<!-- Mark the appropriate option with an [x] -->
Testing
<!-- Describe the tests you ran and/or added to verify your changes -->
Related Issues
<!-- Link any related issues using the GitHub issue syntax: #issue-number
If there is no open issue for this, please add details of the problem or open a new issue. -->
Fixes #3676
Additional Context
<!-- Add any other context about the pull request here -->
unui tests check (youki version: 0.7.0)
contest check (youki version: 0.7.0)