Skip to content

Add Cloud Agent development environment configuration - #136

Open
georgepwall1991 wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-504a
Open

georgepwall1991 wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-504a

Conversation

@georgepwall1991

Copy link
Copy Markdown
Owner

Summary

Sets up a reproducible Cloud Agent development environment for CPMigrate, a .NET 10 CLI tool. Previously there was no .cursor/environment.json and no .NET SDK installed, so agents could not build, test, or run the tool out of the box.

Changes

  • .cursor/environment.json — repository-managed environment that runs the bootstrap script on install.
  • .cursor/install.sh — idempotent bootstrap that installs the .NET 10 SDK (matching CI's 10.0.x), exposes dotnet on PATH via a /usr/local/bin symlink (the muxer resolves DOTNET_ROOT from the binary's real path), and runs dotnet restore CPMigrate.sln.

Validation

All performed on the Cloud Agent VM:

Check Result
dotnet restore Restored both projects
dotnet build -c Release Build succeeded, 0 warnings / 0 errors
dotnet test -c Release 1922 / 1922 passed
cpmigrate --doctor All environment checks pass
cpmigrate --analyze -s CPMigrate.sln Ran all 13 analyzers end-to-end
Install idempotence Ran twice; second run skips SDK install
Clean login shell dotnet resolves and builds without manual PATH setup
Open in Web Open in Cursor 

Co-authored-by: George Wall <georgepwall1991@users.noreply.github.com>
@georgepwall1991
georgepwall1991 marked this pull request as ready for review September 1, 2026 20:56
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-01T20:58:52.916503Z ec256e4 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants