Skip to content

STP for Adding Support for vmiCPUAllocationRatio in AAQ#67

Open
akri3i wants to merge 2 commits intoRedHatQE:mainfrom
akri3i:aaq
Open

STP for Adding Support for vmiCPUAllocationRatio in AAQ#67
akri3i wants to merge 2 commits intoRedHatQE:mainfrom
akri3i:aaq

Conversation

@akri3i
Copy link
Copy Markdown

@akri3i akri3i commented Apr 1, 2026

STP Metadata

VEP issue:

What this PR does

STP for Adding Support for vmiCPUAllocationRatio in AAQ

Special notes for your reviewer

Summary by CodeRabbit

  • Documentation
    • Added comprehensive test plan documentation for Advanced Admission Queue quota accounting validation with CPU allocation ratio configurations.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 1, 2026

📝 Walkthrough

Walkthrough

Introduced a new software test plan document specifying validation procedures for AAQ quota accounting with HCO vmiCalcConfigName and vmiCPUAllocationRatio configurations. The document details feature requirements, test scenarios, environment prerequisites, acceptance criteria, and traceability mappings to project issues.

Changes

Cohort / File(s) Summary
Test Plan Documentation
stps/sig-virt/aaq-vmi-cpu-allocation-ratio-stp.md
New STP document defining feature behavior requirements, quota calculation rules, live migration expectations, mandatory QE checklist items, testing scope boundaries, environment prerequisites, entry criteria, identified risks, and test scenario traceability to tracked issues.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The title directly and specifically summarizes the main change: adding an STP document for vmiCPUAllocationRatio support in AAQ, which matches the changeset content.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-virtualization-qe-bot
Copy link
Copy Markdown

Report bugs in Issues

Welcome! 🎉

This pull request will be automatically processed with the following features:

🔄 Automatic Actions

  • Reviewer Assignment: Reviewers are automatically assigned based on the OWNERS file in the repository root
  • Size Labeling: PR size labels (XS, S, M, L, XL, XXL) are automatically applied based on changes
  • Issue Creation: A tracking issue is created for this PR and will be closed when the PR is merged or closed
  • Branch Labeling: Branch-specific labels are applied to track the target branch
  • Auto-verification: Auto-verified users have their PRs automatically marked as verified
  • Labels: Enabled categories: branch, can-be-merged, cherry-pick, has-conflicts, hold, needs-rebase, size, verified, wip

📋 Available Commands

PR Status Management

  • /wip - Mark PR as work in progress (adds WIP: prefix to title)
  • /wip cancel - Remove work in progress status
  • /hold - Block PR merging (approvers only)
  • /hold cancel - Unblock PR merging
  • /verified - Mark PR as verified
  • /verified cancel - Remove verification status
  • /reprocess - Trigger complete PR workflow reprocessing (useful if webhook failed or configuration changed)
  • /regenerate-welcome - Regenerate this welcome message

Review & Approval

  • /lgtm - Approve changes (looks good to me)
  • /approve - Approve PR (approvers only)
  • /assign-reviewers - Assign reviewers based on OWNERS file
  • /assign-reviewer @username - Assign specific reviewer
  • /check-can-merge - Check if PR meets merge requirements

Testing & Validation

  • /retest tox - Run Python test suite with tox
  • /retest all - Run all available tests

Cherry-pick Operations

  • /cherry-pick <branch> - Schedule cherry-pick to target branch when PR is merged
    • Multiple branches: /cherry-pick branch1 branch2 branch3

Label Management

  • /<label-name> - Add a label to the PR
  • /<label-name> cancel - Remove a label from the PR

✅ Merge Requirements

This PR will be automatically approved when the following conditions are met:

  1. Approval: /approve from at least one approver
  2. LGTM Count: Minimum 2 /lgtm from reviewers
  3. Status Checks: All required status checks must pass
  4. No Blockers: No wip, hold, has-conflicts labels and PR must be mergeable (no conflicts)

📊 Review Process

Approvers and Reviewers

Approvers:

  • dshchedr
  • vsibirsk

Reviewers:

  • SamAlber
  • SiboWang1997
  • akri3i
  • dshchedr
  • jerry7z
  • kbidarkar
  • vsibirsk
Available Labels
  • hold
  • verified
  • wip
  • lgtm
  • approve
AI Features
  • Cherry-Pick Conflict Resolution: Enabled (claude/claude-opus-4-6[1m])

💡 Tips

  • WIP Status: Use /wip when your PR is not ready for review
  • Verification: The verified label is removed on new commits unless the push is detected as a clean rebase
  • Cherry-picking: Cherry-pick labels are processed when the PR is merged
  • Permission Levels: Some commands require approver permissions
  • Auto-verified Users: Certain users have automatic verification and merge privileges

For more information, please refer to the project documentation or contact the maintainers.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (1)
stps/sig-virt/aaq-vmi-cpu-allocation-ratio-stp.md (1)

7-8: Replace metadata placeholders with concrete tracking links

Line 7 and Line 8 still use TBD, which leaves STP traceability incomplete. Please link the relevant HLD/feature tracking item (or explicitly state “N/A” with rationale) before merge.

Based on learnings: when no enhancement PR exists in this repo, using only the HLD link in Enhancement(s) is acceptable.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@stps/sig-virt/aaq-vmi-cpu-allocation-ratio-stp.md` around lines 7 - 8,
Replace the placeholder "TBD" under the metadata headers "**Enhancement(s):**"
and "**Feature Tracking:**" in stps/sig-virt/aaq-vmi-cpu-allocation-ratio-stp.md
with concrete links or values: add the HLD link (or the enhancement PR link) to
"**Enhancement(s):**" and the corresponding tracking issue/board URL to
"**Feature Tracking:**"; if no enhancement exists, explicitly use "N/A" with a
one-sentence rationale under those headers instead of "TBD" to complete STP
traceability.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@stps/sig-virt/aaq-vmi-cpu-allocation-ratio-stp.md`:
- Line 206: The checklist entry "Compatibility Testing" is inconsistent ("[x]"
plus "N/A"); update that line (the checklist item labeled Compatibility Testing)
to use one status model: either mark it unchecked and keep "N/A" (e.g., "[ ]
**Compatibility Testing** — N/A") or keep it checked and replace "N/A" with a
concrete validation statement summarizing what compatibility was verified (e.g.,
"[x] **Compatibility Testing** — Verified on X kernel/VM config: ...").
- Line 253: Move the checklist item "AAQ controller handles the ratio in
`VirtualResources` quota calculation" out of the Entry Criteria section and into
the Acceptance/Expected Results section so it reads as an outcome to validate
rather than a precondition; update the Entry Criteria to only include
environment/readiness checks and ensure the Acceptance/Expected Results (or
Acceptance Criteria) contains the relocated outcome and any test steps or
pass/fail conditions that verify the AAQ controller behavior.

---

Nitpick comments:
In `@stps/sig-virt/aaq-vmi-cpu-allocation-ratio-stp.md`:
- Around line 7-8: Replace the placeholder "TBD" under the metadata headers
"**Enhancement(s):**" and "**Feature Tracking:**" in
stps/sig-virt/aaq-vmi-cpu-allocation-ratio-stp.md with concrete links or values:
add the HLD link (or the enhancement PR link) to "**Enhancement(s):**" and the
corresponding tracking issue/board URL to "**Feature Tracking:**"; if no
enhancement exists, explicitly use "N/A" with a one-sentence rationale under
those headers instead of "TBD" to complete STP traceability.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: ddc9f613-2e3f-4cc4-83fd-c0b715a9ccc4

📥 Commits

Reviewing files that changed from the base of the PR and between dc8aed7 and 3e2c1e7.

📒 Files selected for processing (1)
  • stps/sig-virt/aaq-vmi-cpu-allocation-ratio-stp.md


**Integration & Compatibility**

- [x] **Compatibility Testing** — N/A
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix checklist state inconsistency ([x] + N/A)

Line 206 marks Compatibility Testing as checked while also saying N/A. Use one status model consistently (e.g., unchecked N/A, or checked with a concrete validation statement).

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@stps/sig-virt/aaq-vmi-cpu-allocation-ratio-stp.md` at line 206, The checklist
entry "Compatibility Testing" is inconsistent ("[x]" plus "N/A"); update that
line (the checklist item labeled Compatibility Testing) to use one status model:
either mark it unchecked and keep "N/A" (e.g., "[ ] **Compatibility Testing** —
N/A") or keep it checked and replace "N/A" with a concrete validation statement
summarizing what compatibility was verified (e.g., "[x] **Compatibility
Testing** — Verified on X kernel/VM config: ...").

- [ ] Test environment can be set up and configured (see Section II.3)
- [ ] HCO `spec.deployment.virtualization.vmiCPUAllocationRatio` propagation to KubeVirt CR is confirmed
working
- [ ] AAQ controller handles the ratio in `VirtualResources` quota calculation
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Move feature-behavior validation out of Entry Criteria

Line 253 (“AAQ controller handles the ratio...”) is an outcome this STP is meant to validate, not a precondition. Keeping it as entry criteria can make execution circular. Consider moving it to acceptance/expected results and keeping entry criteria strictly environment/readiness checks.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@stps/sig-virt/aaq-vmi-cpu-allocation-ratio-stp.md` at line 253, Move the
checklist item "AAQ controller handles the ratio in `VirtualResources` quota
calculation" out of the Entry Criteria section and into the Acceptance/Expected
Results section so it reads as an outcome to validate rather than a
precondition; update the Entry Criteria to only include environment/readiness
checks and ensure the Acceptance/Expected Results (or Acceptance Criteria)
contains the relocated outcome and any test steps or pass/fail conditions that
verify the AAQ controller behavior.

@akri3i
Copy link
Copy Markdown
Author

akri3i commented Apr 1, 2026

/wip

@openshift-virtualization-qe-bot-5 openshift-virtualization-qe-bot-5 changed the title STP for Adding Support for vmiCPUAllocationRatio in AAQ WIP: STP for Adding Support for vmiCPUAllocationRatio in AAQ Apr 1, 2026
Signed-off-by: akri3i <guptaakriti70@gmail.com>
@akri3i
Copy link
Copy Markdown
Author

akri3i commented Apr 13, 2026

/wip cancel

@openshift-virtualization-qe-bot-4
Copy link
Copy Markdown

Clean rebase detected — no code changes compared to previous head (b4c59e6).

@openshift-virtualization-qe-bot-4 openshift-virtualization-qe-bot-4 changed the title WIP: STP for Adding Support for vmiCPUAllocationRatio in AAQ STP for Adding Support for vmiCPUAllocationRatio in AAQ Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants