Skip to content

fix(convex): resolve decentralized module deployment error - #55

Merged
NeonTechno merged 1 commit into
mainfrom
fix/convex-decentralized-runtime
Oct 14, 2026
Merged

NeonTechno merged 1 commit into
mainfrom
fix/convex-decentralized-runtime

Conversation

@NeonTechno

@NeonTechno NeonTechno commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Remove the "use node" directive from convex/decentralized.ts.
  • Keep the existing mutations, query, and storage-sync action together in the default Convex runtime. The module uses standard fetch and process.env, which are supported by the default runtime, and does not require Node-only APIs.
  • Preserve the existing api.decentralized.syncRecord and api.decentralized.getRecord function paths.

Why

The production deployment failed with InvalidModules: createRecord was a mutation in a module marked "use node". Convex restricts Node-runtime modules to actions. Using the default runtime is the smallest change that fixes the incompatibility without moving or renaming exported functions.

Verification

GitHub Actions should run CI on this branch. Merge only after checks pass; then rerun/observe the Convex deployment and confirm it succeeds. No secret values were accessed or changed.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@vercel

vercel Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
app-portal Ready Ready Preview Oct 14, 2026 11:27am UTC
dr-website Ready Ready Preview Oct 14, 2026 11:27am UTC
drp-web-ecosystem Error Error Oct 14, 2026 11:27am UTC
explorer Ready Ready Preview Oct 14, 2026 11:27am UTC

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 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-10-14T11:16:29.769877Z fd05967 PR opened
ℹ️ 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 had an error being deployed

1 failed and 3 active deployments
Preview – app-portal — fd059674 Deployed Oct 14, 2026 by vercel[bot]
Preview – dr-website — fd059674 Deployed Oct 14, 2026 by vercel[bot]
Preview – explorer — fd059674 Deployed Oct 14, 2026 by vercel[bot]
Preview – drp-web-ecosystem — fd059674 Deployed Oct 14, 2026 by vercel[bot]
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.

1 participant