Deduplicate test_sanity_check.yml into test_component.yml#3868
Merged
jayhawk-commits merged 1 commit intomainfrom Mar 11, 2026
Merged
Deduplicate test_sanity_check.yml into test_component.yml#3868jayhawk-commits merged 1 commit intomainfrom
jayhawk-commits merged 1 commit intomainfrom
Conversation
Add a "sanity" entry to the test matrix in fetch_test_configurations.py and a test_sanity.py script, then route sanity through test_component.yml via a new sanity_component output in test_artifacts.yml. Delete the now- redundant test_sanity_check.yml. The existing workflow_dispatch + sanity_check_only_for_family input on test_artifacts.yml covers the dispatch use case. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
geomin12
approved these changes
Mar 10, 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.
Implementation for #3823
Summary
"sanity"entry to the test matrix infetch_test_configurations.py, producing a separatesanity_componentGHA output that flows through the same loop logic as other components.build_tools/github_actions/test_executable_scripts/test_sanity.pyto encapsulate the sanity test logic (previously inline in the workflow).test_artifacts.ymlto calltest_component.ymlfor the sanity gate via the newsanity_componentoutput.test_sanity_check.yml.The existing
workflow_dispatch+sanity_check_only_for_familyinput ontest_artifacts.ymlalready covers the dispatch use case, so noworkflow_dispatchtrigger was added totest_component.yml.This effort will be leveraged on the super-repos, to let them run the new sanity test script.
Test plan
test_artifacts.ymlsanity job runs viatest_component.ymlwith correct container options (--cap-add SYS_MODULE -v /lib/modules:/lib/modules).test_sanity.py.