Skip to content

Fix load-recipe logic to find YAML recipes from dependency resource loaders#7053

Merged
greg-at-moderne merged 5 commits intomainfrom
greg-fix-yaml-active-recipe
Mar 20, 2026
Merged

Fix load-recipe logic to find YAML recipes from dependency resource loaders#7053
greg-at-moderne merged 5 commits intomainfrom
greg-fix-yaml-active-recipe

Conversation

@greg-at-moderne
Copy link
Contributor

@greg-at-moderne greg-at-moderne commented Mar 19, 2026

What's changed?

When loading recipes, also search the "dependencyResourceLoaders" for YAML recipes.

What's your motivation?

Otherwise Moderne CLI might fail to find a YAML recipe.

@greg-at-moderne greg-at-moderne changed the title Fix ClasspathScanningLoader to find YAML recipes in separate resource directories Fix load-recipe logic to find YAML recipes from dependency resource loaders Mar 19, 2026
@greg-at-moderne greg-at-moderne marked this pull request as ready for review March 20, 2026 06:31
@greg-at-moderne greg-at-moderne merged commit 2b618fa into main Mar 20, 2026
1 check passed
@greg-at-moderne greg-at-moderne deleted the greg-fix-yaml-active-recipe branch March 20, 2026 06:31
@github-project-automation github-project-automation bot moved this from In Progress to Done in OpenRewrite Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant