cli icon indicating copy to clipboard operation
cli copied to clipboard

[ShopifyVM] update to function runner v8.0.0 for WASM API support

Open mssalemi opened this issue 7 months ago β€’ 1 comments

WHY are these changes introduced?

Fixes #0000

WHAT is this pull request doing?

With function-runner v8.0.0, we removed the codec flag, and added support for the Shopify function WASM API. The CLI did not use the codec flag so no changes were needed. Now CLI can run functions that are using the shopify functions wasm api.

How to test your changes?

Post-release steps

Measuring impact

How do we know this change was effective? Please choose one:

  • [ ] n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
  • [ ] Existing analytics will cater for this addition
  • [ ] PR includes analytics changes to measure impact

Checklist

  • [ ] I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • [ ] I've considered possible documentation changes

mssalemi avatar May 08 '25 17:05 mssalemi

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟑 Statements
76.75% (+0.13% πŸ”Ό)
9575/12476
🟑 Branches
71.9% (-0.04% πŸ”»)
4713/6555
🟑 Functions
76.51% (-0.04% πŸ”»)
2479/3240
🟑 Lines
77.26% (+0.13% πŸ”Ό)
9049/11712
Show new covered files 🐣
St.:grey_question:
File Statements Branches Functions Lines
🟒
... / multi-cli-warning.ts
83.33% 64.29% 100% 100%
Show files with reduced coverage πŸ”»
St.:grey_question:
File Statements Branches Functions Lines
🟒
... / loader.ts
93.2% (+0.18% πŸ”Ό)
85% (-0.15% πŸ”»)
97.2%
94.23% (+0.2% πŸ”Ό)
🟒
... / app_config_app_access.ts
100%
50% (-25% πŸ”»)
100% 100%
🟑
... / checkout_post_purchase.ts
75% (-5% πŸ”»)
0% 50%
75% (-5% πŸ”»)
🟒
... / info.ts
81.44%
61.54% (-1.15% πŸ”»)
90.32% 83.15%
🟒
... / link.ts
96.55%
92.42% (-0.43% πŸ”»)
100% 96.39%
🟒
... / payload.ts
95.83% (+3.24% πŸ”Ό)
76.32% (-1.73% πŸ”»)
100%
100% (+3.85% πŸ”Ό)
🟒
... / app-logs-polling.ts
87.5% (+10.58% πŸ”Ό)
100% (+62.5% πŸ”Ό)
66.67% (-19.05% πŸ”»)
87.5% (+11.5% πŸ”Ό)
🟒
... / dev-session.ts
80.16% (-0.16% πŸ”»)
62.5% 90%
82.3% (-0.16% πŸ”»)
🟒
... / Dev.tsx
93.02% (+0.08% πŸ”Ό)
77.59% (-0.99% πŸ”»)
90.91%
93.83% (+0.08% πŸ”Ό)
🟒
... / mkcert.ts
93.33% (-3.28% πŸ”»)
76% (-7.87% πŸ”»)
100%
93.02% (-5.22% πŸ”»)
πŸ”΄
... / app-management-client.ts
41.78% (-0.4% πŸ”»)
36.75% (-2.59% πŸ”»)
40%
40.37% (-0.44% πŸ”»)
πŸ”΄
... / environment.ts
45%
35.29% (-5.88% πŸ”»)
60% 47.37%
🟒
... / is-global.ts
76.19% (+0.33% πŸ”Ό)
68.18% (-1.05% πŸ”»)
75%
81.25% (-1.36% πŸ”»)
🟒
... / path.ts
79.31% (-3.45% πŸ”»)
65% (-15% πŸ”»)
75% (-6.25% πŸ”»)
80.77% (-3.85% πŸ”»)
πŸ”΄
... / system.ts
35.19% (-2.31% πŸ”»)
28.57%
50% (-4.55% πŸ”»)
35.85% (-2.33% πŸ”»)
🟒
... / version.ts
88.89% (-0.58% πŸ”»)
90% 100%
87.5% (-0.74% πŸ”»)

Test suite run success

2245 tests passing in 978 suites.

Report generated by πŸ§ͺjest coverage report action from 5d3b6479143bfa27b2993b8dd24f9f497e84e9dd

github-actions[bot] avatar May 08 '25 17:05 github-actions[bot]

We detected some changes at packages/*/src and there are no updates in the .changeset. If the changes are user-facing, run pnpm changeset add to track your changes and include them in the next release CHANGELOG.

[!CAUTION] DO NOT create changesets for features which you do not wish to be included in the public changelog of the next CLI release.

github-actions[bot] avatar May 12 '25 16:05 github-actions[bot]