From 57f7a480315cba8b091bcc073eae4b41bf66330a Mon Sep 17 00:00:00 2001 From: Chancellor Clark Date: Thu, 30 Jul 2026 13:45:14 -0600 Subject: [PATCH] ci: TRAC-1350 fix bundle-size baseline detection for b2b-makeswift The baseline-branch detection step only special-cased @bigcommerce/catalyst-makeswift; every other package name, including @bigcommerce/catalyst-b2b-makeswift, fell through to canary. Since integrations/b2b-makeswift carries substantial B2B-only code on top of makeswift, comparing its bundle against canary produced a misleading diff on every b2b-makeswift PR. Add an elif branch mapping @bigcommerce/catalyst-b2b-makeswift to integrations/b2b-makeswift, mirroring the existing pattern in changesets-release.yml's package-resolution step. Refs LTRAC-1406 Co-Authored-By: Claude Sonnet 5 --- .github/workflows/bundle-size.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/bundle-size.yml b/.github/workflows/bundle-size.yml index 2e640f18ad..958e8fba35 100644 --- a/.github/workflows/bundle-size.yml +++ b/.github/workflows/bundle-size.yml @@ -71,6 +71,8 @@ jobs: PKG_NAME=$(node -p "require('./pr/core/package.json').name") if [ "$PKG_NAME" = "@bigcommerce/catalyst-makeswift" ]; then echo "branch=integrations/makeswift" >> $GITHUB_OUTPUT + elif [ "$PKG_NAME" = "@bigcommerce/catalyst-b2b-makeswift" ]; then + echo "branch=integrations/b2b-makeswift" >> $GITHUB_OUTPUT else echo "branch=canary" >> $GITHUB_OUTPUT fi