chore: set up cloud dev environment for Convex backend - #8
Open
anamhira47 wants to merge 1 commit into
Open
Conversation
- Add @types/node devDependency so the standalone backend typecheck (npx tsc -p convex/tsconfig.json --noEmit) passes on a fresh clone - Document Cursor Cloud Linux setup caveats (anonymous local Convex deployment, auth-gated functions, Universal Links endpoints) in AGENTS.md Co-authored-by: Anam Hira <anam@revyl.ai>
anamhira47
marked this pull request as ready for review
June 28, 2026 05:38
|
Preview builds for
Validation
What we exercised We launched the SweepAlert application to verify that the app boots correctly on the device. We then navigated the primary screen to confirm the basic app layout and interactivity are fully operational. Revyl debug · proof diagnostics (internal)
|
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 the Cursor Cloud (Linux) development environment for this repo. The iOS app (
apps/ios-sweep-alert) cannot be built here (no Xcode / Revyl CLI), so the runnable, testable service in this environment is the Convex TypeScript backend inconvex/.Changes:
@types/nodedevDependency so the documented standalone backend typechecknpx tsc -p convex/tsconfig.json --noEmitpasses on a fresh clone (theconvex/*.tsfiles referenceprocess.env).AGENTS.md(anonymous local Convex deployment viaCONVEX_AGENT_MODE=anonymous, placeholder Auth0 env vars for local deploys, auth-gated functions, and the Universal Links HTTP endpoints).Update script (run on VM startup):
npm installVerification
Ran end-to-end against a local anonymous Convex deployment (client API on
:3210, HTTP actions on:3211):npm installnpx tsc -p convex/tsconfig.json --noEmit(backend typecheck)CONVEX_AGENT_MODE=anonymous npx convex dev— local backend downloaded, schema + indexes created, all functions deployedalertJobs.status = scheduled), then read it back via a query (temporary smoke-test function, since removed)cars:getMyCarscorrectly enforces auth (Auth required)/.well-known/apple-app-site-associationand/invite/<token>(Universal Links)convex_backend_verification.log
Note: real Auth0/APNs credentials and a Revyl API key are still required for full iOS end-to-end validation; those are out of scope for Linux backend dev.