Skip to content

fix(plugin): forward the IdentifyProjects seed options to IdentifyEnvironments - #33

Merged
liamcervante merged 1 commit into
mainfrom
fix/forward-identify-projects-raw-options
Oct 9, 2026
Merged

liamcervante merged 1 commit into
mainfrom
fix/forward-identify-projects-raw-options

Conversation

@liamcervante

Copy link
Copy Markdown
Contributor

IdentifyProjectsResponse.raw_options is documented as a directory-level seed that the caller hands back to the same plugin in IdentifyEnvironmentsRequest.raw_options for that project root. Config dropped it at both ends: IdentifyDirectory never read it from the response, and IdentifyEnvironments never set it on the request, so plugins couldn't carry anything they learn at identification time (such as the repository root) into environment discovery.

This carries the seed on IdentificationResult and the autodetect tree Node, and passes it to IdentifyEnvironments. Identifier.IdentifyEnvironments gains a rawOptions argument; nothing outside config calls it.

…ironments

IdentifyProjectsResponse.raw_options is documented as a directory-level seed
that the caller hands back to the plugin's IdentifyEnvironments for that
project root, but config dropped it: IdentifyDirectory never read it, and
IdentifyEnvironments never set it on the request. Carry it on the
IdentificationResult and tree Node and pass it through.
@liamcervante liamcervante self-assigned this Oct 8, 2026
@liamcervante
liamcervante requested review from a team and liamg October 9, 2026 08:49
@liamcervante
liamcervante marked this pull request as ready for review October 9, 2026 08:49

@liamg liamg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@liamcervante
liamcervante merged commit f33d5f4 into main Oct 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants