← Back to Pull requests

remove cgroupv1 test #3727

Closed
unknown closed this pull request without merging on Sep 14, 2026 00:28 UTC
View on GitHub
unknown unknown commented on Sep 11, 2026 23:45 UTC
Author

Description


<!-- Provide a clear and concise description of your changes -->

Since cgroup v1 is no longer tested in youki, I will remove the cgroup v1 tests.

cgroup_v1_pids
cgroup_v1_cpu
cgroup_v1_memory
cgroup_v1_blkio
cgroup_v1_absolute_network
cgroup_v1_relative_network

We should probably also remove the cgroup v1 handling from the youki source code separately.

Type of Change


<!-- Mark the appropriate option with an [x] -->
  • Bug fix (non-breaking change that fixes an issue)

  • New feature (non-breaking change that adds functionality)

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

  • Documentation update

  • Refactoring (no functional changes)

  • Performance improvement

  • Test updates

  • CI/CD related changes

  • Other (please describe):
  • Testing


    <!-- Describe the tests you ran and/or added to verify your changes -->
  • Added new unit tests

  • Added new integration tests

  • Ran existing test suite

  • Tested manually (please provide steps)
  • 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. -->
    Related https://github.com/youki-dev/youki/issues/3285

    Additional Context


    <!-- Add any other context about the pull request here -->

    As you can see in oci-validation-rust, these tests were already being skipped.

    # Start group cgroup_v1_blkio
    1 / 4 : empty_100kb : skipped
    	test cannot run in the current environment (run_all, parallel)
    2 / 4 : empty_200kb : skipped
    	test cannot run in the current environment (run_all, parallel)
    3 / 4 : non_empty_100kb : skipped
    	test cannot run in the current environment (run_all, parallel)
    4 / 4 : non_empty_200kb : skipped
    	test cannot run in the current environment (run_all, parallel)
    # End group cgroup_v1_blkio
    
    # Start group cgroup_v1_cpu
    1 / 4 : test_cpu_idle_default : skipped
    	test cannot run in the current environment (run_all, parallel)
    2 / 4 : test_cpu_idle_set : skipped
    	test cannot run in the current environment (run_all, parallel)
    3 / 4 : test_empty_cpu : skipped
    	test cannot run in the current environment (run_all, parallel)
    4 / 4 : test_linux_cgroups_cpus : skipped
    	test cannot run in the current environment (run_all, parallel)
    # End group cgroup_v1_cpu
    
    # Start group cgroup_v1_memory
    1 / 1 : test_linux_cgroups_memory : skipped
    	test cannot run in the current environment (run_all, parallel)
    # End group cgroup_v1_memory
    
    # Start group cgroup_v1_network
    1 / 1 : test_linux_cgroups_network : skipped
    	test cannot run in the current environment (run_all, parallel)
    # End group cgroup_v1_network
    
    # Start group cgroup_v1_pids
    1 / 3 : negative_pid_limit : skipped
    	test cannot run in the current environment (run_all, parallel)
    2 / 3 : positive_pid_limit : skipped
    	test cannot run in the current environment (run_all, parallel)
    3 / 3 : zero_pid_limit : skipped
    	test cannot run in the current environment (run_all, parallel)
    # End group cgroup_v1_pids
    
    # Start group cgroup_v1_relative_network
    1 / 1 : test_linux_cgroups_relative_network : skipped
    	test cannot run in the current environment (run_all, parallel)
    # End group cgroup_v1_relative_network
    

    Diff: 422 lines (+316 / -106) across 5 files Reviewer: utam0k Review duration: 2922m
    All Vouch review confidence checks passed
    Residual risk 0.19 = Change Risk (0.45) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 422 lines diff across 5 files
    0.45
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.362
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #3727"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 45% (MEDIUM) · Higher = larger blast radius
    45%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 19.5% · Safe to merge
    19.5%