Skip to content

fix(core): add no-store to rate limited mutations#1458

Merged
chanceaclark merged 1 commit intomainfrom
fix/auth-rate-limit
Oct 14, 2024
Merged

fix(core): add no-store to rate limited mutations#1458
chanceaclark merged 1 commit intomainfrom
fix/auth-rate-limit

Conversation

@chanceaclark
Copy link
Copy Markdown
Contributor

What/Why?

Ran a few functional tests this morning so some of our customer mutation endpoints were being rate limited by the same IP address. This adds no-store to the auth mutations to ensure the forwarded ip is being passed to BC.

Testing

See CI.

@chanceaclark chanceaclark requested a review from a team October 14, 2024 15:40
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Oct 14, 2024

🦋 Changeset detected

Latest commit: 3fde387

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

This PR includes changesets to release 1 package
Name Type
@bigcommerce/catalyst-core 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 Oct 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
catalyst-latest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 3:41pm
6 Skipped Deployments
Name Status Preview Comments Updated (UTC)
catalyst ⬜️ Ignored (Inspect) Oct 14, 2024 3:41pm
catalyst-1millionproducts-store ⬜️ Ignored (Inspect) Oct 14, 2024 3:41pm
catalyst-au ⬜️ Ignored (Inspect) Oct 14, 2024 3:41pm
catalyst-test-store ⬜️ Ignored (Inspect) Oct 14, 2024 3:41pm
catalyst-uk ⬜️ Ignored (Inspect) Oct 14, 2024 3:41pm
catalyst-unstable ⬜️ Ignored (Inspect) Oct 14, 2024 3:41pm

@jorgemoya
Copy link
Copy Markdown
Contributor

Good catch 👍

@chanceaclark chanceaclark added this pull request to the merge queue Oct 14, 2024
Merged via the queue into main with commit 3d67f8d Oct 14, 2024
@chanceaclark chanceaclark deleted the fix/auth-rate-limit branch October 14, 2024 15:53
@github-actions github-actions Bot mentioned this pull request Oct 14, 2024
@github-actions
Copy link
Copy Markdown
Contributor

⚡️🏠 Lighthouse report

Lighthouse ran against https://catalyst-latest-3ptmnmjyk-bigcommerce-platform.vercel.app

🖥️ Desktop

We ran Lighthouse against the changes on a desktop and produced this report. Here's the summary:

Category Score
🟠 Performance 79
🟢 Accessibility 100
🟢 Best practices 96
🟠 SEO 82

📱 Mobile

We ran Lighthouse against the changes on a mobile and produced this report. Here's the summary:

Category Score
🟢 Performance 96
🟢 Accessibility 100
🟢 Best practices 96
🟠 SEO 85

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.

3 participants