Repository navigation
Set up Cursor Cloud dev environment + AGENTS.md instructions - #1
Draft
removecode wants to merge 1 commit into
Draft
removecode wants to merge 1 commit into
removecode wants to merge 1 commit into
Conversation
Document how to build (mvn clean install -Plocal), populate internal Ctrip artifacts from the mvn_repo branch, run tests, and launch dev services (Console/MetaServer/Keeper/Proxy via their AppTest with H2 and -DforkCount=0). Note is force-added because AGENTS.md is gitignored. Co-authored-by: daydayup <removecode@users.noreply.github.com>
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
Sets up the development environment for the XPipe (Ctrip Redis multi-DC) codebase in Cursor Cloud and documents it for future agents.
AGENTS.mdwith a## Cursor Cloud specific instructionssection covering build, internal-artifact bootstrap, tests, and how to run each dev service.~/.m2with internal Ctrip artifacts from themvn_repobranch). The update script lives in the Cursor environment config, not in the repo.Environment verified
~/.m2via themvn_repobranchinstall.sh(not on Maven Central).mvn clean install -Plocal -DskipTests— all 13 modulesBUILD SUCCESS.mvn -o test -Plocal -pl redis/redis-proxy-client— 34 tests, 0 failures.:8080viaAppTest#startConsole8080(H2,-DforkCount=0) and performed a hello-world action: created a Data Center viaPOST /api/dcand verified it persists in the UI (#/dc_list) and API (/api/dc).Demo
xpipe_console_dc_demo.mp4
Console cluster list
DC list showing created cloud-demo DC
To show artifacts inline, enable in settings.