Auto-detect required builds from YAML net values in generate_workflows#4629
Draft
Auto-detect required builds from YAML net values in generate_workflows#4629
Conversation
Co-authored-by: DavidHuber-NOAA <69919478+DavidHuber-NOAA@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix issue with missing execs in workflow generation
Auto-detect required builds from YAML net values in generate_workflows
Mar 6, 2026
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
Description
When using
./generate_workflows.sh -b -y "YAML_FILE", only the default builds (UFS, UPP, UFS_Utils, GFS-utils) were triggered. System-specific builds (GSI, GDASApp, etc.) were only added to the build when using-G/-E/-S/-Cflags, leaving users with incomplete builds when specifying YAMLs directly via-y.Changes
netvalues: After the-G/-E/-S/-Chandling blocks, if none of those flags were specified, each YAML in the list is scanned for itsnetvalue and appropriate build flags are added automatically:net: gfs→gfs gsi gdas(equivalent to-G)net: gefs→gefs(equivalent to-E)net: sfs→sfs(equivalent to-S)net: gcafs→gcafs gdas(equivalent to-C)-b/-Bhelp text to document the automatic system build selection behavior.Resolves #2837
Type of change
Change characteristics
How has this been tested?
Logic verified by testing grep-based
net:detection against existing YAML files indev/ci/cases/pr/for all four system types (gfs, gefs, sfs, gcafs) and mixed YAML lists.Checklist
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.