Skip to content

LTRAC-2565: fix(core) - Send a Catalyst User-Agent when generating the schema - #3280

Merged
jorgemoya merged 3 commits into
canaryfrom
jorgemoya/ltrac-2565-send-a-catalyst-user-agent-when-generating-the-graphql
Oct 15, 2026
Merged

jorgemoya merged 3 commits into
canaryfrom
jorgemoya/ltrac-2565-send-a-catalyst-user-agent-when-generating-the-graphql

Conversation

@jorgemoya

Copy link
Copy Markdown
Contributor

Linear: LTRAC-2565

What/Why?

Schema generation (pnpm dev / pnpm build) used Node's default User-Agent, so firewall rules that only allow catalyst-client UAs blocked it with Failed to load schema. CombinedError: [Network] Forbidden. It now sends the same UA format as the runtime client, e.g. @bigcommerce/catalyst-client/1.0.3 (schema-generation; node v22.x) @bigcommerce/catalyst-core/1.12.2.

Testing

Pointed the script at a local server and confirmed the request carries the new User-Agent.

Migration

None.

🤖 Generated with Claude Code

…e schema

Schema generation used Node's default User-Agent, so firewall rules that
only allow Catalyst traffic blocked `dev` and `build` with a 403. Send the
same User-Agent format as the runtime client.

Fixes LTRAC-2565
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
catalyst Ready Ready Preview Oct 15, 2026 2:48pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 865aa69

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

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@jorgemoya
jorgemoya marked this pull request as ready for review October 15, 2026 14:48
@jorgemoya
jorgemoya requested a review from a team as a code owner October 15, 2026 14:48
@jorgemoya
jorgemoya added this pull request to the merge queue Oct 15, 2026
Merged via the queue into canary with commit 446ecdf Oct 15, 2026
19 checks passed
@jorgemoya
jorgemoya deleted the jorgemoya/ltrac-2565-send-a-catalyst-user-agent-when-generating-the-graphql branch October 15, 2026 15:29

This branch was successfully deployed

1 active deployment
Preview — 865aa696 Deployed Oct 15, 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.

2 participants