The Wire · Showcase
SHOPIFY CLI FIXES URL PARSING IN ERROR BANNERS, CLEANS UP BUN LOCKFILE HANDLING
By RepoJournal · Filed · About Shopify
Long URLs embedded in CLI error messages now parse correctly with opt-in CommonMark link rendering, fixing the broken output that split URLs across terminal borders.
Shopify CLI shipped a fix [1] that addresses a frustrating UX problem: bare URLs in plain-text error banners were wrapping across the 80-column terminal boundary and getting split by border characters, leaving users with unclickable, un-copy-pasteable links. The solution uses opt-in CommonMark link parsing to disambiguate between URLs the message is describing versus URLs users should actually click. In parallel, the team removed deprecated force flags from e2e tests [2] and refactored Notifier test mocks to eliminate filesystem dependencies [3], tightening test reliability. A separate fix [4] catches stale Bun lockfiles in app templates—the CLI now recognizes modern `bun.lock` files alongside `bun.lockb`, preventing orphaned lockfiles when initializing non-Bun projects.
Action items
- → Update Shopify CLI to latest version for corrected URL rendering in error messages Shopify/cli [plan]
- → If using Bun in app templates, verify no stale bun.lock files persist after next initialization Shopify/cli [monitor]
References
- [1] Opt-in CommonMark link parsing in Banner-rendered plain strings ↗ Shopify/cli
- [2] Merge pull request #7476 from Shopify/05-06-remove_deprecated_force_flag_from_e2e_tests Shopify/cli
- [3] Merge pull request #7449 from Shopify/refactor-notifier-test-filesystem-mock-2324320246412902882 Shopify/cli
- [4] Fix modern Bun lockfile cleanup in app templates ↗ Shopify/cli
FAQ
- What changed in Shopify on May 7, 2026?
- Long URLs embedded in CLI error messages now parse correctly with opt-in CommonMark link rendering, fixing the broken output that split URLs across terminal borders.
- What should Shopify teams do about it?
- Update Shopify CLI to latest version for corrected URL rendering in error messages • If using Bun in app templates, verify no stale bun.lock files persist after next initialization
- Which Shopify repositories shipped on May 7, 2026?
- Shopify/cli