Add build logging to app watcher for esbuild-based extensions
WHY are these changes introduced?
UI extensions currently don't output any logging for successful builds, unlike Functions.
WHAT is this pull request doing?
Adds logging for esbuild-managed builds to the app watcher.


How to test your changes?
Add a UI extension and pnpm shopify app dev --path <your app>
Post-release steps
Measuring impact
How do we know this change was effective? Please choose one:
- [X] 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
- [X] I've considered possible cross-platform impacts (Mac, Linux, Windows)
- [ ] I've considered possible documentation changes
-
#5765
π (View in Graphite)
-
main
This stack of pull requests is managed by Graphite. Learn more about stacking.
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.
Coverage report
St.:grey_question: |
Category | Percentage | Covered / Total |
|---|---|---|---|
| π‘ | Statements | 76.61% (-0.36% π») |
9582/12508 |
| π‘ | Branches | 71.87% (-0.45% π») |
4725/6574 |
| π‘ | Functions | 76.55% (-0.21% π») |
2484/3245 |
| π‘ | Lines | 77.12% (-0.36% π») |
9055/11742 |
Show files with reduced coverage π»
St.:grey_question: |
File | Statements | Branches | Functions | Lines |
|---|---|---|---|---|---|
| π’ | ... / extension-instance.ts |
84.62% (-0.59% π») |
79.37% (-2.38% π») |
92.59% | 85.16% |
| π’ | ... / flow_action.ts |
90% (-10% π») |
100% | 75% (-25% π») |
90% (-10% π») |
| π’ | ... / bundle.ts |
78.57% (-3.78% π») |
75% (-12.5% π») |
80% | 84.62% (-2.88% π») |
| π’ | ... / link.ts |
96.55% | 92.42% (-0.43% π») |
100% | 96.39% |
| π΄ | ... / extension.ts |
56.9% (-1.44% π») |
57.14% (-2.86% π») |
50% | 57.89% (-1.43% π») |
| π’ | ... / dev-session.ts |
80.31% (-5.1% π») |
62.5% (-6.62% π») |
90% (-1.89% π») |
82.46% (-5.24% π») |
| π’ | ... / serialize-fields.ts |
95% (-2.5% π») |
87.5% (-3.13% π») |
100% | 97.44% |
| π’ | ... / binaries.ts |
97.3% (+1.09% πΌ) |
89.66% (+2.16% πΌ) |
94.44% (-0.29% π») |
97.3% (+1.09% πΌ) |
| π‘ | ... / build.ts |
78.69% (-1% π») |
64.58% | 78.38% (-0.57% π») |
77.19% (-1.14% π») |
| π‘ | ... / developer-platform-client.ts |
69.7% (-8.08% π») |
68.42% (-3.01% π») |
80% (-3.33% π») |
74.07% (-7.98% π») |
| π’ | ... / mkcert.ts |
93.33% (-3.59% π») |
76% (-8.85% π») |
100% | 93.02% (-5.39% π») |
| π΄ | ... / app-management-client.ts |
41.78% (-2.59% π») |
36.75% (-4.02% π») |
40% (-2% π») |
40.37% (-2.84% π») |
| π΄ | ... / partners-client.ts |
25.66% (-0.97% π») |
31.58% | 16.95% (-1.38% π») |
25.34% (-1.01% π») |
| π‘ | ... / generate.ts |
67.16% (-0.48% π») |
57.45% | 50% | 72.58% (-0.44% π») |
| π’ | ... / api.ts |
83.65% (-1.92% π») |
70.77% (-3.08% π») |
100% | 83% (-2% π») |
| π‘ | ... / exchange.ts |
80% | 64% (-6.37% π») |
84.62% | 79.31% |
| π’ | ... / ConcurrentOutput.tsx |
98.36% (-1.64% π») |
88% (-4% π») |
100% | 98.33% (-1.67% π») |
| π΄ | ... / system.ts |
37.5% (-16.07% π») |
28.57% (-16.67% π») |
54.55% (-9.09% π») |
38.18% (-16.36% π») |
| π’ | ... / version.ts |
88.89% (-0.58% π») |
90% | 100% | 87.5% (-0.74% π») |
| π’ | ... / admin.ts |
80% (-0.43% π») |
44.44% | 90.91% | 81.82% (-0.4% π») |
| π’ | ... / graphql.ts |
100% | 75% (-12.1% π») |
100% | 100% |
| π‘ | ... / api.ts |
66.25% (-0.21% π») |
52.05% | 66.67% | 68.21% (-0.21% π») |
Test suite run success
2250 tests passing in 980 suites.
Report generated by π§ͺjest coverage report action from 8bde45b25bf474a80ce35f72f7dbe153d3709ed1