Set up Cursor Cloud dev environment for RepoAtlas#23
Draft
ChimdumebiNebolisa wants to merge 1 commit into
Draft
Conversation
Co-authored-by: Chimdumebi Nebolisa <ChimdumebiNebolisa@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
Sets up and verifies the development environment for RepoAtlas (single Next.js 14 app) in Cursor Cloud, and documents non-obvious setup caveats for future agents.
AGENTS.mdwith a## Cursor Cloud specific instructionssection covering the e2e/dev-server port collision, e2e state contamination, Playwright browser install, and the core smoke-test workflow.npm cinpx playwright install --with-deps chromiumNo application code was changed.
Verification
npm cinpm run lintnpm testnpm run buildnpm run devPLAYWRIGHT_PORT=3100 npm run test:e2eCore functionality verified end-to-end: analyzed the
fixtures/repo-tsfixture viaPOST /api/analyze, fetched the generated report, exported Markdown, and drove the UI "Try sample Candidate Brief" flow (Candidate Brief + interactive Architecture Map render correctly).Walkthrough
repoatlas_candidate_brief_demo.mp4
Candidate Brief rendered
Interactive Architecture Map tab
Note:
npm run test:e2ereuses an already-running dev server on port 3000 (reuseExistingServer: !CI), which uses a differentREPORTS_DIRthan the tests expect and causes false failures. Run e2e on an isolated port (PLAYWRIGHT_PORT=3100) when a dev server is running. SeeAGENTS.mdfor details.To show artifacts inline, enable in settings.