Add Cloud Agent environment config for Seqera Docs - #1782
Open
edmundmiller wants to merge 1 commit into
Open
Conversation
Define an idempotent install script and Docusaurus dev server terminal with memory-conscious NODE_OPTIONS matching netlify.toml. Use npm install instead of npm ci because the lockfile pins darwin-arm64 rspack bindings. Co-authored-by: Edmund Miller <edmundmiller@users.noreply.github.com>
|
Cursor Agent can help with this pull request. Just |
✅ Deploy Preview for seqera-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
christopher-hakkaart
self-requested a review
August 26, 2026 02:40
christopher-hakkaart
approved these changes
Aug 26, 2026
christopher-hakkaart
left a comment
Member
There was a problem hiding this comment.
Curious about what you're using this for, but LGTM
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.
Summary
Adds repository-managed Cloud Agent environment configuration for local Docusaurus development.
.cursor/environment.json— install script, dev server terminal on port 3001, and memory-conscious env vars.cursor/cloud-agent-install.sh— idempotentnpm install+fetch-docs-oss(usesnpm installinstead ofnpm cibecause the lockfile pins darwin-arm64 rspack bindings)package-lock.json— updated Linux platform bindings fromnpm installValidation
npm install+fetch-docs-osshttp://localhost:3001)Memory notes
Dev server runs with
NODE_OPTIONS=--max-old-space-size=4096andDISABLE_RSPACK_INCREMENTAL=true(matchingnetlify.toml). Full productionnpm run buildis memory-intensive and can OOM — use the dev server for local work.Setup details