Repository navigation
Resolve plugin arguments from the owning repository - #126
Open
mike-north wants to merge 35 commits into
Open
mike-north wants to merge 35 commits into
mike-north wants to merge 35 commits into
Conversation
Resolve marketplace layouts independently of their plugin envelopes. Keep registry membership stable across single-plugin builds and report hook freshness in validate and lint.
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Resolve scaffold destinations before generating files. Preserve marketplace rediscovery and config evaluation in the build pipeline. Compare compiled CLI and core results with main.
Preserve add-target registration and envelope diagnostics for existing paths. Keep optional plugin discovery within the selected layout and cover filesystem entries in the compiled parity suite.
This branch has not been deployed
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.
Plugin arguments
The CLI and core exports keep their existing behavior for
build,validate,lint,scaffold,add-target, andcheck-supportwhen the original operation succeeds orreports an error other than a missing bare plugin name. This covers exit status, stdout,
stderr, error messages, return values, file bytes, directory changes, and config
evaluation order. Scaffold always uses its existing name handling.
When the original lookup reports a missing bare plugin name, find the nearest layout
at or above the invocation directory in its Git checkout. A layout is marked by
aipm.repo.ts,aipm.workspace.ts, or aplugins/directory. Check only the path formedby joining the layout's configured
pluginsRoot(defaultplugins/) with the name asgiven. The entry must be a directory recognized by marketplace discovery. Symlinks
in its parent path are allowed. Run the operation as if the selected absolute path
had been supplied from the invocation directory. If there is no matching directory,
keep the original missing-plugin error.
Each Git checkout query has a five-second deadline. An unanswered query is treated as
no checkout.
This behavior is defined with debugging and tracing disabled and with declarative
configs that do not read command-line arguments, environment variables, the clock,
or filesystem contents outside their imports. The lookup may evaluate
aipm.repo.tsan extra time to findpluginsRoot.