Skip to content

fix: use real Convex CLI entrypoint for env sync#219

Merged
zbeyens merged 1 commit into
mainfrom
codex/fix-auth-env-runner
Apr 17, 2026
Merged

fix: use real Convex CLI entrypoint for env sync#219
zbeyens merged 1 commit into
mainfrom
codex/fix-auth-env-runner

Conversation

@zbeyens
Copy link
Copy Markdown
Member

@zbeyens zbeyens commented Apr 17, 2026

Summary

  • run local env sync through the real Convex CLI entrypoint via node <convex/bin/main.js> instead of the local convex bin shim
  • add a regression test that locks the command shape in place
  • add a patch changeset and a solution note for the auth/bootstrap runner mismatch

Why

Auth env sync was still launching Convex differently from the rest of the CLI. That split is harmless on friendly setups and brittle on touchier runtime/platform combos, especially around auth bootstrap.

Verification

  • bun check
  • bun test packages/kitcn/src/cli/convex-command.test.ts packages/kitcn/src/cli/env.test.ts
  • bun lint:fix
  • bun typecheck
  • bun --cwd packages/kitcn build
  • live smoke: fresh kitcn init -t start --yes app, then kitcn add auth --yes, kitcn env push --force, kitcn dev --bootstrap

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 17, 2026

🦋 Changeset detected

Latest commit: 3ec2d3b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
kitcn Patch
@kitcn/resend Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 17, 2026

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

Project Deployment Actions Updated (UTC)
better-convex Ready Ready Preview, Comment Apr 17, 2026 11:11am

Request Review

@zbeyens zbeyens merged commit e13e55e into main Apr 17, 2026
3 checks passed
@zbeyens zbeyens deleted the codex/fix-auth-env-runner branch April 17, 2026 11: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.

1 participant