Skip to content

Move "Bun fullstack dev server" to be its own thing separate from "Vanilla"#1016

Open
yamcodes wants to merge 16 commits into
mainfrom
1015-separate-buns-development-server-and-buns-bundler-in-arkenv-cli-init
Open

Move "Bun fullstack dev server" to be its own thing separate from "Vanilla"#1016
yamcodes wants to merge 16 commits into
mainfrom
1015-separate-buns-development-server-and-buns-bundler-in-arkenv-cli-init

Conversation

@yamcodes
Copy link
Copy Markdown
Owner

@yamcodes yamcodes commented May 17, 2026

Fixes #1015

This PR enhances the arkenv init command to support both Vanilla Bun runtime usage and full-stack/frontend bundling via Bun's dev server (Bun.serve) or programmatic Bundler (Bun.build).

Changes:

  • Pivot to Vanilla Default: Optimized the workflow for the majority of Bun users. Vanilla integration is now the default, emphasizing type-safe usage via the env object without needing build-time plugins.
  • Bun Full-Stack Application Grouping: Grouped Fullstack dev server (Bun.serve) and Fullstack programmatic bundler (Bun.build) under a single category for better clarity on when they are needed (specifically for static inlining of environment variables).
  • Refined Detection: Automatically detect usage of Bun.serve or Bun.build to suggest optional inlining integration.
  • Terminology Refinement: Removed confusing "build-time" grammar from Bun Fullstack descriptions, replacing it with "Static Inlining" and "static replacement during bundling".
  • Vocabulary Alignment: Updated CONTEXT.md and CLI strings to use "Vanilla" terminology, "Fullstack" specific grammars, and imperative verbs.
  • Improved Type Safety: Updated ProjectOptions and ScaffoldingPlan to handle optional properties more strictly (exactOptionalPropertyTypes).

@yamcodes yamcodes added the enhancement New feature or request label May 17, 2026
@pullfrog
Copy link
Copy Markdown

pullfrog Bot commented May 17, 2026

Pullfrog stalled — likely cause: rate limited (429)

The agent stopped emitting events for 300s and was killed by the activity-timeout watchdog. No events were emitted before the failure.

Recent agent stderr
... (older lines truncated)
ission mode.","parameters":{"required":["branchName"],"type":"object","properties":{"branchName":{"description":"Remote branch to delete","type":"string"}}}},{"name":"pullfrog_create_pull_request","description":"Create a pull request from the current branch","parameters":{"required":["base","body","title"],"type":"object","properties":{"base":{"description":"the base branch to merge into (e.g., 'main')","type":"string"},"body":{"description":"the body content of the pull request","type":"string"},"title":{"description":"the title of the pull request","type":"string"},"draft":{"description":"if true, create the pull request as a draft. use when the user explicitly asks for a draft PR.","type":"boolean"}}}},{"name":"pullfrog_update_pull_request_body","description":"Update the body/description of an existing pull request","parameters":{"required":["body","pull_number"],"type":"object","properties":{"body":{"description":"the new body content for the pull request","type":"string"},"pull_number":{"description":"the pull request number to update","type":"number"}}}}]}],"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}}},"statusCode":429,"responseHeaders":{"alt-svc":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000","content-length":"308","content-type":"text/event-stream","date":"Sun, 17 May 2026 09:02:44 GMT","server":"scaffolding on HTTPServer2","server-timing":"gfet4t7; dur=256","vary":"Origin, X-Origin, Referer","x-content-type-options":"nosniff","x-frame-options":"SAMEORIGIN","x-xss-protection":"0"},"responseBody":"{\n  \"error\": {\n    \"code\": 429,\n    \"message\": \"Your project has exceeded its monthly spending cap. Please go to AI Studio at https://ai.studio/spend to manage your project spend cap. Learn more at https://ai.google.dev/gemini-api/docs/billing#project-spend-caps. \",\n    \"status\": \"RESOURCE_EXHAUSTED\"\n  }\n}\n","isRetryable":true,"data":{"error":{"code":429,"message":"Your project has exceeded its monthly spending cap. Please go to AI Studio at https://ai.studio/spend to manage your project spend cap. Learn more at https://ai.google.dev/gemini-api/docs/billing#project-spend-caps. ","status":"RESOURCE_EXHAUSTED"}}}} stream error
ERROR 2026-05-17T09:02:44 +0ms service=session.processor error=Your project has exceeded its monthly spending cap. Please go to AI Studio at https://ai.studio/spend to manage your project spend cap. Learn more at https://ai.google.dev/gemini-api/docs/billing#project-spend-caps.  stack="AI_APICallError: Your project has exceeded its monthly spending cap. Please go to AI Studio at https://ai.studio/spend to manage your project spend cap. Learn more at https://ai.google.dev/gemini-api/docs/billing#project-spend-caps. \n    at <anonymous> (../../node_modules/.bun/@ai-sdk+provider-utils@3.0.20+d6123d32214422cb/node_modules/@ai-sdk/provider-utils/dist/index.mjs:936:18)\n    at processTicksAndRejections (native:7:39)" process
INFO  2026-05-17T09:02:44 +1ms service=bus type=session.status publishing

Pullfrog  | Rerun failed job ➔View workflow run | via Pullfrog | Using Gemini Pro𝕏

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 17, 2026

🦋 Changeset detected

Latest commit: 24cda3d

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

This PR includes changesets to release 1 package
Name Type
@arkenv/cli Minor

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

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 17, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 1005186a-657a-4166-975b-e882d7941870

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 1015-separate-buns-development-server-and-buns-bundler-in-arkenv-cli-init

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@arkenv-bot
Copy link
Copy Markdown
Contributor

arkenv-bot Bot commented May 17, 2026

🤖 Hi @yamcodes, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

@github-actions github-actions Bot added docs Improvements or additions to documentation tests This issue or PR is about adding, removing or changing tests @arkenv/cli Issues or Pull Requests involving the ArkEnv CLI labels May 17, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 17, 2026

Open in StackBlitz

arkenv

npm i https://pkg.pr.new/arkenv@1016

@arkenv/bun-plugin

npm i https://pkg.pr.new/@arkenv/bun-plugin@1016

@arkenv/cli

npm i https://pkg.pr.new/@arkenv/cli@1016

@arkenv/fumadocs-ui

npm i https://pkg.pr.new/@arkenv/fumadocs-ui@1016

@arkenv/vite-plugin

npm i https://pkg.pr.new/@arkenv/vite-plugin@1016

commit: 24cda3d

@arkenv-bot
Copy link
Copy Markdown
Contributor

arkenv-bot Bot commented May 17, 2026

📦 Bundle Size Report

No results found

All size limits passed!

@arkenv-bot
Copy link
Copy Markdown
Contributor

arkenv-bot Bot commented May 17, 2026

🤖 I'm sorry @yamcodes, but I was unable to process your request. Please see the logs for more details.

@yamcodes

This comment was marked as resolved.

@yamcodes yamcodes changed the title feat: separate Bun server and bundler in init wizard Move "Bun fullstack dev server" to be its own thing separate from "Vanilla" May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

@arkenv/cli Issues or Pull Requests involving the ArkEnv CLI docs Improvements or additions to documentation enhancement New feature or request tests This issue or PR is about adding, removing or changing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Separate Bun's Development Server and Bun's Bundler in ArkEnv CLI Init

1 participant