Skip to content

Conversation

@shanman190
Copy link
Contributor

@shanman190 shanman190 commented Jan 16, 2026

What's changed?

  • Make recipe resolvers method parameters for RecipeListing#describe and RecipeListing#prepare.
  • RecipeBundleResolver and RecipeBundleReader now implement Closeable, so that they can release resources when no longer needed.

What's your motivation?

  • Based upon learnings, having recipe resolvers set as optional fields on the marketplace proved to be slightly awkward.
  • RecipeBundleResolver instances need to be closable so that resources can be released

Anything in particular you'd like reviewers to focus on?

N/A

Anyone you would like to review specifically?

@jkschneider or delegate

Have you considered any alternatives or workarounds?

N/A

Any additional context

N/A

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

@shanman190 shanman190 self-assigned this Jan 16, 2026
@shanman190 shanman190 added the bug Something isn't working label Jan 16, 2026
@shanman190 shanman190 added the enhancement New feature or request label Jan 16, 2026
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Jan 16, 2026
@shanman190 shanman190 marked this pull request as ready for review January 16, 2026 23:28

public RecipeDescriptor describe() {
return resolve().describe(this);
public RecipeDescriptor describe(List<RecipeBundleResolver> resolvers) {
Copy link
Member

Choose a reason for hiding this comment

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

Widen to Collection or Iterable I think

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've widened this to Collection, so if we ever need to use some of the helpful methods at that level we can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

3 participants