Skip to content

chore(api): drop the unused ARCJET_KEY variable - #267

Merged
adelrodriguez merged 1 commit into
mainfrom
chore/remove-arcjet-key
Oct 16, 2026
Merged

adelrodriguez merged 1 commit into
mainfrom
chore/remove-arcjet-key

Conversation

@adelrodriguez

@adelrodriguez adelrodriguez commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

The API declared an ARCJET_KEY environment variable, but no code reads it, so every scaffolded project carried a credential for an account it never uses. This removes it from the API's .env.schema, its development defaults, and Turbo's build env list.

The @arcjet/ip dependency stays: rate limiting uses its findIp to resolve the client IP, and that needs no key or Arcjet account.

Evidence

  • Before: grep -rn ARCJET found ARCJET_KEY in apps/api/.env.schema, apps/api/.env.development, and turbo.json. After: no matches outside node_modules.
  • bun run codegen, bun run check, and bun template doctor (boundaries, analyze, env:check, build) all pass.

Merge danger

  • Door: two-way.
  • Blast radius: small. Only apps/api env config changes, and no code reads the variable.

Changes made by Claude Opus 5.5 in Claude Code.

🤖 Generated with Claude Code


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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
v1 Ready Ready Preview Oct 16, 2026 1:40pm UTC
v1-docs Ready Ready Preview Oct 16, 2026 1:40pm UTC

Request Review

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

This review covers removal of the unused Arcjet credential from API environment configuration and the Turbo build environment.

  • API environment: Removes ARCJET_KEY from the development defaults and .env.schema.
  • Build configuration: Removes ARCJET_KEY from Turbo's build task environment list; API IP-based rate limiting continues to use @arcjet/ip without this credential.

Pullfrog  | View workflow run | Using gpt-6-luna | 𝕏

@adelrodriguez
adelrodriguez merged commit cf1f419 into main Oct 16, 2026
10 checks passed
@adelrodriguez
adelrodriguez deleted the chore/remove-arcjet-key branch October 16, 2026 13:45

This branch was successfully deployed

2 active deployments
Preview – v1 — 420ca405 Deployed Oct 16, 2026 by vercel[bot]
Preview – v1-docs — 420ca405 Deployed Oct 16, 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