Skip to content

sync integrations/b2b-makeswift with integrations/makeswift - #3331

Merged
jorgemoya merged 21 commits into
integrations/b2b-makeswiftfrom
sync-integrations-b2b-makeswift
Nov 9, 2026
Merged

jorgemoya merged 21 commits into
integrations/b2b-makeswiftfrom
sync-integrations-b2b-makeswift

Conversation

@jorgemoya

Copy link
Copy Markdown
Contributor

What/Why?

Syncs integrations/b2b-makeswift with integrations/makeswift after the @bigcommerce/catalyst-makeswift@1.14.0 release (#3314), and adds a @bigcommerce/catalyst-b2b-makeswift minor changeset for it.

Conflict resolutions

  • core/package.json: kept @bigcommerce/catalyst-b2b-makeswift at 1.13.1; dropped the upstream's top-level catalyst block (this branch keeps its own lower in the file).
  • core/CHANGELOG.md: kept the b2b changelog.
  • README.md: kept the b2b README.
  • core/app/[locale]/(default)/(auth)/register/_actions/register-customer.ts: kept deleted; registration goes through register/route.ts on this branch.

Do not squash or rebase-and-merge this PR. Use a true merge commit or rebase locally to preserve the merge base between integrations/makeswift and integrations/b2b-makeswift.

Testing

  • pnpm install leaves the lockfile unchanged; core Vitest (303 tests) passes.

Migration

None.

jorgemoya and others added 21 commits October 28, 2026 15:05
#3302 shipped in catalyst-core 1.13.1 without a changeset, so the
generated changelog left it out.

Refs LTRAC-2695
…ache key (#3313)

The additional products request URL used the editor's order, so the same
products in a different order missed the cache. Sort a copy of the IDs for
the URL; display order still comes from the original list.

Refs LTRAC-2729
… wraps (#3060)

* fix(core): keep cart quantity column fixed-width so backorder message wraps

The cart line-item quantity column used `size-min` (min-content), so a long
unbreakable inventory message token expanded the column, shifting the counter
out of its fixed position and stretching the message across the row.

Apply `overflow-wrap: anywhere` to the inventory-message spans so they no
longer contribute to the column's min-content width. The column width is now
driven solely by the constant-width counter, keeping it fixed in place while
long messages wrap onto the next line.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore(core): add changeset for cart backorder column-width fix

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…Category facet (#3317)

* fix(core): include sub-categories when filtering by the Category facet

categoryEntityIds only matches products assigned directly to the selected
categories, but the Category facet's options and counts include their
sub-categories. Selecting a parent category on a brand or search page
returned no products when they were assigned only to its children.

* LTRAC-2743: fix(core) - Only search sub-categories for the Category facet

Category pages share this filter mapping, so setting searchSubCategories
unconditionally would start listing sub-category products there too.

Refs LTRAC-2743

---------

Co-authored-by: corbinkol <corbin.kolehmainen@gmail.com>
Fixes #3032's typo from an upstream branch so required CI can run.

Refs LTRAC-2733

Co-authored-by: Viktor Kaninets <vkeyster@gmail.com>
…nce (#3296)

* feat(core): add verify-catalyst agent skill for UI verification evidence

Adapted from pstack's create-verification-skill. Ships inside core/ so
projects created with create catalyst receive it too.

* fix(core): tighten verify-catalyst State/Province guidance from TRAC-291 run

- SKILL.md example asserts absence by label, not textbox role (a role-based
  toHaveCount(0) would false-pass if the field rendered as a dropdown)
- Note that publish handles one run; paste both desktop and mobile blocks
- Note that git.dirty includes files next dev rewrites (AGENTS.md)
- account.md: concrete getByLabel handle and wait-for-country-switch tip

* fix(core): name device and uncommitted files in verify-catalyst evidence

* feat(core): post verify-catalyst evidence to PRs with gh --attach (gh 2.99.0+)

Uses native PR attachments when the viewer has write access; fork
contributors fall back to a gist or evidence branch, with the markdown
still posted to the PR by gh. Publishes several runs in one go.

* feat(core): size verify-catalyst evidence by orientation

Fit GIFs in 800x600, trim the blank about:blank lead-in from MP4/GIF,
render portrait screenshots as a filmstrip, and lay out gh --attach
uploads as sized <img> tags in a second pass.

* fix(core): list verify-catalyst dirty files without porcelain prefixes

* fix(core): fail closed on unknown repo visibility and require synthetic form data in verify-catalyst

- publish --to auto only picks a secret gist when GitHub confirms the
  repository is public; an unreadable visibility now falls back to manual
  upload instead of guessing
- SKILL.md and features/account.md tell the agent to fill forms with
  synthetic values only and to review screenshots before publishing
- Note that evidence only ever posts to the PR's own repository

---------

Co-authored-by: mfaris9 <michael.faris@bigcommerce.com>
…ters (#3318)

FiltersPanel renders nothing when there are no filters, but its aside
wrapper still reserved a column. Show the aside only when it contains the
panel or its skeleton.

Fixes #915
Refs LTRAC-2749
…st event (#3319)

* LTRAC-2748: fix(core) - Initialize analytics providers before the first event

Child effects such as ProductViewed run before AnalyticsProvider's effect
calls initialize(), so the Google Analytics provider called gtag before it
existed. Events now initialize lazily, and initialize() runs only once.

Fixes #2426
Refs LTRAC-2748

* LTRAC-2748: fix(core) - Retry analytics providers that fail to initialize

Marking analytics initialized before providers ran meant one provider
exception left it permanently "ready", so the gtag script was never added.
Track each provider separately, count it ready only after initialize()
succeeds, and skip it for events until then so it retries on the next one.

Refs LTRAC-2748
…ocks (#3320)

The GraphQL client calls redirect('/api/auth/signout') when a query fails
with BigCommerceAuthError. Server actions run queries inside try/catch, so
they caught the NEXT_REDIRECT error and returned it as a form error. Call
unstable_rethrow first in each catch so Next.js handles the redirect.

Fixes #2597
Refs LTRAC-2747
…ates (#3322)

sites-service deletes a channel's checkout URL on every site URL update,
so `channels update` dropped a custom checkout URL that still shared a
main domain with the new storefront. Restore it after the site write.

Fixes LTRAC-2785
… line item (#3323)

Pick list options add their products as child line items, which the cart
filtered out. List each child under its parent, matched by
addedByAttributeId, with its pick list option's label and its own options.
The option no longer repeats in the parent's subtitle, and a child's
quantity shows only when it differs from the parent's. The parent's price
already includes pick list prices, so children show no price.

Refs LTRAC-2730
* feat(other): LOCAL-1444 delivery translation

* chore(core): create translations patch

---------

Co-authored-by: bc-svc-local <bc-svc-local@users.noreply.github.com>
…3325)

@opennextjs/cloudflare 1.20.15 bundles proxy.ts, so setup no longer renames
it to an edge middleware.ts. Bump the adapter pin to 1.20.15, core's Next.js
to 16.4.3 (the adapter's floor), and the default Wrangler to 4.156.0.

Projects set up by an older CLI keep their generated middleware.ts. When an
upgrade brings proxy.ts back beside it, build, setup and upgrade offer to
delete middleware.ts, since Next.js fails with both. Upgrade now records the
files it removes so they are staged with the merge.

The native-hosting workflow runs the CLI built from the same commit instead
of the published alpha, which still expects the rename.

Refs LTRAC-1689
…and deploy (#3324)

* LTRAC-2802: fix(cli) - Use only the --env-path file for the build and baked env

With --env-path, OpenNext still baked the on-disk .env.local/.env into the
worker as runtime fallbacks, and next build still read them for keys the file
didn't define. A deploy could build with one file and run on another.

Swap OpenNext's next-env.mjs for the --env-path file before Wrangler bundles
the worker, and stop Next.js reading .env files when --env-path is given.

Fixes LTRAC-2802

* LTRAC-2802: fix(cli) - Expand variable references in the --env-path file

Next.js no longer reads env files when --env-path is given, so it no longer
expands $VAR references in them either. Expand them when loading the file.

Refs LTRAC-2802

* LTRAC-2802: fix(cli) - Let --env-path override stored env vars on deploy

Values saved with `catalyst env add` are sent as bindings, which override
the baked --env-path values at runtime, so a deploy could build with the
file and run on the stored values. Send the --env-path file as bindings
too, with precedence --secret > --env-path > stored, and log which stored
keys it overrides.

Refs LTRAC-2802
…how (#3327)

The blog tag/post tests and the compare out-of-stock test create data
through the REST API and load the page right away. When the storefront
hasn't picked it up yet, every retry fails the same way. Reload until it
shows, as the product and coupon tests already do.

Fixes LTRAC-2818
…ct (#3328)

* LTRAC-2683: fix(cli) - Reconnect deployment status stream on disconnect

The deployment events stream closes after 30s while a deploy can run for
minutes, so `catalyst deploy` crashed with `TypeError: terminated`. It now
reconnects until the deployment completes, fails, or times out, and no
longer reports success when the stream ends before the deployment does.

Fixes LTRAC-2683

* LTRAC-2683: fix(cli) - Buffer SSE frames and bound open streams by deadline

Parse deployment events only once a full frame arrives, keep a completed
status when the connection drops afterwards, and cancel a stream that is
still open when the deadline passes.

Refs LTRAC-2683

* LTRAC-2683: fix(cli) - Accept CRLF line endings in deployment events

Refs LTRAC-2683
…3329)

* LTRAC-821: feat(core) - Send OpenTelemetry spans to Workers tracing

On Cloudflare Workers, @vercel/otel fails to load, so Catalyst spans are
lost. Detect the Workers runtime in instrumentation.ts and register a
bridge from @opentelemetry/api to the runtime's native ctx.tracing, so
Next.js and custom spans land in Workers traces and its OTLP exports.

Refs LTRAC-821

* LTRAC-821: fix - Address review findings on Workers tracing bridge

- Tolerate workerd releases whose spans lack spanContext, setStatus,
  recordException and updateName.
- Forward the caller's receiver through context.bind.
- Keep a Workers-aware instrumentation.ts during Storefront Hosting
  setup instead of prompting to delete it.

Refs LTRAC-821
* Version Packages (`canary`)

* chore: trigger CI

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jorge Moya <jorge.moya@bigcommerce.com>
…akeswift

# Conflicts:
#	core/package.json
#	pnpm-lock.yaml
* Version Packages (`integrations/makeswift`)

* chore: trigger CI

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jorge Moya <jorge.moya@bigcommerce.com>
…c-integrations-b2b-makeswift

# Conflicts:
#	README.md
#	core/app/[locale]/(default)/(auth)/register/_actions/register-customer.ts
#	core/package.json
@jorgemoya
jorgemoya requested a review from a team as a code owner November 9, 2026 16:57
@vercel

vercel Bot commented Nov 9, 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 Nov 9, 2026 4:57pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Nov 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: d7ea8da

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-b2b-makeswift Minor

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

@jorgemoya
jorgemoya merged commit d7ea8da into integrations/b2b-makeswift Nov 9, 2026
24 of 25 checks passed
@jorgemoya
jorgemoya deleted the sync-integrations-b2b-makeswift branch November 9, 2026 17:18

This branch was successfully deployed

1 active deployment
Preview — d7ea8da8 Deployed Nov 9, 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.

5 participants