Skip to content

fix(e2e): reduce staging E2E concurrency to avoid rate limiting#8129

Merged
jacekradko merged 1 commit intomainfrom
jacek/staging-reduce-concurrency
Mar 20, 2026
Merged

fix(e2e): reduce staging E2E concurrency to avoid rate limiting#8129
jacekradko merged 1 commit intomainfrom
jacek/staging-reduce-concurrency

Conversation

@jacekradko
Copy link
Copy Markdown
Member

@jacekradko jacekradko commented Mar 19, 2026

Summary

  • Limit staging E2E matrix to 3 parallel jobs (was 9 unrestricted)
  • Staging instances have stricter FAPI rate limits than production, causing "Too many requests" errors during concurrent sign-in flows
  • Tests pass individually but fail when all 9 suites hit the same staging instance simultaneously

Test plan

  • Confirmed locally: sign-in tests pass when run alone, fail with "Too many requests" when run concurrently
  • Error context from CI confirms rate limiting: Too many requests. Please try again in a bit.

Summary by CodeRabbit

  • Chores
    • Optimized staging environment test execution by implementing controlled parallelization limits.

Staging instances have stricter FAPI rate limits than production.
Running all 9 test suites in parallel causes 'Too many requests'
errors during sign-in flows. Limit to 3 parallel jobs to stay
within rate limits.
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 19, 2026

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

Project Deployment Actions Updated (UTC)
clerk-js-sandbox Ready Ready Preview, Comment Mar 19, 2026 9:16pm

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 19, 2026

⚠️ No Changeset found

Latest commit: 8a9db18

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 19, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Pro

Run ID: 01b476b5-ee95-44be-99f7-04f08e09aa3c

📥 Commits

Reviewing files that changed from the base of the PR and between 6105fc0 and 8a9db18.

📒 Files selected for processing (1)
  • .github/workflows/e2e-staging.yml

📝 Walkthrough

Walkthrough

The change adds a concurrency constraint to the e2e-staging workflow by setting max-parallel: 3 on the integration-tests job's execution strategy. This limits the number of matrix test cases that can run simultaneously to 3, preventing all test cases from executing in parallel. No modifications were made to test selection logic, environment variables, error handling, or control flow.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'fix(e2e): reduce staging E2E concurrency to avoid rate limiting' directly and accurately summarizes the main change: reducing concurrency in staging E2E tests to prevent rate limiting issues.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

📝 Coding Plan
  • Generate coding plan for human review comments

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

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 19, 2026

Open in StackBlitz

@clerk/agent-toolkit

npm i https://pkg.pr.new/@clerk/agent-toolkit@8129

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@8129

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@8129

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@8129

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@8129

@clerk/dev-cli

npm i https://pkg.pr.new/@clerk/dev-cli@8129

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@8129

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@8129

@clerk/express

npm i https://pkg.pr.new/@clerk/express@8129

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@8129

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@8129

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@8129

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@8129

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@8129

@clerk/react

npm i https://pkg.pr.new/@clerk/react@8129

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@8129

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@8129

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@8129

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@8129

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@8129

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@8129

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@8129

commit: 8a9db18

@jacekradko jacekradko merged commit 524b32f into main Mar 20, 2026
43 of 44 checks passed
@jacekradko jacekradko deleted the jacek/staging-reduce-concurrency branch March 20, 2026 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants