Skip to content

Set up Cursor Cloud dev environment (Redpanda epoll fix + AGENTS.md) - #178

Draft
Vinosaamaa wants to merge 2 commits into
mainfrom
cursor/setup-dev-environment-9c80
Draft

Vinosaamaa wants to merge 2 commits into
mainfrom
cursor/setup-dev-environment-9c80

Conversation

@Vinosaamaa

Copy link
Copy Markdown
Owner

Summary

  • Configured and verified the full Chanter local development environment (infra + backend microservices + frontend) on a Cursor Cloud VM.
  • Forced Redpanda's Seastar reactor backend to epoll in infra/docker-compose.yml; the default linux-aio backend crashes on startup in restricted container/VM environments (close() syscall failed: Invalid argument). epoll is supported on all Linux hosts, so it is safe for every dev environment.
  • Added AGENTS.md with a ## Cursor Cloud specific instructions section capturing non-obvious startup/run/test caveats for future agents.

Acceptance Criteria

  • make product-up brings up all services and make product-health passes.
  • Lint and tests run green for frontend and backend.
  • Core product functionality is exercised end-to-end (channel chat + AI Study Assistant).

Test Plan

  • Unit tests — backend mvn test (all modules) and frontend vitest run (203 tests)
  • Integration or contract tests
  • Frontend tests — npm run lint + npm test
  • Docker Compose smoke test — infra healthy; make product-health passes
  • Not applicable because:

Manual verification:

  • Signed in as the demo learner, posted a message in #general (realtime channel chat), and asked the AI Study Assistant a question in #questions — both worked end-to-end.

chanter_channel_chat_demo.mp4
chanter_ai_study_assistant_demo.mp4
Message posted in #general channel
AI Study Assistant answer in #questions

Architecture And Operations Notes

  • Service boundaries changed: no
  • Database migrations added: no
  • Events or API contracts changed: no
  • Security or permission behavior changed: no
  • Observability impact: no

Checklist

  • Scope is a vertical slice with a clear user or operator outcome.
  • Backend permission checks are enforced by the service performing the protected action.
  • No secrets or local-only credentials are committed.
  • Docs or ADRs are updated for durable architecture/process decisions.

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

cursoragent and others added 2 commits July 16, 2026 05:02
The default linux-aio Seastar backend crashes on startup in restricted
container/VM environments (close() syscall failed: Invalid argument).
Forcing --reactor-backend=epoll makes Redpanda start reliably; epoll is
supported on all Linux hosts so it is safe for every dev environment.

Co-authored-by: Jason X. <Vinosaamaa@users.noreply.github.com>
Co-authored-by: Jason X. <Vinosaamaa@users.noreply.github.com>
@codeant-ai

codeant-ai Bot commented Jul 16, 2026

Copy link
Copy Markdown

🏁 CodeAnt Quality Gate Results

Commit: ecd670bc
Scan Time: 2026-07-16 05:04:00 UTC

✅ Overall Status: PASSED

Quality Gate Details

Quality Gate Status Details
Duplicate Code ✅ PASSED 0.0% duplicated
SAST ✅ PASSED No security issues
IAC ✅ PASSED Rating S: No issues

View Full Results

@cursor
cursor Bot deleted the cursor/setup-dev-environment-9c80 branch July 17, 2026 00:17
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