Closed
runbook: add ubuntu_azure_kernel_validate.yml with correct tier filtering#4558
Conversation
…est filtering When tier=0 is passed, 300+ test cases were being selected because the runbook was missing the ./tiers/tier.yml include that maps the tier variable to proper priority-based testcase criteria. The fix includes ./tiers/tier.yml which dynamically includes t$(tier).yml: - tier=0 → t0.yml → testcase criteria: priority: 0 (select only priority 0 tests) - tier=1 → t1.yml → testcase criteria: priority: [0, 1] - etc. This ensures the tier variable properly controls test case selection, preventing unfiltered broad selection of 300+ tests when tier0 is specified.
Copilot
AI
changed the title
[WIP] Fix unspecified issue in YAML configuration file
runbook: add ubuntu_azure_kernel_validate.yml with correct tier filtering
Jun 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When
tier=0was passed to the Ubuntu Azure kernel validation runbook, 300+ test cases were selected instead of the expected tier-0 subset, because the runbook lacked the./tiers/tier.ymlinclude that drives priority-based test selection.Changes
lisa/microsoft/runbook/ubuntu_azure_kernel_validate.yml: runbook for Ubuntu Azure kernel validation that correctly chains the tier mechanism./tiers/tier.ymlfirst — this dynamically loadst$(tier).yml, which sets thetestcase.criteria.priorityfiltertier: 0as the default (line 9); passtier:Non the CLI to overridetestcasesection — avoids overriding the tier-resolved criteriaHow tier filtering works
tiers/tier.yml→t$(tier).yml→testcase: criteria: priority: <N>. Without thetier.ymlinclude, no testcase criteria is applied and the selector falls back to the full test catalogue.Original prompt
fix it
[Chronological Review: The conversation began with the user questioning the selection of 300+ test cases when tier 0 is passed. The user then requested to continue iterating on a previous task. The conversation included attachments related to the repository "lisa" and a YAML configuration file. The user subsequently requested a fix for an unspecified issue in the YAML file, indicating a focus on the configuration settings for kernel validation.][Intent Mapping:
[Technical Inventory:
[Code Archaeology:
[Progress Assessment:
[Context Validation: All necessary context for continuing work on the YAML file and understanding the repository structure is captured.]
[Recent Commands Analysis:
1. Conversation Overview: - Primary Objectives: 1. "why a300+ testcases are selected when tier0 is passed." 2. "Continue to iterate?" 3. "fix it." - Session Context: The conversation has revolved around understanding test case selection criteria and making adjustments to a YAML configuration file for Azure kernel validation. - User Intent Evolution: The user initially sought clarification on test cases, then moved to iterating on a task, and finally requested a fix for the YAML file.- Technical Foundation:
- Repository: "lisa" (Microsoft), current branch: "20260521.1," default branch: "main."
- File: "ubuntu_azure_kernel_validate.yml" - Configures Azure kernel validation with various test parameters.
- Codebase Status:
- File Name: "ubuntu_azure_kernel_validate.yml"
- Purpose: Configures the Azure kernel validation process.
- Current State: User is focused on line 9, which contains the keyword "tier."
- Key Code Segments: Includes variables for test name, project, pass, and paths to other YAML files.
- Dependencies: Relies on other YAML files for common tests and platform-specific configurations.
- Problem Resolution:
- Issues Encountered: User has identified a need for a fix in the YAML file.
- Solutions Implemented: None yet; the user has requested a fix.
- Debugging Context: The user is actively working on the YAML file to ensure proper configuration for kernel validation.
- Progress Tracking:
- Completed Tasks: Context and attachments related to the repository and YAML file have been provided.
- Partially Complete Work: User is addressing an issue in the YAML file.
- Validated Outcomes: None yet; the user is still in the process of fixing the configuration.
- Active Work State:
- Current Focus: The user is working on fixing the YAML file, specifically line 9.
- Recent Context: The user has provided context about the repository and the YAML file, indicating a focus on kernel validation.
- Working Code: The user is examining the "tier" configuration in the YAML file.
- Immediate Context: The user is seeking a fix for the YAML file to ensure proper kernel validation.
- Recent Operations:
- Last Agent Commands: User requested a fix for the YAML file.
- Tool Results Summary: The user provided context about the repository and the YAML file, focusing on line 9.
- Pre-Summary State: The agent was actively addressing the user's request to fix the YAML file.
- Operation Context: The user's commands were aimed at clarifying and fixing the configuration for kernel validation.
- Continuation Plan:
- Pending Task 1...
Created from VS Code.