feat: [AG-414] add studio extension to CLI - #7100
Merged
Merged
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
dan-arpino
force-pushed
the
feat/add-studio-extension
branch
3 times, most recently
from
August 20, 2026 11:42
dba34ec to
a86c413
Compare
dan-arpino
force-pushed
the
feat/add-studio-extension
branch
from
August 31, 2026 19:55
a86c413 to
fe889cf
Compare
dan-arpino
force-pushed
the
feat/add-studio-extension
branch
2 times, most recently
from
September 8, 2026 19:38
80405f6 to
e5a3a80
Compare
dan-arpino
marked this pull request as ready for review
September 8, 2026 19:41
This comment has been minimized.
This comment has been minimized.
PeterSchafer
approved these changes
Sep 9, 2026
dan-arpino
force-pushed
the
feat/add-studio-extension
branch
from
September 9, 2026 15:27
e5a3a80 to
fa6ea0a
Compare
PR Reviewer Guide 🔍
|
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.
Pull Request Submission Checklist
are release-note ready, emphasizing
what was changed, not how.
What does this PR do?
Adding a new CLI extension for Snyk Studio. This new extension takes the existing hooks and installer that we have in snyk/studio-recipes and embeds them into the CLI, so that you can both install and run your Snyk Studio scripts directly by running CLI commands, as opposed to running random python scripts.
Where should the reviewer start?
Just some package changes adding our new cli-extension
How should this be manually tested?
you should be able to run
snyk studio installand install the new hooks. We've added a bunch of comparison tests in our studio-internal repo to confirm working solutions.Added tests to Studio Internal to test the CLI's extension:
https://github.com/snyk/studio-internal/pull/256
https://github.com/snyk/studio-internal/pull/255
https://github.com/snyk/studio-internal/pull/290
What's the product update that needs to be communicated to CLI users?
This is going in as
experimentaland not yet GA.Risk assessment (Low | Medium | High)?
Low - should be isolated to just the new extension. No changes to existing functionality
What are the relevant tickets?
AG-411
Note
Low Risk
Additive extension registration only; no changes to existing CLI behavior beyond loading the new module.
Overview
Wires the Snyk Studio CLI extension into the private
cliv2binary so Studio commands (e.g.snyk studio install) are available alongside existing extensions.The change adds
github.com/snyk/cli-extension-studiov1.0.1 togo.mod/go.sum, registersstudio.Initviacore.WithAdditionalExtensionsinmain.go, and includes a commented localreplacefor developing against a siblingcli-extension-studiorepo.Reviewed by Cursor Bugbot for commit fa6ea0a. Bugbot is set up for automated code reviews on this repo. Configure here.