docs: add Cursor Cloud environment setup notes - #7044
Closed
rrama wants to merge 1 commit into
Closed
Conversation
Co-authored-by: Ben Durrans <Benjamin.Durrans@snyk.io>
✅ 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. |
Contributor
|
Contributor
Author
|
Superseded by #7050, which now carries the consolidated notes (including the more accurate account of the license-prep workaround: because |
9 tasks
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.
What
Adds a
## Cursor Cloud specific instructionssection toAGENTS.mddocumenting the non-obvious environment setup needed to build/run/test the Snyk CLI in Cursor Cloud.Why
Cursor Cloud has restricted egress and a specific pre-provisioned toolchain. The notes record durable caveats future agents need:
/exec-daemon/nodeis first on PATH but has no npm; use nvm Node22.22.3which provides npm11.12.1(this repo pinsengine-strict=truewithnpm ^11.12.1).go1.26.5(auto-download fromgo.devis blocked).make build BUILD_MODE=public(cliv2-private/is inaccessible); outputbinary-releases/snyk-linux.convcois installed at/usr/local/bin/convco(required byrelease-scripts/next-version.sh).prepare-3rd-party-licensesbuild step downloads Go's LICENSE from the blockedgo.dev; a copy is pre-placed at the gitignoredcliv2/internal/embedded/_data/licenses/go.dev/LICENSEso the step skips it.Docs-only change.
Verification
npm ci✅make build BUILD_MODE=public✅ →binary-releases/snyk-linux --versionworkscd cliv2 && go test ./pkg/... ./internal/...✅npx jest test/jest/unit/lib/formatters✅ (120 tests)snyk-test/all-projects.spec.tsagainst the built binary ✅ (20/20)