Skip to content

codeSplitters limits: rate-limit preview and deploy runs #238

Closed

Description

@QuinnsCode

#215 adds rate limits (src/limits.ts), but ruleFor doesn't cover the preview and deploy routes main gained in #205/#210 (POST /api/repos/:o/:r/deploy, the preview routes). Each of those starts a sandbox run on the site's account, so they likely want a per-user rule like agent's.

Found while merging main into #215.

🤖 Generated with Claude Code

Activity

  1. self-assigned this
    on Oct 10, 2026
  2. QuinnsCode commented on Oct 11, 2026

    @QuinnsCode
    OwnerAuthor

    Already done on main: ruleFor in src/limits.ts maps POST …/preview to a preview rule (6/hour per user, queueable), POST …/deploy to deploy (10/hour, flag), and POST …/deps/run to doctor (10/hour, queueable). Landed in c7c46ce (#279, #293).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions